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
DataFileProperties describes the property of a single data file.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorDataFileProperties(DataFileProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn 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.inthashCode()Return hash code for this objectvoidsetFileExtension(String fileExtension) Set up the file extension, if any.voidsetFileName(String fileName) Set up the name of the file (do not want to rely on Name).voidsetFileType(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, setPathNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.assets.DataAssetProperties
cloneToAssetMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.assets.AssetProperties
cloneToAsset, getDisplayDescription, getDisplayName, getName, getResourceDescription, getResourceName, getVersionIdentifier, setName, setResourceDescription, setResourceName, setVersionIdentifierMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.SupplementaryProperties
getAbbreviation, getDisplaySummary, getUsage, setAbbreviation, setDisplayDescription, setDisplayName, setDisplaySummary, setUsageMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorPropertiesMethods 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:
toStringin classDataStoreProperties- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classDataStoreProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classDataStoreProperties- Returns:
- int hash code
-