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

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

public class ObjectInfoImpl
extends Object
implements ObjectInfo


Nested Class Summary
static class ObjectInfoImpl.Builder
           
 
Constructor Summary
ObjectInfoImpl(String name, URI uri, String container, byte[] hash, Long bytes, String contentType, Date lastModified)
           
 
Method Summary
static ObjectInfoImpl.Builder builder()
           
 int compareTo(ObjectInfo o)
           
 boolean equals(Object obj)
           
 Long getBytes()
          
 String getContainer()
          
 String getContentType()
          
 byte[] getHash()
          
 Date getLastModified()
          
 String getName()
          
 URI getUri()
          
 int hashCode()
           
 ObjectInfoImpl.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectInfoImpl

public ObjectInfoImpl(String name,
                      URI uri,
                      String container,
                      byte[] hash,
                      Long bytes,
                      String contentType,
                      Date lastModified)
Method Detail

builder

public static ObjectInfoImpl.Builder builder()

getName

public String getName()

Specified by:
getName in interface ObjectInfo

getContainer

public String getContainer()

Specified by:
getContainer in interface ObjectInfo

getUri

public URI getUri()

Specified by:
getUri in interface ObjectInfo

getHash

public byte[] getHash()

Specified by:
getHash in interface ObjectInfo

getBytes

public Long getBytes()

Specified by:
getBytes in interface ObjectInfo

getContentType

public String getContentType()

Specified by:
getContentType 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

toString

public String toString()
Overrides:
toString in class Object

toBuilder

public ObjectInfoImpl.Builder toBuilder()

compareTo

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


Copyright © 2009-2011 jclouds. All Rights Reserved.