Package com.axelor.meta.db
Class MetaJsonModel
java.lang.Object
com.axelor.db.Model
com.axelor.auth.db.AuditableModel
com.axelor.meta.db.MetaJsonModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addField
(MetaJsonField item) Add the givenMetaJsonField
item to thefields
collection.void
Add the givenRole
item to theroles
collection.void
Clear thefields
collection.void
Clear theroles
collection.boolean
getId()
getMenu()
getName()
getOnNew()
getRoles()
getTitle()
int
hashCode()
void
removeField
(MetaJsonField item) Remove the givenMetaJsonField
item from thefields
collection.void
removeRole
(Role item) Remove the givenRole
item from theroles
collection.void
setAction
(MetaAction action) void
setFields
(List<MetaJsonField> fields) void
setFormView
(MetaView formView) void
setFormWidth
(String formWidth) void
setGridView
(MetaView gridView) void
setGroupBy
(String groupBy) void
void
void
setMenuBackground
(String menuBackground) void
setMenuIcon
(String menuIcon) void
setMenuOrder
(Integer menuOrder) void
setMenuParent
(MetaMenu menuParent) void
setMenuTitle
(String menuTitle) void
void
setNameField
(String nameField) void
void
void
setOrderBy
(String orderBy) void
setPanelMailDisplay
(PanelMailDisplay panelMailDisplay) void
void
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
-
MetaJsonModel
public MetaJsonModel() -
MetaJsonModel
-
-
Method Details
-
getId
-
setId
-
getName
-
setName
-
getTitle
-
setTitle
-
getOnNew
-
setOnNew
-
getOnSave
-
setOnSave
-
getNameField
-
setNameField
-
getFormWidth
-
setFormWidth
-
getOrderBy
-
setOrderBy
-
getGroupBy
-
setGroupBy
-
getMenu
-
setMenu
-
getMenuParent
-
setMenuParent
-
getMenuIcon
-
setMenuIcon
-
getMenuBackground
-
setMenuBackground
-
getMenuOrder
-
setMenuOrder
-
getMenuTitle
-
setMenuTitle
-
getPanelMailDisplay
-
setPanelMailDisplay
-
getAction
-
setAction
-
getGridView
-
setGridView
-
getFormView
-
setFormView
-
getFields
-
setFields
-
addField
Add the givenMetaJsonField
item to thefields
collection.It sets
item.jsonModel = this
to ensure the proper relationship.- Parameters:
item
- the item to add
-
removeField
Remove the givenMetaJsonField
item from thefields
collection.- Parameters:
item
- the item to remove
-
clearFields
public void clearFields()Clear thefields
collection. -
getRoles
-
setRoles
-
addRole
Add the givenRole
item to theroles
collection.- Parameters:
item
- the item to add
-
removeRole
Remove the givenRole
item from theroles
collection.- Parameters:
item
- the item to remove
-
clearRoles
public void clearRoles()Clear theroles
collection. -
equals
-
hashCode
public int hashCode() -
toString
-