Class RelationshipResponse
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
org.odpi.openmetadata.accessservices.assetcatalog.model.rest.responses.AssetCatalogOMASAPIResponse
org.odpi.openmetadata.accessservices.assetcatalog.model.rest.responses.RelationshipResponse
- All Implemented Interfaces:
Serializable
,FFDCResponse
RelationshipsResponse is the response structure used on the Asset Catalog OMAS REST API calls that
returns a relationships object as a response.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Return comparison result based on the content of the properties.Returns the relationshipint
hashCode()
Return hash code for this objectvoid
setRelationship
(Relationship relationship) Set up the relationshiptoString()
JSON-like toStringMethods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
getActionDescription, getExceptionCausedBy, getExceptionClassName, getExceptionErrorMessage, getExceptionErrorMessageId, getExceptionErrorMessageParameters, getExceptionProperties, getExceptionSystemAction, getExceptionUserAction, getRelatedHTTPCode, setActionDescription, setExceptionCausedBy, setExceptionClassName, setExceptionErrorMessage, setExceptionErrorMessageId, setExceptionErrorMessageParameters, setExceptionProperties, setExceptionSystemAction, setExceptionUserAction, setRelatedHTTPCode
-
Constructor Details
-
RelationshipResponse
public RelationshipResponse()
-
-
Method Details
-
getRelationship
Returns the relationship- Returns:
- the relationship
-
setRelationship
Set up the relationship- Parameters:
relationship
- the relationship
-
equals
Description copied from class:FFDCResponseBase
Return comparison result based on the content of the properties.- Overrides:
equals
in classFFDCResponseBase
- Parameters:
o
- test object- Returns:
- result of comparison
-
canEqual
-
hashCode
public int hashCode()Description copied from class:FFDCResponseBase
Return hash code for this object- Overrides:
hashCode
in classFFDCResponseBase
- Returns:
- int hash code
-
toString
Description copied from class:FFDCResponseBase
JSON-like toString- Overrides:
toString
in classFFDCResponseBase
- Returns:
- string containing the property names and values
-