Class SemanticAnnotation
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.SemanticAnnotation
SemanticAnnotation provides a recommendation as to the likely meaning of data. This can be expressed informally with
explicit strings, or via lists of GUIDs that match elements in a formal glossary. It can be attached to an asset
or a data field within an asset.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.surveyaction.properties.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault constructorSemanticAnnotation
(SemanticAnnotation template) Copy clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return a list of unique identifiers of glossary categories that describe the topic of the data.Return a list of unique identifiers of glossary terms that describe the meaning of the data.Return a string that describes the meaning of this data.Return a string that describes the topic that this data is about.int
hashCode()
Create a hash code for this element type.void
setCandidateGlossaryCategoryGUIDs
(List<String> candidateGlossaryCategoryGUIDs) Set up a list of unique identifiers of glossary categories that describe the topic of the data.void
setCandidateGlossaryTermGUIDs
(List<String> candidateGlossaryTermGUIDs) Set up a list of unique identifiers of glossary terms that describe the meaning of the data.void
setInformalTerm
(String informalTerm) Set up a string that describes the meaning of this data.void
setInformalTopic
(String informalTopic) Set up a string that describes the topic that this data is about.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
-
SemanticAnnotation
public SemanticAnnotation()Default constructor -
SemanticAnnotation
Copy clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getInformalTerm
Return a string that describes the meaning of this data.- Returns:
- string name
-
setInformalTerm
Set up a string that describes the meaning of this data.- Parameters:
informalTerm
- string name
-
getInformalTopic
Return a string that describes the topic that this data is about.- Returns:
- string name
-
setInformalTopic
Set up a string that describes the topic that this data is about.- Parameters:
informalTopic
- string name
-
getCandidateGlossaryTermGUIDs
Return a list of unique identifiers of glossary terms that describe the meaning of the data.- Returns:
- list of guids
-
setCandidateGlossaryTermGUIDs
Set up a list of unique identifiers of glossary terms that describe the meaning of the data.- Parameters:
candidateGlossaryTermGUIDs
- list of guids
-
getCandidateGlossaryCategoryGUIDs
Return a list of unique identifiers of glossary categories that describe the topic of the data.- Returns:
- list of guids
-
setCandidateGlossaryCategoryGUIDs
Set up a list of unique identifiers of glossary categories that describe the topic of the data.- Parameters:
candidateGlossaryCategoryGUIDs
- 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
-