Class IOParameterRef
java.lang.Object
de.aristaflow.adept2.model.common.paramref.ParameterRef
de.aristaflow.adept2.model.common.paramref.IOParameterRef
- All Implemented Interfaces:
LocalisedString,Serializable
Represents a reference to an input parameter and/or an output parameter.
- Author:
- Patrick Schmidt
- See Also:
-
Field Summary
Fields inherited from class de.aristaflow.adept2.model.common.paramref.ParameterRef
dataType, name, udtName -
Constructor Summary
ConstructorsConstructorDescriptionIOParameterRef(ProcessConstants.AdeptDataType dataType, String inputName, String outputName) Constructs a newUIParameterRefwith the specified data type plus input parameter and/or output parameter name.IOParameterRef(String inputName, String outputName, ProcessConstants.AdeptDataType dataType, String udtName) Constructs a newUIParameterRefwith the specified data type including the UDT name plus input parameter and/or output parameter name. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()Returns the name of the referenced input parameter ornullif no input parameter is referenced.Returns the name of the referenced output parameter ornullif no output parameter is referenced.inthashCode()toString()Returns a string of the form%<typeId>:[<inputName>][:<outputName>]%as specified inSystemDataConsumer.Methods inherited from class de.aristaflow.adept2.model.common.paramref.ParameterRef
getDataType, getUdtName, toLocalisedString
-
Constructor Details
-
IOParameterRef
Constructs a newUIParameterRefwith the specified data type plus input parameter and/or output parameter name.- Parameters:
dataType- the data type of the referenced parameterinputName- the name of the referenced input parameter; may benulloutputName- the name of the referenced output parameter; may benull
-
IOParameterRef
public IOParameterRef(String inputName, String outputName, ProcessConstants.AdeptDataType dataType, String udtName) Constructs a newUIParameterRefwith the specified data type including the UDT name plus input parameter and/or output parameter name.- Parameters:
inputName- the name of the referenced input parameter; may benulloutputName- the name of the referenced output parameter; may benulldataType- the data type of the referenced parameterudtName- The name of the UDT in case it is a UDT,nullotherwise.
-
-
Method Details
-
getName
Returns the name of the referenced input parameter ornullif no input parameter is referenced.- Overrides:
getNamein classParameterRef- Returns:
- the name of the referenced input parameter or
nullif no input parameter is referenced.
-
getOutputName
Returns the name of the referenced output parameter ornullif no output parameter is referenced.- Returns:
- the name of the referenced output parameter or
nullif no output parameter is referenced
-
toString
Returns a string of the form%<typeId>:[<inputName>][:<outputName>]%as specified inSystemDataConsumer.- Overrides:
toStringin classParameterRef
-
hashCode
public int hashCode()- Overrides:
hashCodein classParameterRef
-
equals
- Overrides:
equalsin classParameterRef
-