org.jclouds.blobstore.domain.internal
Class MutableBlobMetadataImpl

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

public class MutableBlobMetadataImpl
extends MutableStorageMetadataImpl
implements MutableBlobMetadata

System and user Metadata for the Blob.

Author:
Adrian Cole
See Also:
Serialized Form

Constructor Summary
MutableBlobMetadataImpl()
           
MutableBlobMetadataImpl(BlobMetadata from)
           
 
Method Summary
 String getContainer()
          
 MutableContentMetadata getContentMetadata()
          
 URI getPublicUri()
          If the blob is publicly readable, what is the URI one can access it at.
 void setContainer(String container)
          
 void setContentMetadata(MutableContentMetadata contentMetadata)
          
 void setPublicUri(URI publicUri)
          
 
Methods inherited from class org.jclouds.blobstore.domain.internal.MutableStorageMetadataImpl
getETag, getLastModified, setETag, setLastModified
 
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.blobstore.domain.MutableStorageMetadata
setETag, setLastModified
 
Methods inherited from interface org.jclouds.domain.MutableResourceMetadata
setId, setLocation, setName, setType, setUri, setUserMetadata
 
Methods inherited from interface org.jclouds.blobstore.domain.StorageMetadata
getETag, getLastModified, getName, getProviderId, getType, getUri, getUserMetadata
 
Methods inherited from interface org.jclouds.domain.ResourceMetadata
getLocation
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

MutableBlobMetadataImpl

public MutableBlobMetadataImpl()

MutableBlobMetadataImpl

public MutableBlobMetadataImpl(BlobMetadata from)
Method Detail

getContentMetadata

public MutableContentMetadata getContentMetadata()

Specified by:
getContentMetadata in interface BlobMetadata
Specified by:
getContentMetadata in interface MutableBlobMetadata

setContentMetadata

public void setContentMetadata(MutableContentMetadata contentMetadata)

Specified by:
setContentMetadata in interface MutableBlobMetadata
See Also:
BlobMetadata.getContentMetadata()

setPublicUri

public void setPublicUri(URI publicUri)

Specified by:
setPublicUri in interface MutableBlobMetadata
See Also:
BlobMetadata.getPublicUri()

getPublicUri

public URI getPublicUri()
If the blob is publicly readable, what is the URI one can access it at.

Specified by:
getPublicUri in interface BlobMetadata
Returns:
uri, or null, if not readable

getContainer

public String getContainer()

Specified by:
getContainer in interface BlobMetadata
Returns:
the container holding this blob

setContainer

public void setContainer(String container)

Specified by:
setContainer in interface MutableBlobMetadata
See Also:
BlobMetadata.getContainer()


Copyright © 2009-2012 jclouds. All Rights Reserved.