Class PortProperties

  • All Implemented Interfaces:
    java.io.Serializable

    public class PortProperties
    extends ReferenceableProperties
    PortProperties is a class for representing a generic port for a process. The typeName is set to indicate it is either a PortAlias (part of a choreographing process) or PortImplementation (part of an implemented process).
    See Also:
    Serialized Form
    • Constructor Detail

      • PortProperties

        public PortProperties()
        Default constructor
      • PortProperties

        public PortProperties​(PortProperties template)
        Copy/clone constructor.
        Parameters:
        template - object to copy
    • Method Detail

      • getDisplayName

        public java.lang.String getDisplayName()
        Return a human memorable name for the port.
        Returns:
        string name
      • setDisplayName

        public void setDisplayName​(java.lang.String displayName)
        Set up a human memorable name for the port.
        Parameters:
        displayName - string name
      • getPortType

        public PortType getPortType()
        Return the direction of data flow of the port.
        Returns:
        portType enum
      • setPortType

        public void setPortType​(PortType portType)
        Set up the direction of data flow of the port.
        Parameters:
        portType - portType enum
      • toString

        public java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class ReferenceableProperties
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class ReferenceableProperties
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison