Class ActivityTermClassificationRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.rest.ActivityTermClassificationRequestBody
-
- All Implemented Interfaces:
Serializable
public class ActivityTermClassificationRequestBody extends Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActivityTermClassificationRequestBody()Default constructorActivityTermClassificationRequestBody(ActivityTermClassificationRequestBody template)Copy/clone constructor for a primary key.
-
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.GlossaryTermActivityTypegetActivityType()Return the activity type for the classification.MetadataCorrelationPropertiesgetMetadataCorrelationProperties()Return the properties used to correlate the external metadata element with the open metadata element.inthashCode()Return has code based on properties.voidsetActivityType(GlossaryTermActivityType activityType)Set up the activity type for the classification.voidsetMetadataCorrelationProperties(MetadataCorrelationProperties metadataCorrelationProperties)Set up the properties used to correlate the external metadata element with the open metadata element.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
ActivityTermClassificationRequestBody
public ActivityTermClassificationRequestBody()
Default constructor
-
ActivityTermClassificationRequestBody
public ActivityTermClassificationRequestBody(ActivityTermClassificationRequestBody template)
Copy/clone constructor for a primary key.- Parameters:
template- template object to copy.
-
-
Method Detail
-
getMetadataCorrelationProperties
public MetadataCorrelationProperties getMetadataCorrelationProperties()
Return the properties used to correlate the external metadata element with the open metadata element.- Returns:
- properties object
-
setMetadataCorrelationProperties
public void setMetadataCorrelationProperties(MetadataCorrelationProperties metadataCorrelationProperties)
Set up the properties used to correlate the external metadata element with the open metadata element.- Parameters:
metadataCorrelationProperties- properties object
-
getActivityType
public GlossaryTermActivityType getActivityType()
Return the activity type for the classification.- Returns:
- enum
-
setActivityType
public void setActivityType(GlossaryTermActivityType activityType)
Set up the activity type for the classification.- Parameters:
activityType- enum
-
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.
-
-