public class HashJcloudsStorageMetadata extends Object implements VitamStorageMetadata
| Constructor and Description |
|---|
HashJcloudsStorageMetadata(Path path)
Constructor .
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(VitamResourceMetadata<StorageType> arg0) |
Date |
getCreationDate()
Creation date of the resource, possibly null.
|
String |
getETag()
The eTag value stored in the Etag header returned by HTTP.
|
Date |
getLastModified()
Last modification time of the resource
|
Location |
getLocation()
Physical location of the resource, or null if n/a
|
String |
getName()
Name of this resource.
|
String |
getProviderId()
Unique identifier of this resource within its enclosing namespace.
|
Long |
getSize()
Size of the resource, possibly null.
|
StorageType |
getType()
Whether this resource is a container, file, etc.
|
URI |
getUri()
URI used to access this resource
|
Map<String,String> |
getUserMetadata()
Any key-value pairs associated with the resource.
|
void |
setStatValues()
set statistics values
|
public HashJcloudsStorageMetadata(Path path)
path - public void setStatValues()
public Location getLocation()
VitamResourceMetadataex. us-west-1
getLocation in interface VitamResourceMetadata<StorageType>public int compareTo(VitamResourceMetadata<StorageType> arg0)
compareTo in interface Comparable<VitamResourceMetadata<StorageType>>public Date getCreationDate()
VitamStorageMetadatagetCreationDate in interface VitamStorageMetadatapublic String getETag()
VitamStorageMetadatagetETag in interface VitamStorageMetadatapublic Date getLastModified()
VitamStorageMetadatagetLastModified in interface VitamStorageMetadatapublic String getName()
VitamStorageMetadatagetName in interface VitamResourceMetadata<StorageType>getName in interface VitamStorageMetadatapublic String getProviderId()
VitamStorageMetadatagetProviderId in interface VitamResourceMetadata<StorageType>getProviderId in interface VitamStorageMetadatapublic Long getSize()
VitamStorageMetadatagetSize in interface VitamStorageMetadatapublic StorageType getType()
VitamStorageMetadatagetType in interface VitamResourceMetadata<StorageType>getType in interface VitamStorageMetadatapublic URI getUri()
VitamStorageMetadatagetUri in interface VitamResourceMetadata<StorageType>getUri in interface VitamStorageMetadatapublic Map<String,String> getUserMetadata()
VitamStorageMetadatagetUserMetadata in interface VitamResourceMetadata<StorageType>getUserMetadata in interface VitamStorageMetadataCopyright © 2021 Vitam. All rights reserved.