Class EmbeddedConnectionRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.EmbeddedConnectionRequestBody

public class EmbeddedConnectionRequestBody extends ExternalSourceRequestBody
The EmbeddedConnection is used within a VirtualConnection to link to the embedded connections.
  • Field Details

    • position

      protected int position
    • displayName

      protected String displayName
    • arguments

      protected Map<String,Object> arguments
  • Constructor Details

    • EmbeddedConnectionRequestBody

      public EmbeddedConnectionRequestBody()
      Default constructor
    • EmbeddedConnectionRequestBody

      public EmbeddedConnectionRequestBody(EmbeddedConnectionRequestBody template)
      Copy/clone constructor.
      Parameters:
      template - element to copy
  • Method Details

    • 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 String getDisplayName()
      Return the printable name of the embedded connection.
      Returns:
      String name
    • setDisplayName

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

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

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

      public String toString()
      Standard toString method.
      Overrides:
      toString in class ExternalSourceRequestBody
      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 ExternalSourceRequestBody
      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 ExternalSourceRequestBody
      Returns:
      int hash code