Class DataFileProperties
java.lang.Object
org.odpi.openmetadata.accessservices.datamanager.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.datamanager.properties.AssetProperties
org.odpi.openmetadata.accessservices.datamanager.properties.DataStoreProperties
org.odpi.openmetadata.accessservices.datamanager.properties.DataFileProperties
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DataFileRequestBody
DataFileProperties describes the property of a single data file.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorDataFileProperties
(DataFileProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the file type of the file if known.int
hashCode()
Return hash code for this objectvoid
setFileType
(String fileType) Set up the file type of the file if known.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.datamanager.properties.DataStoreProperties
getCreateTime, getEncodingDescription, getEncodingLanguage, getEncodingProperties, getEncodingType, getModifiedTime, getPathName, setCreateTime, setEncodingDescription, setEncodingLanguage, setEncodingProperties, setEncodingType, setModifiedTime, setPathName
Methods inherited from class org.odpi.openmetadata.accessservices.datamanager.properties.AssetProperties
getDescription, getDisplayName, getName, getVersionIdentifier, setDescription, setDisplayName, setName, setVersionIdentifier
Methods inherited from class org.odpi.openmetadata.accessservices.datamanager.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
Constructor Details
-
DataFileProperties
public DataFileProperties()Default constructor -
DataFileProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getFileType
Return the file type of the file if known.- Returns:
- file type string
-
setFileType
Set up the file type of the file if known.- Parameters:
fileType
- string
-
toString
JSON-style toString- Overrides:
toString
in classDataStoreProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classDataStoreProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classDataStoreProperties
- Returns:
- int hash code
-