Class DataSourceMeasurementAnnotation
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.discovery.properties.PropertyBase
-
- org.odpi.openmetadata.frameworks.discovery.properties.Annotation
-
- org.odpi.openmetadata.frameworks.discovery.properties.DataSourceMeasurementAnnotation
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DataSourcePhysicalStatusAnnotation
public class DataSourceMeasurementAnnotation extends Annotation
DataSourceMeasurementAnnotation describes properties that describe the characteristics of the data source as a whole.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.discovery.properties.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description DataSourceMeasurementAnnotation()Default constructorDataSourceMeasurementAnnotation(DataSourceMeasurementAnnotation template)Copy clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.Map<String,String>getDataSourceProperties()Return the properties of the data source.inthashCode()Create a hash code for this element type.voidsetDataSourceProperties(Map<String,String> dataSourceProperties)Set up the properties of the data source.StringtoString()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, setSummary
-
Methods inherited from class org.odpi.openmetadata.frameworks.discovery.properties.PropertyBase
getElementHeader, getExtendedProperties, getHeaderVersion, getTypeName, setElementHeader, setExtendedProperties, setHeaderVersion, setTypeName
-
-
-
-
Constructor Detail
-
DataSourceMeasurementAnnotation
public DataSourceMeasurementAnnotation()
Default constructor
-
DataSourceMeasurementAnnotation
public DataSourceMeasurementAnnotation(DataSourceMeasurementAnnotation template)
Copy clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getDataSourceProperties
public Map<String,String> getDataSourceProperties()
Return the properties of the data source.- Returns:
- date time
-
setDataSourceProperties
public void setDataSourceProperties(Map<String,String> dataSourceProperties)
Set up the properties of the data source.- Parameters:
dataSourceProperties- date time
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classAnnotation- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
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
-
-