Class RelationshipListResponse

All Implemented Interfaces:
FFDCResponse

public class RelationshipListResponse 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

    • RelationshipListResponse

      public RelationshipListResponse()
      Default constructor.
  • Method Details

    • getRelationships

      public List<Relationship> getRelationships()
      Returns the list of relationships.
      Returns:
      the list of relationships
    • setRelationships

      public void setRelationships(List<Relationship> relationships)
      Set up the list of relationships.
      Parameters:
      relationships - the list of relationships
    • 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