org.gcube.portlets.user.results.client.model
public class Client_DigiObjectInfo extends Object implements Serializable
| Constructor and Description |
|---|
Client_DigiObjectInfo() |
Client_DigiObjectInfo(String uri,
String name,
long length,
String mimetype,
String collectionID) |
Client_DigiObjectInfo(String uri,
String belongsToOid,
String name,
String collectionID,
long length,
String mimetype)
used to create simple DigiObjectInfo requested on demand
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCollectionID() |
long |
getLenght() |
long |
getLength() |
String |
getMimetype() |
String |
getName() |
String |
getURI() |
void |
setCollectionID(String collectionID) |
void |
setLenght(long length) |
void |
setLength(long length) |
void |
setMimetype(String mimetype) |
void |
setName(String name) |
void |
setObjectURI(String uri) |
String |
toString()
printable version of Digital Object
|
public Client_DigiObjectInfo()
public Client_DigiObjectInfo(String uri, String name, long length, String mimetype, String collectionID)
oid - object idbelongsToOid - The oid of the oid to which this Digital Object belongs to,
if is a main object is its collectionID
if is an alternative representation, a metadata and so on it is it's sourcename - object's name, titlelength - object's length (in bytes)mimetype - its mymetipecollectionID - colidrank - its rankannotationsNo - amount of available annotationsavailableMetadata - available metadatapublic String getURI()
public void setObjectURI(String uri)
public String getCollectionID()
public void setCollectionID(String collectionID)
public long getLenght()
public void setLenght(long length)
public String getMimetype()
public void setMimetype(String mimetype)
public String getName()
public void setName(String name)
public long getLength()
public void setLength(long length)
Copyright © 2013. All Rights Reserved.