Class ModelMetaData


  • public class ModelMetaData
    extends java.lang.Object
    Meta-data for the generation of a Model.
    Author:
    Daniel Sagenschneider
    • Constructor Detail

      • ModelMetaData

        public ModelMetaData()
        Default constructor.
      • ModelMetaData

        public ModelMetaData​(java.lang.String name,
                             java.lang.String packageName,
                             java.lang.String classSuffix,
                             java.lang.String[] imports,
                             java.lang.String[] interfaces,
                             FieldMetaData[] fields,
                             ListMetaData[] lists)
        Convenience constructor.
        Parameters:
        name - Name.
        packageName - Package name.
        classSuffix - Class suffix.
        imports - Imports.
        interfaces - Interfaces.
        fields - Fields.
        lists - Lists.
    • Method Detail

      • getClassName

        public java.lang.String getClassName()
        Class name.
        Returns:
        Class name.
      • getEventName

        public java.lang.String getEventName()
        Event name.
        Returns:
        Event name.
      • isConnectionModel

        public boolean isConnectionModel()
        true if is a connection model.
        Returns:
        Indicating if a connection model.
      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • getPackageName

        public java.lang.String getPackageName()
      • setPackageName

        public void setPackageName​(java.lang.String packageName)
      • getImportClasses

        public java.util.List<java.lang.String> getImportClasses()
      • addImportClass

        public void addImportClass​(java.lang.String importClass)
      • getClassSuffix

        public java.lang.String getClassSuffix()
      • setClassSuffix

        public void setClassSuffix​(java.lang.String classSuffix)
      • getInterfaces

        public java.util.List<java.lang.String> getInterfaces()
      • addInterface

        public void addInterface​(java.lang.String interfaceName)