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
-
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
-
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.
-