Class ClassificationListResponse
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.ClassificationListResponse
- All Implemented Interfaces:
FFDCResponse
ClassificationsResponse is the response structure used on the Asset Catalog OMAS REST API calls that
returns a classification 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 classificationsint
hashCode()
Return hash code for this objectvoid
setClassifications
(List<Classification> classifications) Set up the list of classificationstoString()
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
-
ClassificationListResponse
public ClassificationListResponse()
-
-
Method Details
-
getClassifications
Returns the list of classifications- Returns:
- the list of classifications
-
setClassifications
Set up the list of classifications- Parameters:
classifications
- the list of classifications
-
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
-