Package org.ametys.runtime.model
Interface ModelViewItem<T extends ModelItem>
-
- Type Parameters:
T
- type of the referenced model item
- All Superinterfaces:
ViewItem
- All Known Implementing Classes:
CompareView.CompareViewElement
,ModelViewItemGroup
,ViewElement
public interface ModelViewItem<T extends ModelItem> extends ViewItem
Interface for view references to model items
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getDefinition()
Retrieves the referenced model item definitionvoid
setDefinition(T definition)
Sets the referenced model item definition
-
-
-
Method Detail
-
getDefinition
T getDefinition()
Retrieves the referenced model item definition- Returns:
- the referenced definition
-
setDefinition
void setDefinition(T definition)
Sets the referenced model item definition- Parameters:
definition
- the referenced definition
-
-