Class FileProperties
java.lang.Object
org.odpi.openmetadata.accessservices.assetowner.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.assetowner.properties.SupplementaryProperties
org.odpi.openmetadata.accessservices.assetowner.properties.AssetProperties
org.odpi.openmetadata.accessservices.assetowner.properties.DataStoreProperties
org.odpi.openmetadata.accessservices.assetowner.properties.FileProperties
FileProperties describes the property of a single data file.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorFileProperties
(FileProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the file type of the file if known.int
hashCode()
Return hash code for this objectvoid
setFileType
(String fileType) Set up the file type of the file if known.toString()
JSON-style toStringMethods 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, getName, getOriginBusinessCapabilityGUID, getOriginOrganizationGUID, getOtherOriginValues, getOwner, getOwnerPropertyName, getOwnerType, getOwnerTypeName, getVersionIdentifier, getZoneMembership, setDescription, setName, setOriginBusinessCapabilityGUID, setOriginOrganizationGUID, setOtherOriginValues, setOwner, setOwnerPropertyName, setOwnerType, setOwnerTypeName, setVersionIdentifier, setZoneMembership
Methods inherited from class org.odpi.openmetadata.accessservices.assetowner.properties.SupplementaryProperties
getAbbreviation, getDisplayDescription, getDisplayName, getDisplaySummary, getUsage, setAbbreviation, setDisplayDescription, setDisplayName, setDisplaySummary, setUsage
Methods inherited from class org.odpi.openmetadata.accessservices.assetowner.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName
-
Constructor Details
-
FileProperties
public FileProperties()Default constructor -
FileProperties
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
-
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
-