Class AssetConnectionRequestBody

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

public class AssetConnectionRequestBody extends ExternalSourceRequestBody
AssetConnectionRequestBody carries the parameters for creating a new relationship between an asset and a connection.
  • Constructor Details

    • AssetConnectionRequestBody

      public AssetConnectionRequestBody()
      Default constructor
    • AssetConnectionRequestBody

      public AssetConnectionRequestBody(AssetConnectionRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getAssetSummary

      public String getAssetSummary()
      Return the full path of the file - this should be unique.
      Returns:
      string name
    • setAssetSummary

      public void setAssetSummary(String assetSummary)
      Set up the full path of the file - this should be unique.
      Parameters:
      assetSummary - string name
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class ExternalSourceRequestBody
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class ExternalSourceRequestBody
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class ExternalSourceRequestBody
      Returns:
      int hash code