Class DataFileProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.SupplementaryProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.AssetProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.DataAssetProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.DataStoreProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.filesandfolders.DataFileProperties
- Direct Known Subclasses:
DataFileRequestBody
DataFileProperties describes the property of a single data file.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.SupplementaryProperties
displayDescription, displayName
-
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 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.frameworks.openmetadata.properties.assets.DataStoreProperties
getCreateTime, getDeployedImplementationType, getEncodingDescription, getEncodingLanguage, getEncodingProperties, getEncodingType, getModifiedTime, getPathName, setCreateTime, setDeployedImplementationType, setEncodingDescription, setEncodingLanguage, setEncodingProperties, setEncodingType, setModifiedTime, setPathName
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.assets.DataAssetProperties
cloneToAsset
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.assets.AssetProperties
cloneToAsset, getDisplayDescription, getDisplayName, getName, getResourceDescription, getResourceName, getVersionIdentifier, setName, setResourceDescription, setResourceName, setVersionIdentifier
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.SupplementaryProperties
getAbbreviation, getDisplaySummary, getUsage, setAbbreviation, setDisplayDescription, setDisplayName, setDisplaySummary, setUsage
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
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
-