Class MetaModel


  • @Entity
    public class MetaModel
    extends AuditableModel
    This object stores the models.
    • Constructor Detail

      • MetaModel

        public MetaModel()
      • MetaModel

        public MetaModel​(String name)
    • Method Detail

      • setId

        public void setId​(Long id)
        Specified by:
        setId in class Model
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getPackageName

        public String getPackageName()
      • setPackageName

        public void setPackageName​(String packageName)
      • getTableName

        public String getTableName()
      • setTableName

        public void setTableName​(String tableName)
      • setMetaFields

        public void setMetaFields​(List<MetaField> metaFields)
      • addMetaField

        public void addMetaField​(MetaField item)
        Add the given MetaField item to the metaFields collection.

        It sets item.metaModel = this to ensure the proper relationship.

        Parameters:
        item - the item to add
      • removeMetaField

        public void removeMetaField​(MetaField item)
        Remove the given MetaField item from the metaFields collection.
        Parameters:
        item - the item to remove
      • clearMetaFields

        public void clearMetaFields()
        Clear the metaFields collection.
      • getFullName

        public String getFullName()
      • setFullName

        public void setFullName​(String fullName)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object