Class ParameterDefinition
- java.lang.Object
-
- com.github.toolarium.processing.engine.dto.parameter.ParameterDefinition
-
- All Implemented Interfaces:
IParameterDefinition,java.io.Serializable
public class ParameterDefinition extends java.lang.Object implements IParameterDefinition, java.io.Serializable
Implements theIParameterDefinition.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParameterDefinition(com.github.toolarium.processing.unit.dto.ParameterDefinition parameterDefinition)Constructor for ParameterDefinition
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetDefaultValue()Gets the default valuejava.lang.StringgetDescription()Gets the parameter description.java.lang.StringgetKey()Gets the key.intgetMaxOccurs()Get the max occurs.intgetMinOccurs()Get the min occurs.com.github.toolarium.processing.unit.dto.ParameterValueTypegetValueType()Gets the data typeinthashCode()booleanhasValueToProtect()Check if the value of this parameter should be protected.booleanisEmptyValueAllowed()Check if an empty value is allowed or not.booleanisOptional()Check if the key is optional or not.java.lang.StringtoString()
-
-
-
Method Detail
-
getKey
public java.lang.String getKey()
Description copied from interface:IParameterDefinitionGets the key.- Specified by:
getKeyin interfaceIParameterDefinition- Returns:
- the key
- See Also:
IParameterDefinition.getKey()
-
getValueType
public com.github.toolarium.processing.unit.dto.ParameterValueType getValueType()
Description copied from interface:IParameterDefinitionGets the data type- Specified by:
getValueTypein interfaceIParameterDefinition- Returns:
- the data type
- See Also:
IParameterDefinition.getValueType()
-
getDefaultValue
public java.lang.String getDefaultValue()
Description copied from interface:IParameterDefinitionGets the default value- Specified by:
getDefaultValuein interfaceIParameterDefinition- Returns:
- the default value
- See Also:
IParameterDefinition.getDefaultValue()
-
isOptional
public boolean isOptional()
Description copied from interface:IParameterDefinitionCheck if the key is optional or not.- Specified by:
isOptionalin interfaceIParameterDefinition- Returns:
- true if it is optional
- See Also:
IParameterDefinition.isOptional()
-
getMinOccurs
public int getMinOccurs()
Description copied from interface:IParameterDefinitionGet the min occurs.- Specified by:
getMinOccursin interfaceIParameterDefinition- Returns:
- the min occurs.
- See Also:
IParameterDefinition.getMinOccurs()
-
getMaxOccurs
public int getMaxOccurs()
Description copied from interface:IParameterDefinitionGet the max occurs.- Specified by:
getMaxOccursin interfaceIParameterDefinition- Returns:
- the max occurs.
- See Also:
IParameterDefinition.getMaxOccurs()
-
isEmptyValueAllowed
public boolean isEmptyValueAllowed()
Description copied from interface:IParameterDefinitionCheck if an empty value is allowed or not.- Specified by:
isEmptyValueAllowedin interfaceIParameterDefinition- Returns:
- true if an empty value is allowed
- See Also:
IParameterDefinition.isEmptyValueAllowed()
-
hasValueToProtect
public boolean hasValueToProtect()
Description copied from interface:IParameterDefinitionCheck if the value of this parameter should be protected.- Specified by:
hasValueToProtectin interfaceIParameterDefinition- Returns:
- true if the value of this parameter should be protected; otherwise false.
- See Also:
IParameterDefinition.hasValueToProtect()
-
getDescription
public java.lang.String getDescription()
Description copied from interface:IParameterDefinitionGets the parameter description.- Specified by:
getDescriptionin interfaceIParameterDefinition- Returns:
- The parameter description
- See Also:
IParameterDefinition.getDescription()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object- See Also:
Object.hashCode()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object- See Also:
Object.equals(java.lang.Object)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- See Also:
Object.toString()
-
-