Package com.axelor.meta.db
Class MetaModel
- java.lang.Object
-
- com.axelor.db.Model
-
- com.axelor.auth.db.AuditableModel
-
- com.axelor.meta.db.MetaModel
-
@Entity public class MetaModel extends AuditableModel
This object stores the models.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMetaField(MetaField item)
Add the givenMetaField
item to themetaFields
collection.void
clearMetaFields()
Clear themetaFields
collection.boolean
equals(Object obj)
String
getFullName()
Long
getId()
List<MetaField>
getMetaFields()
String
getName()
String
getPackageName()
String
getTableName()
int
hashCode()
void
removeMetaField(MetaField item)
Remove the givenMetaField
item from themetaFields
collection.void
setFullName(String fullName)
void
setId(Long id)
void
setMetaFields(List<MetaField> metaFields)
void
setName(String name)
void
setPackageName(String packageName)
void
setTableName(String tableName)
String
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 Detail
-
MetaModel
public MetaModel()
-
MetaModel
public MetaModel(String name)
-
-
Method Detail
-
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)
-
addMetaField
public void addMetaField(MetaField item)
Add the givenMetaField
item to themetaFields
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 givenMetaField
item from themetaFields
collection.- Parameters:
item
- the item to remove
-
clearMetaFields
public void clearMetaFields()
Clear themetaFields
collection.
-
getFullName
public String getFullName()
-
setFullName
public void setFullName(String fullName)
-
-