Class RequestForActionAnnotation
java.lang.Object
org.odpi.openmetadata.frameworks.discovery.properties.PropertyBase
org.odpi.openmetadata.frameworks.discovery.properties.Annotation
org.odpi.openmetadata.frameworks.discovery.properties.DataFieldAnnotation
org.odpi.openmetadata.frameworks.discovery.properties.RequestForActionAnnotation
- All Implemented Interfaces:
Serializable
RequestForActionAnnotation is used to record an issue that has been discovered. It is typically used when the discovery
service is running quality rules and data values are discovered that are not correct.
- See Also:
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.discovery.properties.PropertyBase
CURRENT_AUDIT_HEADER_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the properties that will guide the governance action.Return the identifier of the type of action that needs to be run.Return the unique name of the discovery activity.inthashCode()Create a hash code for this element type.voidsetActionProperties(Map<String, String> actionProperties) Set up the properties that will guide the remediation action.voidsetActionRequested(String actionRequested) Set up the identifier of the type of action that needs to be run.voidsetDiscoveryActivity(String discoveryActivity) Set up the unique name of the discovery activity.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.discovery.properties.Annotation
getAdditionalProperties, getAnalysisStep, getAnnotationStatus, getAnnotationType, getConfidenceLevel, getExplanation, getExpression, getJsonProperties, getNumAttachedAnnotations, getReviewComment, getReviewDate, getSteward, getSummary, setAdditionalProperties, setAnalysisStep, setAnnotationStatus, setAnnotationType, setConfidenceLevel, setExplanation, setExpression, setJsonProperties, setNumAttachedAnnotations, setReviewComment, setReviewDate, setSteward, setSummaryMethods inherited from class org.odpi.openmetadata.frameworks.discovery.properties.PropertyBase
getElementHeader, getExtendedProperties, getHeaderVersion, getTypeName, setElementHeader, setExtendedProperties, setHeaderVersion, setTypeName
-
Constructor Details
-
RequestForActionAnnotation
public RequestForActionAnnotation()Default constructor -
RequestForActionAnnotation
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getDiscoveryActivity
Return the unique name of the discovery activity. It should be possible for the stewardship processes to know what discovery processing was running for this value.- Returns:
- string name
-
setDiscoveryActivity
Set up the unique name of the discovery activity. It should be possible for the stewardship processes to know what discovery processing was running for this value.- Parameters:
discoveryActivity- string name
-
getActionRequested
Return the identifier of the type of action that needs to be run. It should be possible for the stewardship processes to know what to run from this value.- Returns:
- string name
-
setActionRequested
Set up the identifier of the type of action that needs to be run. It should be possible for the stewardship processes to know what to run from this value.- Parameters:
actionRequested- string name
-
getActionProperties
Return the properties that will guide the governance action.- Returns:
- map of property names to property values
-
setActionProperties
Set up the properties that will guide the remediation action.- Parameters:
actionProperties- map of property names to property values
-
toString
Standard toString method.- Overrides:
toStringin classDataFieldAnnotation- 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 classAnnotation- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classAnnotation- Returns:
- int hash code
-