Class DataClassAnnotation
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.DataClassAnnotation
DataClassAnnotation recommends a data class that potentially matches this data field.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.surveyaction.properties.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault constructorDataClassAnnotation
(DataClassAnnotation template) Copy clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the identifiers of data classes that seem to match the values in this data field.long
Return the count of matching values that match the specification of these data classes.long
Return the count of values that do not match the specification of these data classes.int
hashCode()
Create a hash code for this element type.void
setCandidateDataClassGUIDs
(List<String> candidateDataClassGUIDs) Set up the identifiers of data classes that seem to match the values in this data field.void
setMatchingValues
(long matchingValues) Set up the count of matching values that match the specification of these data classes.void
setNonMatchingValues
(long nonMatchingValues) Set up the count of values that do not match the specification of these data classes.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
-
DataClassAnnotation
public DataClassAnnotation()Default constructor -
DataClassAnnotation
Copy clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getCandidateDataClassGUIDs
Return the identifiers of data classes that seem to match the values in this data field.- Returns:
- list of unique identifiers for data classes
-
setCandidateDataClassGUIDs
Set up the identifiers of data classes that seem to match the values in this data field.- Parameters:
candidateDataClassGUIDs
- list of guids
-
getMatchingValues
public long getMatchingValues()Return the count of matching values that match the specification of these data classes.- Returns:
- long
-
setMatchingValues
public void setMatchingValues(long matchingValues) Set up the count of matching values that match the specification of these data classes.- Parameters:
matchingValues
- long
-
getNonMatchingValues
public long getNonMatchingValues()Return the count of values that do not match the specification of these data classes.- Returns:
- long
-
setNonMatchingValues
public void setNonMatchingValues(long nonMatchingValues) Set up the count of values that do not match the specification of these data classes.- Parameters:
nonMatchingValues
- long
-
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
-