Class ActivityTermClassificationRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
org.odpi.openmetadata.accessservices.assetmanager.rest.ActivityTermClassificationRequestBody
- All Implemented Interfaces:
Serializable
ActivityTermClassificationRequestBody is used to classify a glossary that describes an activity. This request body includes
an enum that describes the type of activity.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor for a primary key. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the activity type for the classification.inthashCode()Return hash code based on properties.voidsetActivityType(GlossaryTermActivityType activityType) Set up the activity type for the classification.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
getEffectiveTime, getMetadataCorrelationProperties, setEffectiveTime, setMetadataCorrelationProperties
-
Constructor Details
-
ActivityTermClassificationRequestBody
public ActivityTermClassificationRequestBody()Default constructor -
ActivityTermClassificationRequestBody
Copy/clone constructor for a primary key.- Parameters:
template- template object to copy.
-
-
Method Details
-
getActivityType
Return the activity type for the classification.- Returns:
- enum
-
setActivityType
Set up the activity type for the classification.- Parameters:
activityType- enum
-
toString
Standard toString method.- Overrides:
toStringin classUpdateRequestBody- 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 classUpdateRequestBody- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classUpdateRequestBody- Returns:
- int
-