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
public class DataFileProperties extends DataStoreProperties
DataFileProperties describes the property of a single data file.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataFileProperties()Default constructorDataFileProperties(DataFileProperties template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.StringgetFileType()Return the file type of the file if known.inthashCode()Return hash code for this objectvoidsetFileType(String fileType)Set up the file type of the file if known.StringtoString()JSON-style toString-
Methods 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, setDescription, setDisplayName
-
Methods inherited from class org.odpi.openmetadata.accessservices.datamanager.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
-
-
-
Constructor Detail
-
DataFileProperties
public DataFileProperties()
Default constructor
-
DataFileProperties
public DataFileProperties(DataFileProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getFileType
public String getFileType()
Return the file type of the file if known.- Returns:
- file type string
-
setFileType
public void setFileType(String fileType)
Set up the file type of the file if known.- Parameters:
fileType- string
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classDataStoreProperties- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
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
-
-