Class DataSourcePhysicalStatusAnnotation
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.discovery.properties.PropertyBase
-
- org.odpi.openmetadata.frameworks.discovery.properties.Annotation
-
- org.odpi.openmetadata.frameworks.discovery.properties.DataSourceMeasurementAnnotation
-
- org.odpi.openmetadata.frameworks.discovery.properties.DataSourcePhysicalStatusAnnotation
-
- All Implemented Interfaces:
Serializable
public class DataSourcePhysicalStatusAnnotation extends DataSourceMeasurementAnnotation
DataSourceMeasurementAnnotation describes properties that describe the physical characteristics of a data source.- 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 DataSourcePhysicalStatusAnnotation()Default constructorDataSourcePhysicalStatusAnnotation(DataSourcePhysicalStatusAnnotation 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.DategetCreateTime()Return the date and time that the data source was created.StringgetEncoding()Return the encoding of the data source.DategetModifiedTime()Return the time that the file was last modified.intgetSize()Return the size in bytes of the data source.inthashCode()Create a hash code for this element type.voidsetCreateTime(Date createTime)Set up the date and time that the data source was created.voidsetEncoding(String encoding)Set up the encoding of the data source.voidsetModifiedTime(Date modifiedTime)Set up the time that the file was last modified.voidsetSize(int size)Set up the size in bytes of the data source.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.discovery.properties.DataSourceMeasurementAnnotation
getDataSourceProperties, setDataSourceProperties
-
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
-
DataSourcePhysicalStatusAnnotation
public DataSourcePhysicalStatusAnnotation()
Default constructor
-
DataSourcePhysicalStatusAnnotation
public DataSourcePhysicalStatusAnnotation(DataSourcePhysicalStatusAnnotation template)
Copy clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getCreateTime
public Date getCreateTime()
Return the date and time that the data source was created.- Returns:
- date time
-
setCreateTime
public void setCreateTime(Date createTime)
Set up the date and time that the data source was created.- Parameters:
createTime- date time
-
getModifiedTime
public Date getModifiedTime()
Return the time that the file was last modified.- Returns:
- userId
-
setModifiedTime
public void setModifiedTime(Date modifiedTime)
Set up the time that the file was last modified.- Parameters:
modifiedTime- date time
-
getSize
public int getSize()
Return the size in bytes of the data source.- Returns:
- int
-
setSize
public void setSize(int size)
Set up the size in bytes of the data source.- Parameters:
size- int
-
getEncoding
public String getEncoding()
Return the encoding of the data source.- Returns:
- encoding format description
-
setEncoding
public void setEncoding(String encoding)
Set up the encoding of the data source.- Parameters:
encoding- encoding format description
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classDataSourceMeasurementAnnotation- 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 classDataSourceMeasurementAnnotation- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Create a hash code for this element type.- Overrides:
hashCodein classDataSourceMeasurementAnnotation- Returns:
- int hash code
-
-