Class ModelEntity

java.lang.Object
org.apache.ofbiz.entity.model.ModelEntity
All Implemented Interfaces:
Serializable, Comparable<ModelEntity>
Direct Known Subclasses:
ModelViewEntity

public class ModelEntity extends Object implements Comparable<ModelEntity>, Serializable
An object that models the <entity> element.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • populateBasicInfo

      protected void populateBasicInfo(Element entityElement)
      Populate basic info.
      Parameters:
      entityElement - the entity element
    • populateRelated

      protected void populateRelated(ModelReader reader, Element entityElement)
      Populate related.
      Parameters:
      reader - the reader
      entityElement - the entity element
    • populateIndexes

      protected void populateIndexes(Element entityElement)
      Populate indexes.
      Parameters:
      entityElement - the entity element
    • containsAllPkFieldNames

      public boolean containsAllPkFieldNames(Set<String> fieldNames)
      Contains all pk field names boolean.
      Parameters:
      fieldNames - the field names
      Returns:
      the boolean
    • addExtendEntity

      public void addExtendEntity(ModelReader reader, Element extendEntityElement)
      Add extend entity.
      Parameters:
      reader - the reader
      extendEntityElement - the extend entity element
    • getModelReader

      public ModelReader getModelReader()
      Gets model reader.
      Returns:
      the model reader
    • getEntityName

      public String getEntityName()
      The entity-name of the Entity
    • setEntityName

      public void setEntityName(String entityName)
      Sets entity name.
      Parameters:
      entityName - the entity name
    • getPlainTableName

      public String getPlainTableName()
      The plain table-name of the Entity without a schema name prefix
    • getTableName

      public String getTableName(String helperName)
      The table-name of the Entity including a Schema name if specified in the datasource config
    • getTableName

      public String getTableName(Datasource datasourceInfo)
      The table-name of the Entity including a Schema name if specified in the datasource config
    • setTableName

      public void setTableName(String tableName)
      Sets table name.
      Parameters:
      tableName - the table name
    • getPackageName

      public String getPackageName()
      The package-name of the Entity
    • setPackageName

      public void setPackageName(String packageName)
      Sets package name.
      Parameters:
      packageName - the package name
    • getDependentOn

      public String getDependentOn()
      The entity-name of the Entity that this Entity is dependent on, if empty then no dependency
    • setDependentOn

      public void setDependentOn(String dependentOn)
      Sets dependent on.
      Parameters:
      dependentOn - the dependent on
    • getNeverCache

      public boolean getNeverCache()
      An indicator to specify if this entity is never cached. If true causes the delegator to not clear caches on write and to not get from cache on read showing a warning messages to that effect
    • setNeverCache

      public void setNeverCache(boolean neverCache)
      Sets never cache.
      Parameters:
      neverCache - the never cache
    • getNeverCheck

      public boolean getNeverCheck()
      An indicator to specific if this entity should ignore automatic DB checks. This should be set when the entity is mapped to a database view to prevent warnings and attempts to modify the schema.
    • setNeverCheck

      public void setNeverCheck(boolean neverCheck)
      Sets never check.
      Parameters:
      neverCheck - the never check
    • getAutoClearCache

      public boolean getAutoClearCache()
      Gets auto clear cache.
      Returns:
      the auto clear cache
    • setAutoClearCache

      public void setAutoClearCache(boolean autoClearCache)
      Sets auto clear cache.
      Parameters:
      autoClearCache - the auto clear cache
    • getHasFieldWithAuditLog

      public boolean getHasFieldWithAuditLog()
      Gets has field with audit log.
      Returns:
      the has field with audit log
    • getLocation

      public String getLocation()
      Get the location of this entity's definition
    • setLocation

      public void setLocation(String location)
      Set the location of this entity's definition
    • getDoLock

      public boolean getDoLock()
      An indicator to specify if this entity requires locking for updates
    • setDoLock

      public void setDoLock(boolean doLock)
      Sets do lock.
      Parameters:
      doLock - the do lock
    • lock

      public boolean lock()
      Lock boolean.
      Returns:
      the boolean
    • getSequenceBankSize

      public Integer getSequenceBankSize()
      Gets sequence bank size.
      Returns:
      the sequence bank size
    • isField

      public boolean isField(String fieldName)
      Is field boolean.
      Parameters:
      fieldName - the field name
      Returns:
      the boolean
    • areFields

      public boolean areFields(Collection<String> fieldNames)
      Are fields boolean.
      Parameters:
      fieldNames - the field names
      Returns:
      the boolean
    • getPksSize

      public int getPksSize()
      Gets pks size.
      Returns:
      the pks size
    • getOnlyPk

      public ModelField getOnlyPk()
      Gets only pk.
      Returns:
      the only pk
    • getPksIterator

      public Iterator<ModelField> getPksIterator()
      Gets pks iterator.
      Returns:
      the pks iterator
    • getPkFields

      public List<ModelField> getPkFields()
      Gets pk fields.
      Returns:
      the pk fields
    • getPkFieldsUnmodifiable

      public List<ModelField> getPkFieldsUnmodifiable()
      Gets pk fields unmodifiable.
      Returns:
      the pk fields unmodifiable
    • getFirstPkFieldName

      public String getFirstPkFieldName()
      Gets first pk field name.
      Returns:
      the first pk field name
    • getNopksSize

      public int getNopksSize()
      Gets nopks size.
      Returns:
      the nopks size
    • getNopksIterator

      public Iterator<ModelField> getNopksIterator()
      Gets nopks iterator.
      Returns:
      the nopks iterator
    • getNopksCopy

      public List<ModelField> getNopksCopy()
      Gets nopks copy.
      Returns:
      the nopks copy
    • getFieldsSize

      public int getFieldsSize()
      Gets fields size.
      Returns:
      the fields size
    • getFieldsIterator

      public Iterator<ModelField> getFieldsIterator()
      Gets fields iterator.
      Returns:
      the fields iterator
    • getFieldsUnmodifiable

      public List<ModelField> getFieldsUnmodifiable()
      Gets fields unmodifiable.
      Returns:
      the fields unmodifiable
    • getColNameOrAlias

      public String getColNameOrAlias(String fieldName)
      The col-name of the Field, the alias of the field if this is on a view-entity @param fieldName the field name
      Returns:
      the col name or alias
    • getField

      public ModelField getField(String fieldName)
      Gets field.
      Parameters:
      fieldName - the field name
      Returns:
      the field
    • addField

      public void addField(ModelField field)
      Add field.
      Parameters:
      field - the field
    • removeField

      public ModelField removeField(String fieldName)
      Remove field model field.
      Parameters:
      fieldName - the field name
      Returns:
      the model field
    • getAllFieldNames

      public List<String> getAllFieldNames()
      Gets all field names.
      Returns:
      the all field names
    • getPkFieldNames

      public List<String> getPkFieldNames()
      Gets pk field names.
      Returns:
      the pk field names
    • getNoPkFieldNames

      public List<String> getNoPkFieldNames()
      Gets no pk field names.
      Returns:
      the no pk field names
    • getAutomaticFieldNames

      public List<String> getAutomaticFieldNames()
      Returns:
      field names list, managed by entity-engine
    • getRelationsSize

      public int getRelationsSize()
      Gets relations size.
      Returns:
      the relations size
    • getRelationsOneSize

      public int getRelationsOneSize()
      Gets relations one size.
      Returns:
      the relations one size
    • getRelation

      public ModelRelation getRelation(int index)
      Gets relation.
      Parameters:
      index - the index
      Returns:
      the relation
    • getRelationsIterator

      public Iterator<ModelRelation> getRelationsIterator()
      Gets relations iterator.
      Returns:
      the relations iterator
    • getRelationsList

      public List<ModelRelation> getRelationsList(boolean includeOne, boolean includeOneNoFk, boolean includeMany)
      Gets relations list.
      Parameters:
      includeOne - the include one
      includeOneNoFk - the include one no fk
      includeMany - the include many
      Returns:
      the relations list
    • getRelationsOneList

      public List<ModelRelation> getRelationsOneList()
      Gets relations one list.
      Returns:
      the relations one list
    • getRelationsManyList

      public List<ModelRelation> getRelationsManyList()
      Gets relations many list.
      Returns:
      the relations many list
    • getRelation

      public ModelRelation getRelation(String relationName)
      Gets relation.
      Parameters:
      relationName - the relation name
      Returns:
      the relation
    • addRelation

      public void addRelation(ModelRelation relation)
      Add relation.
      Parameters:
      relation - the relation
    • removeRelation

      public ModelRelation removeRelation(int index)
      Remove relation model relation.
      Parameters:
      index - the index
      Returns:
      the model relation
    • getIndexesSize

      public int getIndexesSize()
      Gets indexes size.
      Returns:
      the indexes size
    • getIndex

      public ModelIndex getIndex(int index)
      Gets index.
      Parameters:
      index - the index
      Returns:
      the index
    • getIndexesIterator

      public Iterator<ModelIndex> getIndexesIterator()
      Gets indexes iterator.
      Returns:
      the indexes iterator
    • getIndex

      public ModelIndex getIndex(String indexName)
      Gets index.
      Parameters:
      indexName - the index name
      Returns:
      the index
    • addIndex

      public void addIndex(ModelIndex index)
      Add index.
      Parameters:
      index - the index
    • removeIndex

      public ModelIndex removeIndex(int index)
      Remove index model index.
      Parameters:
      index - the index
      Returns:
      the model index
    • getViewEntitiesSize

      public int getViewEntitiesSize()
      Gets view entities size.
      Returns:
      the view entities size
    • getViewConvertorsIterator

      public Iterator<String> getViewConvertorsIterator()
      Gets view convertors iterator.
      Returns:
      the view convertors iterator
    • addViewEntity

      public void addViewEntity(ModelViewEntity view)
      Add view entity.
      Parameters:
      view - the view
    • convertToViewValues

      public List<? extends Map<String,Object>> convertToViewValues(String viewEntityName, GenericEntity entity)
      Convert to view values list.
      Parameters:
      viewEntityName - the view entity name
      entity - the entity
      Returns:
      the list
    • removeViewEntity

      public boolean removeViewEntity(String viewEntityName)
      Remove view entity boolean.
      Parameters:
      viewEntityName - the view entity name
      Returns:
      the boolean
    • removeViewEntity

      public boolean removeViewEntity(ModelViewEntity viewEntity)
      Remove view entity boolean.
      Parameters:
      viewEntity - the view entity
      Returns:
      the boolean
    • nameString

      public String nameString(List<ModelField> flds)
      Name string string.
      Parameters:
      flds - the flds
      Returns:
      the string
    • nameString

      public String nameString(List<ModelField> flds, String separator, String afterLast)
      Name string string.
      Parameters:
      flds - the flds
      separator - the separator
      afterLast - the after last
      Returns:
      the string
    • typeNameString

      public String typeNameString(ModelField... flds)
      Type name string string.
      Parameters:
      flds - the flds
      Returns:
      the string
    • typeNameString

      public String typeNameString(List<ModelField> flds)
      Type name string string.
      Parameters:
      flds - the flds
      Returns:
      the string
    • fieldNameString

      public String fieldNameString()
      Field name string string.
      Returns:
      the string
    • fieldNameString

      public String fieldNameString(String separator, String afterLast)
      Field name string string.
      Parameters:
      separator - the separator
      afterLast - the after last
      Returns:
      the string
    • fieldTypeNameString

      public String fieldTypeNameString()
      Field type name string string.
      Returns:
      the string
    • primKeyClassNameString

      public String primKeyClassNameString()
      Prim key class name string string.
      Returns:
      the string
    • pkNameString

      public String pkNameString()
      Pk name string string.
      Returns:
      the string
    • pkNameString

      public String pkNameString(String separator, String afterLast)
      Pk name string string.
      Parameters:
      separator - the separator
      afterLast - the after last
      Returns:
      the string
    • nonPkNullList

      public String nonPkNullList()
      Non pk null list string.
      Returns:
      the string
    • fieldsStringList

      @Deprecated public String fieldsStringList(String eachString, String separator, ModelField... flds)
      Deprecated.
      Fields string list string.
      Parameters:
      eachString - the each string
      separator - the separator
      flds - the flds
      Returns:
      the string
    • fieldsStringList

      public StringBuilder fieldsStringList(StringBuilder sb, String eachString, String separator, ModelField... flds)
      Fields string list string builder.
      Parameters:
      sb - the sb
      eachString - the each string
      separator - the separator
      flds - the flds
      Returns:
      the string builder
    • fieldsStringList

      @Deprecated public String fieldsStringList(List<ModelField> flds, String eachString, String separator)
      Deprecated.
      Fields string list string.
      Parameters:
      flds - the flds
      eachString - the each string
      separator - the separator
      Returns:
      the string
    • fieldsStringList

      public StringBuilder fieldsStringList(List<ModelField> flds, StringBuilder sb, String eachString, String separator)
      Fields string list string builder.
      Parameters:
      flds - the flds
      sb - the sb
      eachString - the each string
      separator - the separator
      Returns:
      the string builder
    • fieldsStringList

      @Deprecated public String fieldsStringList(String eachString, String separator, boolean appendIndex, ModelField... flds)
      Deprecated.
      Fields string list string.
      Parameters:
      eachString - the each string
      separator - the separator
      appendIndex - the append index
      flds - the flds
      Returns:
      the string
    • fieldsStringList

      public StringBuilder fieldsStringList(StringBuilder sb, String eachString, String separator, boolean appendIndex, ModelField... flds)
      Fields string list string builder.
      Parameters:
      sb - the sb
      eachString - the each string
      separator - the separator
      appendIndex - the append index
      flds - the flds
      Returns:
      the string builder
    • fieldsStringList

      @Deprecated public String fieldsStringList(List<ModelField> flds, String eachString, String separator, boolean appendIndex)
      Deprecated.
      Fields string list string.
      Parameters:
      flds - the flds
      eachString - the each string
      separator - the separator
      appendIndex - the append index
      Returns:
      the string
    • fieldsStringList

      public StringBuilder fieldsStringList(List<ModelField> flds, StringBuilder sb, String eachString, String separator, boolean appendIndex)
      Fields string list string builder.
      Parameters:
      flds - the flds
      sb - the sb
      eachString - the each string
      separator - the separator
      appendIndex - the append index
      Returns:
      the string builder
    • fieldsStringList

      @Deprecated public String fieldsStringList(String eachString, String separator, boolean appendIndex, boolean onlyNonPK, ModelField... flds)
      Deprecated.
      Fields string list string.
      Parameters:
      eachString - the each string
      separator - the separator
      appendIndex - the append index
      onlyNonPK - the only non pk
      flds - the flds
      Returns:
      the string
    • fieldsStringList

      public StringBuilder fieldsStringList(StringBuilder sb, String eachString, String separator, boolean appendIndex, boolean onlyNonPK, ModelField... flds)
      Fields string list string builder.
      Parameters:
      sb - the sb
      eachString - the each string
      separator - the separator
      appendIndex - the append index
      onlyNonPK - the only non pk
      flds - the flds
      Returns:
      the string builder
    • fieldsStringList

      @Deprecated public String fieldsStringList(List<ModelField> flds, String eachString, String separator, boolean appendIndex, boolean onlyNonPK)
      Deprecated.
      Fields string list string.
      Parameters:
      flds - the flds
      eachString - the each string
      separator - the separator
      appendIndex - the append index
      onlyNonPK - the only non pk
      Returns:
      the string
    • fieldsStringList

      public StringBuilder fieldsStringList(List<ModelField> flds, StringBuilder sb, String eachString, String separator, boolean appendIndex, boolean onlyNonPK)
      Fields string list string builder.
      Parameters:
      flds - the flds
      sb - the sb
      eachString - the each string
      separator - the separator
      appendIndex - the append index
      onlyNonPK - the only non pk
      Returns:
      the string builder
    • colNameString

      @Deprecated public String colNameString(ModelField... flds)
      Deprecated.
      Col name string string.
      Parameters:
      flds - the flds
      Returns:
      the string
    • colNameString

      public StringBuilder colNameString(StringBuilder sb, String prefix, ModelField... flds)
      Col name string string builder.
      Parameters:
      sb - the sb
      prefix - the prefix
      flds - the flds
      Returns:
      the string builder
    • colNameString

      @Deprecated public String colNameString(List<ModelField> flds)
      Deprecated.
      Col name string string.
      Parameters:
      flds - the flds
      Returns:
      the string
    • colNameString

      public StringBuilder colNameString(List<ModelField> flds, StringBuilder sb, String prefix)
      Col name string string builder.
      Parameters:
      flds - the flds
      sb - the sb
      prefix - the prefix
      Returns:
      the string builder
    • colNameString

      @Deprecated public String colNameString(String separator, String afterLast, boolean alias, ModelField... flds)
      Deprecated.
      Col name string string.
      Parameters:
      separator - the separator
      afterLast - the after last
      alias - the alias
      flds - the flds
      Returns:
      the string
    • colNameString

      public StringBuilder colNameString(StringBuilder sb, String prefix, String separator, String afterLast, boolean alias, ModelField... flds)
      Col name string string builder.
      Parameters:
      sb - the sb
      prefix - the prefix
      separator - the separator
      afterLast - the after last
      alias - the alias
      flds - the flds
      Returns:
      the string builder
    • colNameString

      @Deprecated public String colNameString(List<ModelField> flds, String separator, String afterLast, boolean alias)
      Deprecated.
      Col name string string.
      Parameters:
      flds - the flds
      separator - the separator
      afterLast - the after last
      alias - the alias
      Returns:
      the string
    • colNameString

      public StringBuilder colNameString(List<ModelField> flds, StringBuilder sb, String prefix, String separator, String afterLast, boolean alias)
      Col name string string builder.
      Parameters:
      flds - the flds
      sb - the sb
      prefix - the prefix
      separator - the separator
      afterLast - the after last
      alias - the alias
      Returns:
      the string builder
    • classNameString

      public String classNameString(ModelField... flds)
      Class name string string.
      Parameters:
      flds - the flds
      Returns:
      the string
    • classNameString

      public String classNameString(List<ModelField> flds)
      Class name string string.
      Parameters:
      flds - the flds
      Returns:
      the string
    • classNameString

      public String classNameString(String separator, String afterLast, ModelField... flds)
      Class name string string.
      Parameters:
      separator - the separator
      afterLast - the after last
      flds - the flds
      Returns:
      the string
    • classNameString

      public String classNameString(List<ModelField> flds, String separator, String afterLast)
      Class name string string.
      Parameters:
      flds - the flds
      separator - the separator
      afterLast - the after last
      Returns:
      the string
    • finderQueryString

      public String finderQueryString(ModelField... flds)
      Finder query string string.
      Parameters:
      flds - the flds
      Returns:
      the string
    • finderQueryString

      public String finderQueryString(List<ModelField> flds)
      Finder query string string.
      Parameters:
      flds - the flds
      Returns:
      the string
    • httpArgList

      public String httpArgList(ModelField... flds)
      Http arg list string.
      Parameters:
      flds - the flds
      Returns:
      the string
    • httpArgList

      public String httpArgList(List<ModelField> flds)
      Http arg list string.
      Parameters:
      flds - the flds
      Returns:
      the string
    • httpArgListFromClass

      public String httpArgListFromClass(ModelField... flds)
      Http arg list from class string.
      Parameters:
      flds - the flds
      Returns:
      the string
    • httpArgListFromClass

      public String httpArgListFromClass(List<ModelField> flds)
      Http arg list from class string.
      Parameters:
      flds - the flds
      Returns:
      the string
    • httpArgListFromClass

      public String httpArgListFromClass(String entityNameSuffix, ModelField... flds)
      Http arg list from class string.
      Parameters:
      entityNameSuffix - the entity name suffix
      flds - the flds
      Returns:
      the string
    • httpArgListFromClass

      public String httpArgListFromClass(List<ModelField> flds, String entityNameSuffix)
      Http arg list from class string.
      Parameters:
      flds - the flds
      entityNameSuffix - the entity name suffix
      Returns:
      the string
    • httpRelationArgList

      public String httpRelationArgList(ModelRelation relation, ModelField... flds)
      Http relation arg list string.
      Parameters:
      relation - the relation
      flds - the flds
      Returns:
      the string
    • httpRelationArgList

      public String httpRelationArgList(List<ModelField> flds, ModelRelation relation)
      Http relation arg list string.
      Parameters:
      flds - the flds
      relation - the relation
      Returns:
      the string
    • typeNameStringRelatedNoMapped

      public String typeNameStringRelatedNoMapped(ModelRelation relation, ModelField... flds)
      Type name string related no mapped string.
      Parameters:
      relation - the relation
      flds - the flds
      Returns:
      the string
    • typeNameStringRelatedNoMapped

      public String typeNameStringRelatedNoMapped(List<ModelField> flds, ModelRelation relation)
      Type name string related no mapped string.
      Parameters:
      flds - the flds
      relation - the relation
      Returns:
      the string
    • typeNameStringRelatedAndMain

      public String typeNameStringRelatedAndMain(ModelRelation relation, ModelField... flds)
      Type name string related and main string.
      Parameters:
      relation - the relation
      flds - the flds
      Returns:
      the string
    • typeNameStringRelatedAndMain

      public String typeNameStringRelatedAndMain(List<ModelField> flds, ModelRelation relation)
      Type name string related and main string.
      Parameters:
      flds - the flds
      relation - the relation
      Returns:
      the string
    • compareTo

      public int compareTo(ModelEntity otherModelEntity)
      Specified by:
      compareTo in interface Comparable<ModelEntity>
    • convertFieldMapInPlace

      public void convertFieldMapInPlace(Map<String,Object> inContext, Delegator delegator)
      Convert field map in place.
      Parameters:
      inContext - the in context
      delegator - the delegator
    • convertFieldMapInPlace

      public void convertFieldMapInPlace(Map<String,Object> inContext, ModelFieldTypeReader modelFieldTypeReader)
      Convert field map in place.
      Parameters:
      inContext - the in context
      modelFieldTypeReader - the model field type reader
    • convertFieldValue

      public Object convertFieldValue(String fieldName, Object value, Delegator delegator)
      Convert field value object.
      Parameters:
      fieldName - the field name
      value - the value
      delegator - the delegator
      Returns:
      the object
    • convertFieldValue

      public Object convertFieldValue(ModelField modelField, Object value, Delegator delegator)
      Convert field value object.
      Parameters:
      modelField - the model field
      value - the value
      delegator - the delegator
      Returns:
      the object
    • convertFieldValue

      public Object convertFieldValue(ModelField modelField, Object value, Delegator delegator, Map<String,? extends Object> context)
      Convert a field value from one Java data type to another. This is the preferred method - which takes into consideration the user's locale and time zone (for conversions that require them).
      Returns:
      the converted value
    • convertFieldValue

      public Object convertFieldValue(ModelField modelField, Object value, ModelFieldTypeReader modelFieldTypeReader, Map<String,? extends Object> context)
      Convert a field value from one Java data type to another. This is the preferred method - which takes into consideration the user's locale and time zone (for conversions that require them).
      Returns:
      the converted value
    • getNoAutoStamp

      public boolean getNoAutoStamp()
      Returns:
      Returns the noAutoStamp.
    • setNoAutoStamp

      public void setNoAutoStamp(boolean noAutoStamp)
      Parameters:
      noAutoStamp - The noAutoStamp to set.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toXmlElement

      public Element toXmlElement(Document document, String packageName)
      To xml element element.
      Parameters:
      document - the document
      packageName - the package name
      Returns:
      the element
    • toGroupXmlElement

      public Element toGroupXmlElement(Document document, String packageName)
      To Group elements of a document in a package
      Parameters:
      document - the document
      packageName - the name of the package where to group the elements of the document
      Returns:
      the element
    • writeEoModelText

      public void writeEoModelText(PrintWriter writer, String entityPrefix, String helperName, Set<String> entityNameIncludeSet, ModelReader entityModelReader) throws GenericEntityException
      Writes entity model information in the Apple EOModelBundle format. For document structure and definition see: http://developer.apple.com/documentation/InternetWeb/Reference/WO_BundleReference/ Articles/EOModelBundle.html For examples see the JavaRealEstate.framework and JavaBusinessLogic.framework packages which are in the /Library/Frameworks directory after installing the WebObjects Examples package (get latest version of WebObjects download for this). This is based on examples and documentation from WebObjects 5.4, downloaded 20080221.
      Parameters:
      writer -
      entityPrefix -
      helperName -
      Throws:
      GenericEntityException
    • createEoModelMap

      public Map<String,Object> createEoModelMap(String entityPrefix, String helperName, Set<String> entityNameIncludeSet, ModelReader entityModelReader) throws GenericEntityException
      Create eo model map map.
      Parameters:
      entityPrefix - the entity prefix
      helperName - the helper name
      entityNameIncludeSet - the entity name include set
      entityModelReader - the entity model reader
      Returns:
      the map
      Throws:
      GenericEntityException - the generic entity exception
    • getAuthor

      public String getAuthor()
      Gets author.
      Returns:
      the author
    • getCopyright

      public String getCopyright()
      Gets copyright.
      Returns:
      the copyright
    • getDefaultResourceName

      public String getDefaultResourceName()
      Gets default resource name.
      Returns:
      the default resource name
    • getDescription

      public String getDescription()
      Gets description.
      Returns:
      the description
    • getRelations

      public CopyOnWriteArrayList<ModelRelation> getRelations()
      Gets relations.
      Returns:
      the relations
    • getTitle

      public String getTitle()
      Gets title.
      Returns:
      the title
    • getVersion

      public String getVersion()
      Gets version.
      Returns:
      the version