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() |
String |
getObjectManifest() |
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 |
setObjectManifest(String objectManifest) |
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
public String getObjectManifest()
getObjectManifest
in interface MutableObjectInfoWithMetadata
public void setObjectManifest(String objectManifest)
setObjectManifest
in interface MutableObjectInfoWithMetadata
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.