Class InstanceGraphResponse
java.lang.Object
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIResponse
org.odpi.openmetadata.repositoryservices.rest.properties.InstanceGraphResponse
- All Implemented Interfaces:
Serializable
InstanceGraphResponse is the response structure for an OMRS REST API call that
returns an instance graph object.
- See Also:
-
Field Summary
Fields inherited from class org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIResponse
actionDescription, exceptionCausedBy, exceptionClassName, exceptionErrorMessage, exceptionErrorMessageId, exceptionErrorMessageParameters, exceptionProperties, exceptionSystemAction, exceptionUserAction, relatedHTTPCode -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorInstanceGraphResponse(InstanceGraphResponse template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the list of entities stored in the graph.Return the list of relationships that are part of this instance graph.inthashCode()Create a hash code for this element type.voidsetEntityElementList(List<EntityDetail> entityElementList) Set up the list of entities stored in the graph.voidsetRelationshipElementList(List<Relationship> relationshipElementList) Set up the list of relationships that are part of this instance graph.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIResponse
getActionDescription, getExceptionCausedBy, getExceptionClassName, getExceptionErrorMessage, getExceptionErrorMessageId, getExceptionErrorMessageParameters, getExceptionProperties, getExceptionSystemAction, getExceptionUserAction, getRelatedHTTPCode, setActionDescription, setExceptionCausedBy, setExceptionClassName, setExceptionErrorMessage, setExceptionErrorMessageId, setExceptionErrorMessageParameters, setExceptionProperties, setExceptionSystemAction, setExceptionUserAction, setRelatedHTTPCode
-
Constructor Details
-
InstanceGraphResponse
public InstanceGraphResponse()Default constructor -
InstanceGraphResponse
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getEntityElementList
Return the list of entities stored in the graph.- Returns:
- list of entities
-
setEntityElementList
Set up the list of entities stored in the graph.- Parameters:
entityElementList- list of entities
-
getRelationshipElementList
Return the list of relationships that are part of this instance graph.- Returns:
- list of relationships
-
setRelationshipElementList
Set up the list of relationships that are part of this instance graph.- Parameters:
relationshipElementList- list of relationships
-
toString
Standard toString method.- Overrides:
toStringin classOMRSAPIResponse- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classOMRSAPIResponse- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classOMRSAPIResponse- Returns:
- int hash code
-