Class InstanceGraphResponse

  • All Implemented Interfaces:
    java.io.Serializable

    public class InstanceGraphResponse
    extends OMRSAPIResponse
    InstanceGraphResponse is the response structure for an OMRS REST API call that returns an instance graph object.
    See Also:
    Serialized Form
    • Constructor Detail

      • InstanceGraphResponse

        public InstanceGraphResponse()
        Default constructor
      • InstanceGraphResponse

        public InstanceGraphResponse​(InstanceGraphResponse template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getEntityElementList

        public java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail> getEntityElementList()
        Return the list of entities stored in the graph.
        Returns:
        list of entities
      • setEntityElementList

        public void setEntityElementList​(java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail> entityElementList)
        Set up the list of entities stored in the graph.
        Parameters:
        entityElementList - list of entities
      • getRelationshipElementList

        public java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship> getRelationshipElementList()
        Return the list of relationships that are part of this instance graph.
        Returns:
        list of relationships
      • setRelationshipElementList

        public void setRelationshipElementList​(java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship> relationshipElementList)
        Set up the list of relationships that are part of this instance graph.
        Parameters:
        relationshipElementList - list of relationships
      • toString

        public java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class OMRSAPIResponse
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class OMRSAPIResponse
        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 OMRSAPIResponse
        Returns:
        int hash code