Class RelationshipListResponse
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.RelationshipListResponse
- All Implemented Interfaces:
FFDCResponse
RelationshipsResponse is the response structure used on the Asset Catalog OMAS REST API calls that
returns a relationships object as a response.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Return comparison result based on the content of the properties.Returns the list of relationshipsint
hashCode()
Return hash code for this objectvoid
setRelationships
(List<Relationship> relationships) Set up the list of relationshipstoString()
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
-
RelationshipListResponse
public RelationshipListResponse()
-
-
Method Details
-
getRelationships
Returns the list of relationships- Returns:
- the list of relationships
-
setRelationships
Set up the list of relationships- Parameters:
relationships
- the list of relationships
-
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
-