public class ModelViewItemGroup extends AbstractViewItemGroup implements ModelViewItem<ModelItemGroup>
| Modifier and Type | Field and Description |
|---|---|
private ModelItemGroup |
_definition |
_children, _roleFIELDSET_ROLE, TAB_ROLE| Constructor and Description |
|---|
ModelViewItemGroup() |
| Modifier and Type | Method and Description |
|---|---|
private List<ViewItem> |
_getChildrenForJSON() |
ModelItemGroup |
getDefinition()
Retrieves the referenced model item definition
|
String |
getName()
Retrieves the name of the view item
|
void |
setDefinition(ModelItemGroup definition)
Sets the referenced model item definition
|
Map<String,Object> |
toJSON()
Converts the view item in a JSON map
|
addViewItem, getRole, getViewItems, hasViewItem, insertViewItem, setRoleprivate ModelItemGroup _definition
public ModelViewItemGroup()
public ModelItemGroup getDefinition()
ModelViewItemgetDefinition in interface ModelViewItem<ModelItemGroup>public void setDefinition(ModelItemGroup definition)
ModelViewItemsetDefinition in interface ModelViewItem<ModelItemGroup>definition - the referenced definitionpublic String getName()
ViewItempublic Map<String,Object> toJSON() throws ProcessingException
ViewItemtoJSON in interface ViewItemProcessingException - If an error occurs when converting the view itemprivate List<ViewItem> _getChildrenForJSON()