org.jclouds.openstack.swift.domain
Class ContainerMetadata

java.lang.Object
  extended by org.jclouds.openstack.swift.domain.ContainerMetadata
All Implemented Interfaces:
Comparable<ContainerMetadata>

public class ContainerMetadata
extends Object
implements Comparable<ContainerMetadata>

Author:
Adrian Cole

Constructor Summary
ContainerMetadata()
           
ContainerMetadata(String name, long count, long bytes)
           
 
Method Summary
 int compareTo(ContainerMetadata o)
           
 boolean equals(Object obj)
           
 long getBytes()
           
 long getCount()
           
 String getName()
           
 int hashCode()
           
 void setBytes(long bytes)
           
 void setCount(long count)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerMetadata

public ContainerMetadata()

ContainerMetadata

public ContainerMetadata(String name,
                         long count,
                         long bytes)
Method Detail

getCount

public long getCount()

setCount

public void setCount(long count)

setName

public void setName(String name)

getName

public String getName()

setBytes

public void setBytes(long bytes)

getBytes

public long getBytes()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

compareTo

public int compareTo(ContainerMetadata o)
Specified by:
compareTo in interface Comparable<ContainerMetadata>


Copyright © 2009-2011 jclouds. All Rights Reserved.