Package com.aquima.interactions.project
Class ParameterType
java.lang.Object
com.aquima.interactions.project.ParameterType
- All Implemented Interfaces:
Serializable
This class defines the standard parameter types.
- Since:
- 7.0
- Author:
- Jon van Leuven
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParameterType
This member defines the EXPRESSION parameter type.static final ParameterType
This member defines the REFERENCE parameter type.static final ParameterType
This member defines the VALUE parameter type. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
This method returns the unique name of the parameter type.int
getType()
This method returns the unique ID of the parameter type.int
hashCode()
toString()
static ParameterType
valueOf
(int type) Returns the Parameter type with the specified type.static ParameterType
Returns the Parameter type with the specified type.
-
Field Details
-
EXPRESSION
This member defines the EXPRESSION parameter type. -
VALUE
This member defines the VALUE parameter type. -
REFERENCE
This member defines the REFERENCE parameter type.
-
-
Method Details
-
valueOf
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
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
This method returns the unique name of the parameter type.- Returns:
- the unique name of the parameter type.
-
toString
-
hashCode
public int hashCode() -
equals
-