Class ClassificationWithEntityRequest
java.lang.Object
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
org.odpi.openmetadata.repositoryservices.rest.properties.ClassificationWithEntityRequest
- All Implemented Interfaces:
Serializable
ClassificationWithEntityRequest carries a classification that has changed along with its entity.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare 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.int
hashCode()
Create a hash code for this element type.void
setClassification
(Classification classification) Set up the classification.void
setEntity
(EntityDetail entity) Set up the entity where the classification belongs.void
setEntityProxy
(EntityProxy entity) Set up the entity where the classification belongs.toString()
Standard toString method.
-
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. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-