org.jclouds.openstack.swift.domain.internal
Class MutableObjectInfoWithMetadataImpl
java.lang.Object
org.jclouds.openstack.swift.domain.internal.MutableObjectInfoWithMetadataImpl
- All Implemented Interfaces:
- Comparable<ObjectInfo>, MutableObjectInfoWithMetadata, ObjectInfo
public class MutableObjectInfoWithMetadataImpl
- extends Object
- implements MutableObjectInfoWithMetadata
- Author:
- Adrian Cole
MutableObjectInfoWithMetadataImpl
public MutableObjectInfoWithMetadataImpl()
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.