Class Parameter

java.lang.Object
de.espirit.or.query.Parameter
All Implemented Interfaces:
Serializable, Cloneable

public class Parameter extends Object implements Cloneable, Serializable
Placeholder for the value of an attribute specified in comparisons. The parameter's value is stored in the select via setParameter(String, Object.
Since:
4.0.17
See Also:
  • Constructor Details

    • Parameter

      public Parameter(String identifier)
      Creates a new Parameter for the specified identifier with value class String
      Parameters:
      identifier - a symbolic identifier
      Since:
      4.0.17
      See Also:
    • Parameter

      public Parameter(String identifier, Class clazz)
      Creates a new Parameter for the specified identifier and the given value class.
      Parameters:
      identifier - a symbolic identifier
      Since:
      4.0.17
      See Also:
  • Method Details

    • getIdentifier

      public String getIdentifier()
      Returns the identifier of this parameter.
      Since:
      4.0.17
    • getValueClass

      public Class getValueClass()
      Returns the value class of this project.
      Since:
      4.0.17