Class ActivityDescriptionProperties
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.ClassificationProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.ActivityDescriptionProperties
ActivityDescriptionProperties is used to classify a glossary that describes an activity. This request body includes
an enum that describes the type of activity.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor for a primary key. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the activity type for the classification.int
hashCode()
Return hash code based on properties.void
setActivityType
(GlossaryTermActivityType activityType) Set up the activity type for the classification.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.ClassificationProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
ActivityDescriptionProperties
public ActivityDescriptionProperties()Default constructor -
ActivityDescriptionProperties
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:
toString
in classClassificationProperties
- 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:
equals
in classClassificationProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classClassificationProperties
- Returns:
- int
-