Package com.axelor.meta.db
Class MetaModel
java.lang.Object
com.axelor.db.Model
com.axelor.auth.db.AuditableModel
com.axelor.meta.db.MetaModel
This object stores the models.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMetaField
(MetaField item) Add the givenMetaField
item to themetaFields
collection.void
Clear themetaFields
collection.boolean
getId()
getName()
int
hashCode()
void
removeMetaField
(MetaField item) Remove the givenMetaField
item from themetaFields
collection.void
setFullName
(String fullName) void
void
setMetaFields
(List<MetaField> metaFields) void
void
setPackageName
(String packageName) void
setTableName
(String tableName) toString()
Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOn
Methods inherited from class com.axelor.db.Model
getArchived, getCid, getVersion, isSelected, setArchived, setCid, setSelected, setVersion
-
Constructor Details
-
MetaModel
public MetaModel() -
MetaModel
-
-
Method Details
-
getId
-
setId
-
getName
-
setName
-
getPackageName
-
setPackageName
-
getTableName
-
setTableName
-
getMetaFields
-
setMetaFields
-
addMetaField
Add the givenMetaField
item to themetaFields
collection.It sets
item.metaModel = this
to ensure the proper relationship.- Parameters:
item
- the item to add
-
removeMetaField
Remove the givenMetaField
item from themetaFields
collection.- Parameters:
item
- the item to remove
-
clearMetaFields
public void clearMetaFields()Clear themetaFields
collection. -
getFullName
-
setFullName
-
equals
-
hashCode
public int hashCode() -
toString
-