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
- Direct Known Subclasses:
DataFileRequestBody
DataFileProperties describes the property of a single data file.
-
Constructor Summary
ConstructorDescriptionDefault constructorDataFileProperties
(DataFileProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the file extension, if any.Return the name of the file (do not want to rely on Name).Return the file type of the file if known.int
hashCode()
Return hash code for this objectvoid
setFileExtension
(String fileExtension) Set up the file extension, if any.void
setFileName
(String fileName) Set up the name of the file (do not want to rely on Name).void
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
getDeployedImplementationType, getDescription, getName, getVersionIdentifier, setDeployedImplementationType, setDescription, 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
-
getFileName
Return the name of the file (do not want to rely on Name).- Returns:
- string
-
setFileName
Set up the name of the file (do not want to rely on Name).- Parameters:
fileName
- string
-
getFileExtension
Return the file extension, if any.- Returns:
- string
-
setFileExtension
Set up the file extension, if any.- Parameters:
fileExtension
- 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
-