Class ClassificationWithEntityRequest
- java.lang.Object
-
- org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
-
- org.odpi.openmetadata.repositoryservices.rest.properties.ClassificationWithEntityRequest
-
- All Implemented Interfaces:
Serializable
public class ClassificationWithEntityRequest extends OMRSAPIRequest
ClassificationWithEntityRequest carries a classification that has changed along with its entity.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClassificationWithEntityRequest()Default constructorClassificationWithEntityRequest(ClassificationWithEntityRequest template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.ClassificationgetClassification()Return the classification.EntityDetailgetEntity()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.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
ClassificationWithEntityRequest
public ClassificationWithEntityRequest()
Default constructor
-
ClassificationWithEntityRequest
public ClassificationWithEntityRequest(ClassificationWithEntityRequest template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getClassification
public Classification getClassification()
Return the classification.- Returns:
- Classification object
-
setClassification
public void setClassification(Classification classification)
Set up the classification.- Parameters:
classification- Classification object
-
getEntity
public EntityDetail getEntity()
Return the entity where the classification belongs.- Returns:
- full entity
-
setEntity
public void setEntity(EntityDetail entity)
Set up the entity where the classification belongs.- Parameters:
entity- full entity
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-