Interface ModelViewItem<T extends ModelItem>

Type Parameters:
T - type of the referenced model item
All Superinterfaces:
Labelable, ModifiableLabelable, ViewItem
All Known Implementing Classes:
ModelViewItemGroup, ViewElement, ViewElementAccessor

public interface ModelViewItem<T extends ModelItem> extends ViewItem
Interface for view references to model items
  • Method Details

    • 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
    • setName

      default void setName(String name)
      Description copied from interface: ModifiableLabelable
      Set the name.
      Specified by:
      setName in interface ModifiableLabelable
      Parameters:
      name - the name.