Class RequestForActionAnnotation
java.lang.Object
org.odpi.openmetadata.frameworks.surveyaction.properties.PropertyBase
org.odpi.openmetadata.frameworks.surveyaction.properties.Annotation
org.odpi.openmetadata.frameworks.surveyaction.properties.DataFieldAnnotation
org.odpi.openmetadata.frameworks.surveyaction.properties.RequestForActionAnnotation
RequestForActionAnnotation is used to record an issue that has been discovered. It is typically used when the
survey action service is running quality rules and data values are discovered that are not correct.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.surveyaction.properties.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare 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 list of unique identifiers for the request for action target elements.Return the unique name of the discovery activity.int
hashCode()
Create a hash code for this element type.void
setActionProperties
(Map<String, String> actionProperties) Set up the properties that will guide the remediation action.void
setActionRequested
(String actionRequested) Set up the identifier of the type of action that needs to be run.void
setActionTargetGUIDs
(List<String> actionTargetGUIDs) Set up the list of unique identifiers for the request for action target elements.void
setSurveyActivity
(String surveyActivity) Set up the unique name of the discovery activity.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.surveyaction.properties.Annotation
getAdditionalProperties, getAnalysisStep, getAnnotationStatus, getAnnotationSubjects, getAnnotationType, getConfidenceLevel, getExplanation, getExpression, getJsonProperties, getReviewComment, getReviewDate, getSteward, getSummary, setAdditionalProperties, setAnalysisStep, setAnnotationStatus, setAnnotationSubjects, setAnnotationType, setConfidenceLevel, setExplanation, setExpression, setJsonProperties, setReviewComment, setReviewDate, setSteward, setSummary
Methods inherited from class org.odpi.openmetadata.frameworks.surveyaction.properties.PropertyBase
getElementHeader, getExtendedProperties, getHeaderVersion, getOpenMetadataTypeName, setElementHeader, setExtendedProperties, setHeaderVersion, setOpenMetadataTypeName
-
Constructor Details
-
RequestForActionAnnotation
public RequestForActionAnnotation()Default constructor -
RequestForActionAnnotation
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getSurveyActivity
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
-
setSurveyActivity
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:
surveyActivity
- 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
-
getActionTargetGUIDs
Return the list of unique identifiers for the request for action target elements.- Returns:
- list of guids
-
setActionTargetGUIDs
Set up the list of unique identifiers for the request for action target elements.- Parameters:
actionTargetGUIDs
- list of guids
-
toString
Standard toString method.- Overrides:
toString
in 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:
equals
in classAnnotation
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCode
in classAnnotation
- Returns:
- int hash code
-