Class ResourcePhysicalStatusAnnotation
java.lang.Object
org.odpi.openmetadata.frameworks.surveyaction.properties.PropertyBase
org.odpi.openmetadata.frameworks.surveyaction.properties.Annotation
org.odpi.openmetadata.frameworks.surveyaction.properties.ResourceMeasureAnnotation
org.odpi.openmetadata.frameworks.surveyaction.properties.ResourcePhysicalStatusAnnotation
DataSourceMeasurementAnnotation describes properties that describe the physical characteristics of a data source.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.surveyaction.properties.PropertyBase
CURRENT_AUDIT_HEADER_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the date and time that the data source was created.Return the encoding of the data source.Return the last time that the resource was accessed.Return the time that the file was last modified.longgetSize()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.voidsetLastAccessedTime(Date lastAccessedTime) Set up the last time that the resource was accessed.voidsetModifiedTime(Date modifiedTime) Set up the time that the file was last modified.voidsetSize(long size) Set up the size in bytes of the data source.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.surveyaction.properties.ResourceMeasureAnnotation
getResourceProperties, setResourcePropertiesMethods 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, setSummaryMethods inherited from class org.odpi.openmetadata.frameworks.surveyaction.properties.PropertyBase
getElementHeader, getExtendedProperties, getHeaderVersion, getOpenMetadataTypeName, setElementHeader, setExtendedProperties, setHeaderVersion, setOpenMetadataTypeName
-
Constructor Details
-
ResourcePhysicalStatusAnnotation
public ResourcePhysicalStatusAnnotation()Default constructor -
ResourcePhysicalStatusAnnotation
Copy clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getCreateTime
Return the date and time that the data source was created.- Returns:
- date time
-
setCreateTime
Set up the date and time that the data source was created.- Parameters:
createTime- date time
-
getModifiedTime
Return the time that the file was last modified.- Returns:
- userId
-
setModifiedTime
Set up the time that the file was last modified.- Parameters:
modifiedTime- date time
-
getLastAccessedTime
Return the last time that the resource was accessed.- Returns:
- date time
-
setLastAccessedTime
Set up the last time that the resource was accessed.- Parameters:
lastAccessedTime- date time
-
getSize
public long getSize()Return the size in bytes of the data source.- Returns:
- int
-
setSize
public void setSize(long size) Set up the size in bytes of the data source.- Parameters:
size- int
-
getEncoding
Return the encoding of the data source.- Returns:
- encoding format description
-
setEncoding
Set up the encoding of the data source.- Parameters:
encoding- encoding format description
-
toString
Standard toString method.- Overrides:
toStringin classResourceMeasureAnnotation- 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:
equalsin classResourceMeasureAnnotation- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classResourceMeasureAnnotation- Returns:
- int hash code
-