Class FileProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetowner.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.assetowner.properties.AssetProperties
-
- org.odpi.openmetadata.accessservices.assetowner.properties.DataStoreProperties
-
- org.odpi.openmetadata.accessservices.assetowner.properties.FileProperties
-
- All Implemented Interfaces:
Serializable
public class FileProperties extends DataStoreProperties
FileProperties describes the property of a single data file.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileProperties()Default constructorFileProperties(FileProperties 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.assetowner.properties.DataStoreProperties
getCreateTime, getEncodingDescription, getEncodingLanguage, getEncodingProperties, getEncodingType, getModifiedTime, getPathName, setCreateTime, setEncodingDescription, setEncodingLanguage, setEncodingProperties, setEncodingType, setModifiedTime, setPathName
-
Methods inherited from class org.odpi.openmetadata.accessservices.assetowner.properties.AssetProperties
getDescription, getDisplayName, getName, getOriginBusinessCapabilityGUID, getOriginOrganizationGUID, getOtherOriginValues, getOwner, getOwnerPropertyName, getOwnerType, getOwnerTypeName, getVersionIdentifier, getZoneMembership, setDescription, setDisplayName, setName, setOriginBusinessCapabilityGUID, setOriginOrganizationGUID, setOtherOriginValues, setOwner, setOwnerPropertyName, setOwnerType, setOwnerTypeName, setVersionIdentifier, setZoneMembership
-
Methods inherited from class org.odpi.openmetadata.accessservices.assetowner.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName
-
-
-
-
Constructor Detail
-
FileProperties
public FileProperties()
Default constructor
-
FileProperties
public FileProperties(FileProperties 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
-
-