org.jclouds.azureblob.domain.internal
Class MutableBlobPropertiesImpl

java.lang.Object
  extended by org.jclouds.azureblob.domain.internal.MutableBlobPropertiesImpl
All Implemented Interfaces:
Serializable, Comparable<BlobProperties>, BlobProperties, MutableBlobProperties

public class MutableBlobPropertiesImpl
extends Object
implements Serializable, MutableBlobProperties

Allows you to manipulate metadata.

Author:
Adrian Cole
See Also:
Serialized Form

Constructor Summary
MutableBlobPropertiesImpl()
           
MutableBlobPropertiesImpl(BlobProperties from)
           
 
Method Summary
 int compareTo(BlobProperties o)
          
 boolean equals(Object obj)
           
 String getContainer()
          
 MutableContentMetadata getContentMetadata()
          
 String getETag()
          
 Date getLastModified()
          
 LeaseStatus getLeaseStatus()
          
 Map<String,String> getMetadata()
          
 String getName()
          
 BlobType getType()
          
 URI getUrl()
           
 int hashCode()
           
 void setContainer(String container)
          
 void setContentMetadata(MutableContentMetadata contentMetadata)
          
 void setETag(String eTag)
          
 void setLastModified(Date lastModified)
          
 void setMetadata(Map<String,String> metadata)
          
 void setName(String name)
          
 void setType(BlobType type)
          
 void setUrl(URI url)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MutableBlobPropertiesImpl

public MutableBlobPropertiesImpl()

MutableBlobPropertiesImpl

public MutableBlobPropertiesImpl(BlobProperties from)
Method Detail

getType

public BlobType getType()

Specified by:
getType in interface BlobProperties

setType

public void setType(BlobType type)


getName

public String getName()

Specified by:
getName in interface BlobProperties

getLastModified

public Date getLastModified()

Specified by:
getLastModified in interface BlobProperties

getETag

public String getETag()

Specified by:
getETag in interface BlobProperties

compareTo

public int compareTo(BlobProperties o)

Specified by:
compareTo in interface Comparable<BlobProperties>

getMetadata

public Map<String,String> getMetadata()

Specified by:
getMetadata in interface BlobProperties

getLeaseStatus

public LeaseStatus getLeaseStatus()

Specified by:
getLeaseStatus in interface BlobProperties

setETag

public void setETag(String eTag)

Specified by:
setETag in interface MutableBlobProperties
See Also:
ListableContainerProperties#getETag

setName

public void setName(String name)

Specified by:
setName in interface MutableBlobProperties
See Also:
ListableContainerProperties#getName

setLastModified

public void setLastModified(Date lastModified)

Specified by:
setLastModified in interface MutableBlobProperties
See Also:
ListableContainerProperties#getLastModified

setMetadata

public void setMetadata(Map<String,String> metadata)

Specified by:
setMetadata in interface MutableBlobProperties
See Also:
ListableContainerProperties#getMetadata

setUrl

public void setUrl(URI url)
Specified by:
setUrl in interface MutableBlobProperties
See Also:
ListableContainerProperties#getUrl

getUrl

public URI getUrl()
Specified by:
getUrl in interface BlobProperties

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

getContentMetadata

public MutableContentMetadata getContentMetadata()

Specified by:
getContentMetadata in interface BlobProperties
Specified by:
getContentMetadata in interface MutableBlobProperties

setContentMetadata

public void setContentMetadata(MutableContentMetadata contentMetadata)

Specified by:
setContentMetadata in interface MutableBlobProperties

getContainer

public String getContainer()

Specified by:
getContainer in interface BlobProperties

setContainer

public void setContainer(String container)

Specified by:
setContainer in interface MutableBlobProperties
See Also:
ListableContainerProperties#getContainer


Copyright © 2009-2011 jclouds. All Rights Reserved.