Class ViewParameter<T>

Type Parameters:
T - Type of the element value
All Implemented Interfaces:
Comparable<ModelItem>, ModelItem, Labelable, ModifiableLabelable

public class ViewParameter<T> extends ElementDefinition<T>
Object representing a model item with it inheritance if exist
  • Constructor Details

  • Method Details

    • getInheritances

      Get inheritance map
      Returns:
      the inheritance map
    • setInheritances

      public void setInheritances(Map<String,String> inheritances)
      Set inheritance map
      Parameters:
      inheritances - the inheritance map
    • hasInheritances

      public boolean hasInheritances()
      Determine if this parameter inherits another one
      Returns:
      true if a inheritance is declared.
    • hasInheritance

      public boolean hasInheritance(Page page)
      True if the parameter has inheritance from the page
      Parameters:
      page - the page
      Returns:
      true if the parameter has inheritance