Class ParameterType

java.lang.Object
com.aquima.interactions.project.ParameterType
All Implemented Interfaces:
Serializable

public final class ParameterType extends Object implements Serializable
This class defines the standard parameter types.
Since:
7.0
Author:
Jon van Leuven
See Also:
  • Field Details

    • EXPRESSION

      public static final ParameterType EXPRESSION
      This member defines the EXPRESSION parameter type.
    • VALUE

      public static final ParameterType VALUE
      This member defines the VALUE parameter type.
    • REFERENCE

      public static final ParameterType REFERENCE
      This member defines the REFERENCE parameter type.
  • Method Details

    • valueOf

      public static ParameterType valueOf(int type)
      Returns the Parameter type with the specified type. Throws an IllegalArgumentException when the type is not a valid type.
      Parameters:
      type - the id of the ParameterType
      Returns:
      the Parameter type with the specified type.
    • valueOf

      public static ParameterType valueOf(String type)
      Returns the Parameter type with the specified type. Throws an IllegalArgumentException when the type is not a valid type.
      Parameters:
      type - the id of the ParameterType
      Returns:
      the Parameter type with the specified type.
    • getType

      public int getType()
      This method returns the unique ID of the parameter type.
      Returns:
      the unique ID of the parameter type.
    • getName

      public String getName()
      This method returns the unique name of the parameter type.
      Returns:
      the unique name of the parameter type.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object