Class EmbeddedConnectionProperties

java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyElementBase
org.odpi.openmetadata.frameworks.connectors.properties.EmbeddedConnectionProperties

public class EmbeddedConnectionProperties extends AssetPropertyElementBase
EmbeddedConnectionProperties provides a facade for the properties of a Connection that is embedded in a VirtualConnection.
  • Field Details

  • Constructor Details

    • EmbeddedConnectionProperties

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

      public EmbeddedConnectionProperties(EmbeddedConnectionProperties template)
      Copy/clone constructor makes a copy of the supplied object.
      Parameters:
      template - template object to copy
  • Method Details

    • getEmbeddedConnectionBean

      protected EmbeddedConnection getEmbeddedConnectionBean()
      Return the bean with all 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 AssetPropertyElementBase
      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 AssetPropertyElementBase
      Returns:
      int hash code