Class EmbeddedConnection

  • All Implemented Interfaces:
    java.io.Serializable

    public class EmbeddedConnection
    extends java.lang.Object
    implements java.io.Serializable
    The EmbeddedConnection is used within a VirtualConnection to link to the embedded connections.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      java.util.Map<java.lang.String,​java.lang.Object> getArguments()
      Return the arguments for the embedded connection.
      java.lang.String getDisplayName()
      Return the printable name of the embedded connection.
      ElementStub getEmbeddedConnection()
      Return the embedded connection.
      int getPosition()
      Return the position that this connector is in the list of embedded connectors.
      int hashCode()
      Create a hash code for this element type.
      void setArguments​(java.util.Map<java.lang.String,​java.lang.Object> arguments)
      Set up the arguments for the embedded connection.
      void setDisplayName​(java.lang.String displayName)
      Set up the printable name of the embedded connection.
      void setEmbeddedConnection​(ElementStub embeddedConnection)
      Set up the embedded connection
      void setPosition​(int position)
      Set up the position that this connector is in the list of embedded connectors.
      java.lang.String toString()
      Standard toString method.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • position

        protected int position
      • displayName

        protected java.lang.String displayName
      • arguments

        protected java.util.Map<java.lang.String,​java.lang.Object> arguments
      • embeddedConnection

        protected ElementStub embeddedConnection
    • Constructor Detail

      • EmbeddedConnection

        public EmbeddedConnection()
        Default constructor
      • EmbeddedConnection

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

      • getPosition

        public int getPosition()
        Return the position that this connector is in the list of embedded connectors.
        Returns:
        int
      • setPosition

        public void setPosition​(int position)
        Set up the position that this connector is in the list of embedded connectors.
        Parameters:
        position - int
      • getDisplayName

        public java.lang.String getDisplayName()
        Return the printable name of the embedded connection.
        Returns:
        String name
      • setDisplayName

        public void setDisplayName​(java.lang.String displayName)
        Set up the printable name of the embedded connection.
        Parameters:
        displayName - String name
      • getArguments

        public java.util.Map<java.lang.String,​java.lang.Object> getArguments()
        Return the arguments for the embedded connection.
        Returns:
        property map
      • setArguments

        public void setArguments​(java.util.Map<java.lang.String,​java.lang.Object> arguments)
        Set up the arguments for the embedded connection.
        Parameters:
        arguments - property map
      • getEmbeddedConnection

        public ElementStub getEmbeddedConnection()
        Return the embedded connection.
        Returns:
        header of Connection object.
      • setEmbeddedConnection

        public void setEmbeddedConnection​(ElementStub embeddedConnection)
        Set up the embedded connection
        Parameters:
        embeddedConnection - header of Connection object
      • toString

        public java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class java.lang.Object
        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 java.lang.Object
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Create a hash code for this element type.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        int hash code