Class InstanceGraphRequest
- java.lang.Object
-
- org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
-
- org.odpi.openmetadata.repositoryservices.rest.properties.InstanceGraphRequest
-
- All Implemented Interfaces:
Serializable
public class InstanceGraphRequest extends OMRSAPIRequest
InstanceGraphRequest is the request structure for an OMRS REST API call that sends an instance graph object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstanceGraphRequest()Default constructorInstanceGraphRequest(InstanceGraphRequest template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.List<EntityDetail>getEntityElementList()Return the list of entities stored in the graph.List<Relationship>getRelationshipElementList()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.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
InstanceGraphRequest
public InstanceGraphRequest()
Default constructor
-
InstanceGraphRequest
public InstanceGraphRequest(InstanceGraphRequest template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getEntityElementList
public List<EntityDetail> getEntityElementList()
Return the list of entities stored in the graph.- Returns:
- list of entities
-
setEntityElementList
public void setEntityElementList(List<EntityDetail> entityElementList)
Set up the list of entities stored in the graph.- Parameters:
entityElementList- list of entities
-
getRelationshipElementList
public List<Relationship> getRelationshipElementList()
Return the list of relationships that are part of this instance graph.- Returns:
- list of relationships
-
setRelationshipElementList
public void setRelationshipElementList(List<Relationship> relationshipElementList)
Set up the list of relationships that are part of this instance graph.- Parameters:
relationshipElementList- list of relationships
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-