Class DataFileProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.EntityProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
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:
ArchiveFileProperties,AvroFileProperties,BuildInstructionFileProperties,CSVFileProperties,ExecutableFileProperties,JSONFileProperties,KeyStoreFileProperties,LogFileProperties,MediaFileProperties,ParquetFileProperties,PropertiesFileProperties,ScriptFileProperties,SourceCodeFileProperties,SpreadsheetFileProperties,XMLFileProperties
DataFileProperties describes the property of a single data file.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
typeName -
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
getPathName, getStoreCreateTime, getStoreUpdateTime, setPathName, setStoreCreateTime, setStoreUpdateTimeMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.assets.DataAssetProperties
getAuthors, getContentStatus, getUserDefinedContentStatus, setAuthors, setContentStatus, setUserDefinedContentStatusMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.assets.AssetProperties
getDeployedImplementationType, getNamespace, getResourceName, getSource, setDeployedImplementationType, setNamespace, setResourceName, setSourceMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getCategory, getDescription, getDisplayName, getIdentifier, getQualifiedName, getURL, getVersionIdentifier, setAdditionalProperties, setCategory, setDescription, setDisplayName, setIdentifier, setQualifiedName, setURL, setVersionIdentifierMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getExtendedProperties, getTypeName, setExtendedProperties, setTypeNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.EntityProperties
getEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveTo
-
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
-