Package com.axelor.meta.db
Class MetaJsonModel
- java.lang.Object
-
- com.axelor.db.Model
-
- com.axelor.auth.db.AuditableModel
-
- com.axelor.meta.db.MetaJsonModel
-
@Entity public class MetaJsonModel extends AuditableModel
-
-
Constructor Summary
Constructors Constructor Description MetaJsonModel()
MetaJsonModel(String name)
-
Method Summary
-
Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOn
-
Methods inherited from class com.axelor.db.Model
getArchived, getVersion, isSelected, setArchived, setSelected, setVersion
-
-
-
-
Constructor Detail
-
MetaJsonModel
public MetaJsonModel()
-
MetaJsonModel
public MetaJsonModel(String name)
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
getOnNew
public String getOnNew()
-
setOnNew
public void setOnNew(String onNew)
-
getOnSave
public String getOnSave()
-
setOnSave
public void setOnSave(String onSave)
-
getNameField
public String getNameField()
-
setNameField
public void setNameField(String nameField)
-
getFormWidth
public String getFormWidth()
-
setFormWidth
public void setFormWidth(String formWidth)
-
getOrderBy
public String getOrderBy()
-
setOrderBy
public void setOrderBy(String orderBy)
-
getGroupBy
public String getGroupBy()
-
setGroupBy
public void setGroupBy(String groupBy)
-
getMenu
public MetaMenu getMenu()
-
setMenu
public void setMenu(MetaMenu menu)
-
getMenuParent
public MetaMenu getMenuParent()
-
setMenuParent
public void setMenuParent(MetaMenu menuParent)
-
getMenuIcon
public String getMenuIcon()
-
setMenuIcon
public void setMenuIcon(String menuIcon)
-
getMenuBackground
public String getMenuBackground()
-
setMenuBackground
public void setMenuBackground(String menuBackground)
-
getMenuOrder
public Integer getMenuOrder()
-
setMenuOrder
public void setMenuOrder(Integer menuOrder)
-
getMenuTitle
public String getMenuTitle()
-
setMenuTitle
public void setMenuTitle(String menuTitle)
-
getMenuTop
public Boolean getMenuTop()
-
setMenuTop
public void setMenuTop(Boolean menuTop)
-
getAction
public MetaAction getAction()
-
setAction
public void setAction(MetaAction action)
-
getGridView
public MetaView getGridView()
-
setGridView
public void setGridView(MetaView gridView)
-
getFormView
public MetaView getFormView()
-
setFormView
public void setFormView(MetaView formView)
-
getFields
public List<MetaJsonField> getFields()
-
setFields
public void setFields(List<MetaJsonField> fields)
-
addField
public void addField(MetaJsonField item)
Add the givenMetaJsonField
item to thefields
collection.It sets
item.jsonModel = this
to ensure the proper relationship.- Parameters:
item
- the item to add
-
removeField
public void removeField(MetaJsonField item)
Remove the givenMetaJsonField
item from thefields
collection.- Parameters:
item
- the item to remove
-
clearFields
public void clearFields()
Clear thefields
collection.
-
addRole
public void addRole(Role item)
Add the givenRole
item to theroles
collection.- Parameters:
item
- the item to add
-
removeRole
public void removeRole(Role item)
Remove the givenRole
item from theroles
collection.- Parameters:
item
- the item to remove
-
clearRoles
public void clearRoles()
Clear theroles
collection.
-
-