Class SchemaAnalysisAnnotation
java.lang.Object
org.odpi.openmetadata.frameworks.surveyaction.properties.PropertyBase
org.odpi.openmetadata.frameworks.surveyaction.properties.Annotation
org.odpi.openmetadata.frameworks.surveyaction.properties.SchemaAnalysisAnnotation
SchemaAnalysisAnnotation is used to describe the results of reviewing the structure of the content of an asset.
This structure is expressed as what is called a schema.
-
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 name of the schema - this will be used in the creation of the schema object and reflects the content associated with the asset.Return the name of the schema type for this asset.int
hashCode()
Create a hash code for this element type.void
setSchemaName
(String schemaName) Set up the name of the schema - this will be used in the creation of the schema object and reflects the content associated with the asset.void
setSchemaTypeName
(String schemaTypeName) Set up the name of the schema type for this asset.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
-
SchemaAnalysisAnnotation
public SchemaAnalysisAnnotation()Default constructor -
SchemaAnalysisAnnotation
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getSchemaName
Return the name of the schema - this will be used in the creation of the schema object and reflects the content associated with the asset. The schema that is created/validated is unique to the asset.- Returns:
- name of schema
-
setSchemaName
Set up the name of the schema - this will be used in the creation of the schema object and reflects the content associated with the asset. The schema that is created/validated is unique to the asset.- Parameters:
schemaName
- name of schema
-
getSchemaTypeName
Return the name of the schema type for this asset.- Returns:
- name
-
setSchemaTypeName
Set up the name of the schema type for this asset.- Parameters:
schemaTypeName
- name
-
toString
Standard toString method.- Overrides:
toString
in classAnnotation
- 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
-