Class IOParameterRef
- java.lang.Object
-
- de.aristaflow.adept2.model.common.paramref.ParameterRef
-
- de.aristaflow.adept2.model.common.paramref.IOParameterRef
-
- All Implemented Interfaces:
LocalisedString,Serializable
public class IOParameterRef extends ParameterRef
Represents a reference to an input parameter and/or an output parameter.- Author:
- Patrick Schmidt
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.aristaflow.adept2.model.common.paramref.ParameterRef
dataType, name, udtName
-
-
Constructor Summary
Constructors Constructor Description IOParameterRef(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetName()Returns the name of the referenced input parameter ornullif no input parameter is referenced.StringgetOutputName()Returns the name of the referenced output parameter ornullif no output parameter is referenced.inthashCode()StringtoString()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 Detail
-
IOParameterRef
public IOParameterRef(ProcessConstants.AdeptDataType dataType, String inputName, String outputName)
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 Detail
-
getName
public String 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
public String 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
public String toString()
Returns a string of the form%<typeId>:[<inputName>][:<outputName>]%as specified inSystemDataConsumer.- Overrides:
toStringin classParameterRef
-
hashCode
public int hashCode()
- Overrides:
hashCodein classParameterRef
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classParameterRef
-
-