Class ClassificationWithEntityRequest
java.lang.Object
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
org.odpi.openmetadata.repositoryservices.rest.properties.ClassificationWithEntityRequest
- All Implemented Interfaces:
RequestIdService
ClassificationWithEntityRequest carries a classification that has changed along with its entity.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the classification.Return the entity where the classification belongs.Return the entity where the classification belongs.inthashCode()Create a hash code for this element type.voidsetClassification(Classification classification) Set up the classification.voidsetEntity(EntityDetail entity) Set up the entity where the classification belongs.voidsetEntityProxy(EntityProxy entity) Set up the entity where the classification belongs.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
getRequestId, setRequestId
-
Constructor Details
-
ClassificationWithEntityRequest
public ClassificationWithEntityRequest()Default constructor -
ClassificationWithEntityRequest
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getClassification
Return the classification.- Returns:
- Classification object
-
setClassification
Set up the classification.- Parameters:
classification- Classification object
-
getEntity
Return the entity where the classification belongs.- Returns:
- full entity
-
setEntity
Set up the entity where the classification belongs.- Parameters:
entity- full entity
-
getEntityProxy
Return the entity where the classification belongs.- Returns:
- full entity
-
setEntityProxy
Set up the entity where the classification belongs.- Parameters:
entity- proxy entity
-
toString
Standard toString method.- Overrides:
toStringin classOMRSAPIRequest- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classOMRSAPIRequest- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classOMRSAPIRequest- Returns:
- int hash code
-