Class InstanceGraphRequest
java.lang.Object
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
org.odpi.openmetadata.repositoryservices.rest.properties.InstanceGraphRequest
- All Implemented Interfaces:
Serializable
InstanceGraphRequest is the request structure for an OMRS REST API call that
sends an instance graph object.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructorInstanceGraphRequest
(InstanceGraphRequest template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare 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.int
hashCode()
Create a hash code for this element type.void
setEntityElementList
(List<EntityDetail> entityElementList) Set up the list of entities stored in the graph.void
setRelationshipElementList
(List<Relationship> relationshipElementList) Set up the list of relationships that are part of this instance graph.toString()
Standard toString method.
-
Constructor Details
-
InstanceGraphRequest
public InstanceGraphRequest()Default constructor -
InstanceGraphRequest
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. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-