Class ViewParametersManager.ViewParameterHolder

java.lang.Object
org.ametys.web.parameters.view.ViewParametersManager.ViewParameterHolder
Enclosing class:
ViewParametersManager

Object representing the data holder of the parameter with the path of the parameter in this holder
  • Constructor Details

    • ViewParameterHolder

      public ViewParameterHolder(ModelAwareDataHolder dataHolder, String parameterPath)
      Constructor for view parameter holder
      Parameters:
      dataHolder - the holder containing the parameter
      parameterPath - the path of the parameter in the holder
  • Method Details

    • getDataHolder

      Get the holder containing the parameter
      Returns:
      the holder containing the parameter
    • getPath

      public String getPath()
      Get the path of the parameter in the holder
      Returns:
      the path of the parameter in the holder
    • getValue

      public <T> T getValue()
      Get the parameter value
      Type Parameters:
      T - type of the value to retrieve
      Returns:
      the parameter value