public class RelationshipResponse extends OMRSAPIResponse
exceptionClassName, exceptionErrorMessage, exceptionProperties, exceptionSystemAction, exceptionUserAction, relatedHTTPCode| Constructor and Description |
|---|
RelationshipResponse()
Default constructor
|
RelationshipResponse(RelationshipResponse 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.
|
Relationship |
getRelationship()
Return the resulting relationship.
|
int |
hashCode()
Create a hash code for this element type.
|
void |
setRelationship(Relationship relationship)
Set up the returned relationship.
|
String |
toString()
Standard toString method.
|
getExceptionClassName, getExceptionErrorMessage, getExceptionProperties, getExceptionSystemAction, getExceptionUserAction, getRelatedHTTPCode, setExceptionClassName, setExceptionErrorMessage, setExceptionProperties, setExceptionSystemAction, setExceptionUserAction, setRelatedHTTPCodepublic RelationshipResponse()
public RelationshipResponse(RelationshipResponse template)
template - object to copypublic Relationship getRelationship()
public void setRelationship(Relationship relationship)
relationship - relationship objectpublic String toString()
toString in class OMRSAPIResponsepublic boolean equals(Object objectToCompare)
equals in class OMRSAPIResponseobjectToCompare - supplied objectpublic int hashCode()
hashCode in class OMRSAPIResponseCopyright © 2018–2020 ODPi. All rights reserved.