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 TypeMethodDescriptionvoidaddMetaField(MetaField item) Add the givenMetaFielditem to themetaFieldscollection.voidClear themetaFieldscollection.booleangetId()getName()inthashCode()voidremoveMetaField(MetaField item) Remove the givenMetaFielditem from themetaFieldscollection.voidsetFullName(String fullName) voidvoidsetMetaFields(List<MetaField> metaFields) voidvoidsetPackageName(String packageName) voidsetTableName(String tableName) toString()Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOnMethods 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 givenMetaFielditem to themetaFieldscollection.It sets
item.metaModel = thisto ensure the proper relationship.- Parameters:
item- the item to add
-
removeMetaField
Remove the givenMetaFielditem from themetaFieldscollection.- Parameters:
item- the item to remove
-
clearMetaFields
public void clearMetaFields()Clear themetaFieldscollection. -
getFullName
-
setFullName
-
equals
-
hashCode
public int hashCode() -
toString
-