public class RelationshipCreateRequest extends OMRSAPIRequest
| Constructor and Description |
|---|
RelationshipCreateRequest()
Default constructor
|
RelationshipCreateRequest(RelationshipCreateRequest template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
String |
getEntityOneGUID()
Return the unique identifier (GUID) for the first entity linked by the relationship.
|
String |
getEntityTwoGUID()
Return the unique identifier (GUID) for the second entity linked by the relationship.
|
InstanceProperties |
getInitialProperties()
Return the list of properties for the new relationship.
|
InstanceStatus |
getInitialStatus()
Return the initial status for the new relationship.
|
String |
getMetadataCollectionId()
Return the metadata collection id for this new relationship
|
String |
getMetadataCollectionName()
Return the name of the metadata collection for this new relationship.
|
String |
getRelationshipTypeGUID()
Return the type of the new relationship.
|
int |
hashCode()
Create a hash code for this element type.
|
void |
setEntityOneGUID(String entityOneGUID)
Set up the unique identifier (GUID) for the first entity linked by the relationship.
|
void |
setEntityTwoGUID(String entityTwoGUID)
Set up the unique identifier (GUID) for the second entity linked by the relationship.
|
void |
setInitialProperties(InstanceProperties initialProperties)
Set up the initial properties for the relationship.
|
void |
setInitialStatus(InstanceStatus initialStatus)
Set up the initial status for the new relationship.
|
void |
setMetadataCollectionId(String metadataCollectionId)
Set up the metadata collection id for this new relationship.
|
void |
setMetadataCollectionName(String metadataCollectionName)
Set up the name of the metadata collection for this new relationship.
|
void |
setRelationshipTypeGUID(String relationshipTypeGUID)
Set up the type of the new relationship.
|
String |
toString()
Standard toString method.
|
public RelationshipCreateRequest()
public RelationshipCreateRequest(RelationshipCreateRequest template)
template - object to copypublic String getRelationshipTypeGUID()
public void setRelationshipTypeGUID(String relationshipTypeGUID)
relationshipTypeGUID - String guidpublic InstanceProperties getInitialProperties()
public void setInitialProperties(InstanceProperties initialProperties)
initialProperties - InstanceProperties objectpublic String getEntityOneGUID()
public void setEntityOneGUID(String entityOneGUID)
entityOneGUID - entity guidpublic String getEntityTwoGUID()
public void setEntityTwoGUID(String entityTwoGUID)
entityTwoGUID - entity guidpublic InstanceStatus getInitialStatus()
public void setInitialStatus(InstanceStatus initialStatus)
initialStatus - instance status enumpublic String getMetadataCollectionId()
public void setMetadataCollectionId(String metadataCollectionId)
metadataCollectionId - guidpublic String getMetadataCollectionName()
public void setMetadataCollectionName(String metadataCollectionName)
metadataCollectionName - namepublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2019 ODPi. All rights reserved.