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 newUIParameterRef
with the specified data type plus input parameter and/or output parameter name.IOParameterRef(String inputName, String outputName, ProcessConstants.AdeptDataType dataType, String udtName)
Constructs a newUIParameterRef
with 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 boolean
equals(Object obj)
String
getName()
Returns the name of the referenced input parameter ornull
if no input parameter is referenced.String
getOutputName()
Returns the name of the referenced output parameter ornull
if no output parameter is referenced.int
hashCode()
String
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 Detail
-
IOParameterRef
public IOParameterRef(ProcessConstants.AdeptDataType dataType, String inputName, String outputName)
Constructs a newUIParameterRef
with 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 benull
outputName
- the name of the referenced output parameter; may benull
-
IOParameterRef
public IOParameterRef(String inputName, String outputName, ProcessConstants.AdeptDataType dataType, String udtName)
Constructs a newUIParameterRef
with 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 benull
outputName
- the name of the referenced output parameter; may benull
dataType
- the data type of the referenced parameterudtName
- The name of the UDT in case it is a UDT,null
otherwise.
-
-
Method Detail
-
getName
public String getName()
Returns the name of the referenced input parameter ornull
if no input parameter is referenced.- Overrides:
getName
in classParameterRef
- Returns:
- the name of the referenced input parameter or
null
if no input parameter is referenced.
-
getOutputName
public String getOutputName()
Returns the name of the referenced output parameter ornull
if no output parameter is referenced.- Returns:
- the name of the referenced output parameter or
null
if no output parameter is referenced
-
toString
public String toString()
Returns a string of the form%<typeId>:[<inputName>][:<outputName>]%
as specified inSystemDataConsumer
.- Overrides:
toString
in classParameterRef
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classParameterRef
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classParameterRef
-
-