Class ParameterDefinition
- java.lang.Object
-
- com.aquima.interactions.project.impl.ParameterDefinition
-
- All Implemented Interfaces:
IParameterDefinition
,Serializable
public class ParameterDefinition extends Object implements IParameterDefinition
This class contains a single parameter definition for a serice or expander.- Since:
- 7.1
- Author:
- O. Kerpershoek
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ParameterDefinition(IParameterDS datasource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Direction
getDirection()
This method returns the direction of the parameter.String
getName()
This method returns the name of the parameter.ParameterType
getType()
This method returns the type of the parameter.int
hashCode()
boolean
isMultivalue()
This method returns a boolean indicating if this parameter may have multiple values.boolean
isRequired()
This method returns a boolean indicating if a value for this parameter is required or optional.
-
-
-
Constructor Detail
-
ParameterDefinition
protected ParameterDefinition(IParameterDS datasource)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:IParameterDefinition
This method returns the name of the parameter.- Specified by:
getName
in interfaceIParameterDefinition
- Returns:
- The name of the parameter.
-
getType
public ParameterType getType()
Description copied from interface:IParameterDefinition
This method returns the type of the parameter.- Specified by:
getType
in interfaceIParameterDefinition
- Returns:
- The type of the parameter.
-
getDirection
public Direction getDirection()
Description copied from interface:IParameterDefinition
This method returns the direction of the parameter.- Specified by:
getDirection
in interfaceIParameterDefinition
- Returns:
- The direction of the parameter.
-
isMultivalue
public boolean isMultivalue()
Description copied from interface:IParameterDefinition
This method returns a boolean indicating if this parameter may have multiple values.- Specified by:
isMultivalue
in interfaceIParameterDefinition
- Returns:
- Boolean indicating if this parameter may have multiple values.
-
isRequired
public boolean isRequired()
Description copied from interface:IParameterDefinition
This method returns a boolean indicating if a value for this parameter is required or optional.- Specified by:
isRequired
in interfaceIParameterDefinition
- Returns:
- Boolean indicating if a value for this parameter is required.
-
-