@Entity public class MetaModel extends AuditableModel
| Modifier and Type | Method and Description |
|---|---|
void |
addMetaField(MetaField item)
Add the given
MetaField item to the metaFields. |
void |
clearMetaFields()
Clear the
metaFields 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 given
MetaField item from the metaFields. |
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() |
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOngetArchived, getVersion, isSelected, setArchived, setSelected, setVersionpublic MetaModel()
public MetaModel(String name)
public String getName()
public void setName(String name)
public String getPackageName()
public void setPackageName(String packageName)
public String getTableName()
public void setTableName(String tableName)
public void addMetaField(MetaField item)
MetaField item to the metaFields.
It sets item.metaModel = this to ensure the proper relationship.
item - the item to addpublic void removeMetaField(MetaField item)
MetaField item from the metaFields.item - the item to removepublic void clearMetaFields()
metaFields collection.
If you have to query MetaField records in same transaction, make
sure to call EntityManager.flush() to avoid
unexpected errors.
public String getFullName()
public void setFullName(String fullName)