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
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.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:
toStringin 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:
equalsin classClassificationProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classClassificationProperties- Returns:
- int
-