org.jclouds.blobstore.domain.internal
Class MutableStorageMetadataImpl

java.lang.Object
  extended by org.jclouds.domain.internal.MutableResourceMetadataImpl<StorageType>
      extended by org.jclouds.blobstore.domain.internal.MutableStorageMetadataImpl
All Implemented Interfaces:
Serializable, Comparable<ResourceMetadata<StorageType>>, MutableStorageMetadata, StorageMetadata, MutableResourceMetadata<StorageType>, ResourceMetadata<StorageType>
Direct Known Subclasses:
MutableBlobMetadataImpl

public class MutableStorageMetadataImpl
extends MutableResourceMetadataImpl<StorageType>
implements MutableStorageMetadata, Serializable

Used to construct new resources or modify existing ones.

Author:
Adrian Cole
See Also:
Serialized Form

Constructor Summary
MutableStorageMetadataImpl()
           
MutableStorageMetadataImpl(StorageMetadata from)
           
 
Method Summary
 String getETag()
          The eTag value stored in the Etag header returned by HTTP.
 Date getLastModified()
          Last modification time of the resource
 void setETag(String eTag)
          
 void setLastModified(Date lastModified)
          
 
Methods inherited from class org.jclouds.domain.internal.MutableResourceMetadataImpl
compareTo, equals, getLocation, getName, getProviderId, getType, getUri, getUserMetadata, hashCode, setId, setLocation, setName, setType, setUri, setUserMetadata, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jclouds.domain.MutableResourceMetadata
setId, setLocation, setName, setType, setUri, setUserMetadata
 
Methods inherited from interface org.jclouds.blobstore.domain.StorageMetadata
getName, getProviderId, getType, getUri, getUserMetadata
 
Methods inherited from interface org.jclouds.domain.ResourceMetadata
getLocation
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

MutableStorageMetadataImpl

public MutableStorageMetadataImpl()

MutableStorageMetadataImpl

public MutableStorageMetadataImpl(StorageMetadata from)
Method Detail

getETag

public String getETag()
The eTag value stored in the Etag header returned by HTTP.

Specified by:
getETag in interface StorageMetadata
See Also:
org.jclouds.blobstore.attr.ContainerCapability#CONTAINER_ETAG, org.jclouds.blobstore.attr.ContainerCapability#BLOB_ETAG

getLastModified

public Date getLastModified()
Last modification time of the resource

Specified by:
getLastModified in interface StorageMetadata
See Also:
org.jclouds.blobstore.attr.ContainerCapability#CONTAINER_LAST_MODIFIED, org.jclouds.blobstore.attr.ContainerCapability#BLOB_LAST_MODIFIED, ContainerCapability.MILLISECOND_PRECISION

setLastModified

public void setLastModified(Date lastModified)

Specified by:
setLastModified in interface MutableStorageMetadata
See Also:
StorageMetadata.getLastModified()

setETag

public void setETag(String eTag)

Specified by:
setETag in interface MutableStorageMetadata
See Also:
StorageMetadata.getETag()


Copyright © 2009-2011 jclouds. All Rights Reserved.