Interface VitamStorageMetadata
-
- All Superinterfaces:
java.lang.Comparable<VitamResourceMetadata<StorageType>>,VitamResourceMetadata<StorageType>
public interface VitamStorageMetadata extends VitamResourceMetadata<StorageType>
VitamStorageMetadata interface describing storage metadata
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.DategetCreationDate()Creation date of the resource, possibly null.java.lang.StringgetETag()The eTag value stored in the Etag header returned by HTTP.java.util.DategetLastModified()Last modification time of the resourcejava.lang.StringgetName()Name of this resource.java.lang.StringgetProviderId()Unique identifier of this resource within its enclosing namespace.java.lang.LonggetSize()Size of the resource, possibly null.StorageTypegetType()Whether this resource is a container, file, etc.java.net.URIgetUri()URI used to access this resourcejava.util.Map<java.lang.String,java.lang.String>getUserMetadata()Any key-value pairs associated with the resource.-
Methods inherited from interface fr.gouv.vitam.common.storage.cas.container.api.VitamResourceMetadata
getLocation
-
-
-
-
Method Detail
-
getType
StorageType getType()
Whether this resource is a container, file, etc.- Specified by:
getTypein interfaceVitamResourceMetadata<StorageType>
-
getProviderId
java.lang.String getProviderId()
Unique identifier of this resource within its enclosing namespace. In some scenarios, this id is not user assignable. For files, this may be an system generated key, or the full path to the resource. ex. /path/to/file.txt- Specified by:
getProviderIdin interfaceVitamResourceMetadata<StorageType>
-
getName
java.lang.String getName()
Name of this resource. Names are dictated by the user. For files, this may be the filename, ex. file.txt- Specified by:
getNamein interfaceVitamResourceMetadata<StorageType>
-
getUri
java.net.URI getUri()
URI used to access this resource- Specified by:
getUriin interfaceVitamResourceMetadata<StorageType>
-
getUserMetadata
java.util.Map<java.lang.String,java.lang.String> getUserMetadata()
Any key-value pairs associated with the resource.- Specified by:
getUserMetadatain interfaceVitamResourceMetadata<StorageType>
-
getETag
java.lang.String getETag()
The eTag value stored in the Etag header returned by HTTP.
-
getCreationDate
java.util.Date getCreationDate()
Creation date of the resource, possibly null.
-
getLastModified
java.util.Date getLastModified()
Last modification time of the resource
-
getSize
java.lang.Long getSize()
Size of the resource, possibly null.
-
-