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:
  • Constructor Details

    • IOParameterRef

      public IOParameterRef(ProcessConstants.AdeptDataType dataType, String inputName, String outputName)
      Constructs a new UIParameterRef with the specified data type plus input parameter and/or output parameter name.
      Parameters:
      dataType - the data type of the referenced parameter
      inputName - the name of the referenced input parameter; may be null
      outputName - the name of the referenced output parameter; may be null
    • IOParameterRef

      public IOParameterRef(String inputName, String outputName, ProcessConstants.AdeptDataType dataType, String udtName)
      Constructs a new UIParameterRef 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 be null
      outputName - the name of the referenced output parameter; may be null
      dataType - the data type of the referenced parameter
      udtName - The name of the UDT in case it is a UDT, null otherwise.
  • Method Details

    • getName

      public String getName()
      Returns the name of the referenced input parameter or null if no input parameter is referenced.
      Overrides:
      getName in class ParameterRef
      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 or null 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 in SystemDataConsumer.
      Overrides:
      toString in class ParameterRef
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ParameterRef
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class ParameterRef