Class ParameterBoolean

java.lang.Object
de.espirit.firstspirit.webedit.plugin.report.ParameterBoolean
All Implemented Interfaces:
Parameter<Boolean>, Parameter<Boolean>, Serializable

@Deprecated @GwtCompatible public class ParameterBoolean extends Object implements Parameter<Boolean>
Deprecated.
since 5.1.5 - use ParameterBoolean instead
Boolean parameter definition. On the client side, this parameter is represented by a checkbox.
Since:
5.0.103
See Also:
  • Constructor Details

    • ParameterBoolean

      public ParameterBoolean(String name, String label, @Nullable @Nullable Boolean defaultValue)
      Deprecated.
      Creates a new Boolean-typed parameter, using the given attributes.
      Parameters:
      name - Name of this parameter, should be unique within a WebeditReportPlugin.
      label - The label for the related checkbox on client side.
      defaultValue - The default value of this parameter.
      Since:
      5.0.103
  • Method Details

    • cast

      public Boolean cast(Object object)
      Deprecated.
      Casts the given object to the parameter's value type.
      Specified by:
      cast in interface Parameter<Boolean>
      Parameters:
      object - The object to be cast.
      Returns:
      The cast object.
      Since:
      5.0.103
    • getDefaultValue

      public Boolean getDefaultValue()
      Deprecated.
      Provides the parameter's default value.
      Specified by:
      getDefaultValue in interface Parameter<Boolean>
      Specified by:
      getDefaultValue in interface Parameter<Boolean>
      Returns:
      The default value.
      Since:
      5.0.103
    • getName

      public String getName()
      Deprecated.
      Provides the parameter's name.
      Specified by:
      getName in interface Parameter<Boolean>
      Specified by:
      getName in interface Parameter<Boolean>
      Returns:
      The parameter's name.
      Since:
      5.0.103
    • getLabel

      public String getLabel()
      Deprecated.
      Returns the label for the related checkbox on client side.
      Returns:
      The checkbox label.
      Since:
      5.0.103