Package org.ametys.runtime.model
Interface ModelViewItem<T extends ModelItem>
- Type Parameters:
T
- type of the referenced model item
- All Superinterfaces:
Labelable
,ModifiableLabelable
,ViewItem
- All Known Subinterfaces:
SearchUIColumn<T>
- All Known Implementing Classes:
ModelViewItemGroup
,RepeaterSearchUIColumn
,ViewElement
,ViewElementAccessor
,ViewElementAccessorSearchUIColumn
,ViewElementSearchUIColumn
Interface for view references to model items
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The default tag name to use while generating SAX events -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the referenced model item definitionvoid
setDefinition
(T definition) Sets the referenced model item definitiondefault void
Set the name.Methods inherited from interface org.ametys.runtime.util.Labelable
getDescription, getLabel, getName
Methods inherited from interface org.ametys.runtime.util.ModifiableLabelable
setDescription, setLabel
-
Field Details
-
DEFAULT_ITEM_TAG_NAME
The default tag name to use while generating SAX events- See Also:
-
-
Method Details
-
getDefinition
Retrieves the referenced model item definition- Returns:
- the referenced definition
-
setDefinition
Sets the referenced model item definition- Parameters:
definition
- the referenced definition
-
setName
Description copied from interface:ModifiableLabelable
Set the name.- Specified by:
setName
in interfaceModifiableLabelable
- Parameters:
name
- the name.
-