Class RelationshipResponse

All Implemented Interfaces:
FFDCResponse

public class RelationshipResponse extends AssetCatalogOMASAPIResponse
RelationshipsResponse is the response structure used on the Asset Catalog OMAS REST API calls that returns a relationships object as a response.
  • Constructor Details

    • RelationshipResponse

      public RelationshipResponse()
      Default Constructor
  • Method Details

    • getRelationship

      public Relationship getRelationship()
      Returns the relationship.
      Returns:
      the relationship
    • setRelationship

      public void setRelationship(Relationship relationship)
      Set up the relationship.
      Parameters:
      relationship - the relationship
    • toString

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

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class FFDCResponseBase
      Returns:
      int