Class EmbeddedConnectionProperties

  • All Implemented Interfaces:
    Serializable

    public class EmbeddedConnectionProperties
    extends AssetPropertyBase
    EmbeddedConnectionProperties provides a facade for the properties of a Connection that is embedded in a VirtualConnection.
    See Also:
    Serialized Form
    • Constructor Detail

      • EmbeddedConnectionProperties

        public EmbeddedConnectionProperties​(EmbeddedConnection embeddedConnectionBean)
        Bean constructor
        Parameters:
        embeddedConnectionBean - bean containing all of the properties
      • EmbeddedConnectionProperties

        public EmbeddedConnectionProperties​(AssetDescriptor parentAsset,
                                            EmbeddedConnection embeddedConnectionBean)
        Bean constructor with parent asset
        Parameters:
        parentAsset - descriptor of parent asset
        embeddedConnectionBean - bean containing all of the properties
      • EmbeddedConnectionProperties

        public EmbeddedConnectionProperties​(AssetDescriptor parentAsset,
                                            EmbeddedConnectionProperties template)
        Copy/clone constructor makes a copy of the supplied object.
        Parameters:
        parentAsset - descriptor of parent asset
        template - template object to copy
    • Method Detail

      • getEmbeddedConnectionBean

        protected EmbeddedConnection getEmbeddedConnectionBean()
        Return the bean with all of the properties
        Returns:
        schema link bean
      • getPosition

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

        public String getDisplayName()
        Return the display name of the embedded connection.
        Returns:
        String name
      • getConnectionProperties

        public ConnectionProperties getConnectionProperties()
        Return the connection properties used to create the connector for this embedded connection.
        Returns:
        String name
      • getArguments

        public Map<String,​Object> getArguments()
        Return the list of properties associated with this schema link.
        Returns:
        map of properties
      • toString

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

        public boolean equals​(Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class AssetPropertyBase
        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 AssetPropertyBase
        Returns:
        int hash code