org.jclouds.openstack.swift.domain.internal
Class ObjectInfoImpl
java.lang.Object
org.jclouds.openstack.swift.domain.internal.ObjectInfoImpl
- All Implemented Interfaces:
- Comparable<ObjectInfo>, ObjectInfo
public class ObjectInfoImpl
- extends Object
- implements ObjectInfo
ObjectInfoImpl
public ObjectInfoImpl(String name,
URI uri,
String container,
byte[] hash,
Long bytes,
String contentType,
Date lastModified)
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.