public class MutableObjectInfoWithMetadataImpl extends Object implements MutableObjectInfoWithMetadata
Constructor and Description |
---|
MutableObjectInfoWithMetadataImpl() |
Modifier and Type | Method and Description |
---|---|
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() |
public Map<String,String> getMetadata()
getMetadata
in interface MutableObjectInfoWithMetadata
public void setBytes(Long bytes)
setBytes
in interface MutableObjectInfoWithMetadata
public void setContentType(String contentType)
setContentType
in interface MutableObjectInfoWithMetadata
public void setHash(byte[] hash)
setHash
in interface MutableObjectInfoWithMetadata
public void setName(String name)
setName
in interface MutableObjectInfoWithMetadata
public Long getBytes()
getBytes
in interface ObjectInfo
public String getContentType()
getContentType
in interface ObjectInfo
public byte[] getHash()
getHash
in interface ObjectInfo
public Date getLastModified()
getLastModified
in interface ObjectInfo
public String getName()
getName
in interface ObjectInfo
public int compareTo(ObjectInfo o)
compareTo
in interface Comparable<ObjectInfo>
public void setLastModified(Date lastModified)
setLastModified
in interface MutableObjectInfoWithMetadata
public String getContainer()
getContainer
in interface ObjectInfo
public void setContainer(String container)
setContainer
in interface MutableObjectInfoWithMetadata
public void setUri(URI uri)
setUri
in interface MutableObjectInfoWithMetadata
public URI getUri()
getUri
in interface ObjectInfo
Copyright © 2009-2012 jclouds. All Rights Reserved.