org.jclouds.openstack.swift.domain.internal
Class MutableObjectInfoWithMetadataImpl

java.lang.Object
  extended by org.jclouds.openstack.swift.domain.internal.MutableObjectInfoWithMetadataImpl
All Implemented Interfaces:
Comparable<ObjectInfo>, MutableObjectInfoWithMetadata, ObjectInfo

public class MutableObjectInfoWithMetadataImpl
extends Object
implements MutableObjectInfoWithMetadata

Author:
Adrian Cole

Constructor Summary
MutableObjectInfoWithMetadataImpl()
           
 
Method Summary
 int compareTo(ObjectInfo o)
          
 boolean equals(Object obj)
           
 Long getBytes()
          
 String getContainer()
          
 String getContentType()
          
 byte[] getHash()
          
 Date getLastModified()
          
 Map<String,String> getMetadata()
          
 String getName()
          
 URI getUri()
           
 int hashCode()
           
 void setBytes(Long bytes)
          
 void setContainer(String container)
          
 void setContentType(String contentType)
          
 void setHash(byte[] hash)
          
 void setLastModified(Date lastModified)
          
 void setName(String name)
          
 void setUri(URI uri)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MutableObjectInfoWithMetadataImpl

public MutableObjectInfoWithMetadataImpl()
Method Detail

getMetadata

public Map<String,String> getMetadata()

Specified by:
getMetadata in interface MutableObjectInfoWithMetadata

setBytes

public void setBytes(Long bytes)

Specified by:
setBytes in interface MutableObjectInfoWithMetadata

setContentType

public void setContentType(String contentType)

Specified by:
setContentType in interface MutableObjectInfoWithMetadata

setHash

public void setHash(byte[] hash)

Specified by:
setHash in interface MutableObjectInfoWithMetadata

setName

public void setName(String name)

Specified by:
setName in interface MutableObjectInfoWithMetadata

getBytes

public Long getBytes()

Specified by:
getBytes in interface ObjectInfo

getContentType

public String getContentType()

Specified by:
getContentType in interface ObjectInfo

getHash

public byte[] getHash()

Specified by:
getHash in interface ObjectInfo

getLastModified

public Date getLastModified()

Specified by:
getLastModified in interface ObjectInfo

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

getName

public String getName()

Specified by:
getName in interface ObjectInfo

compareTo

public int compareTo(ObjectInfo o)

Specified by:
compareTo in interface Comparable<ObjectInfo>

setLastModified

public void setLastModified(Date lastModified)

Specified by:
setLastModified in interface MutableObjectInfoWithMetadata

getContainer

public String getContainer()

Specified by:
getContainer in interface ObjectInfo

setContainer

public void setContainer(String container)

Specified by:
setContainer in interface MutableObjectInfoWithMetadata

setUri

public void setUri(URI uri)
Specified by:
setUri in interface MutableObjectInfoWithMetadata

getUri

public URI getUri()
Specified by:
getUri in interface ObjectInfo

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.