org.gcube.portlets.user.results.client.model
Class Client_DigiObjectInfo
java.lang.Object
org.gcube.portlets.user.results.client.model.Client_DigiObjectInfo
- All Implemented Interfaces:
- Serializable
public class Client_DigiObjectInfo
- extends Object
- implements Serializable
- Author:
- massi
- See Also:
- Serialized Form
Client_DigiObjectInfo
public Client_DigiObjectInfo()
Client_DigiObjectInfo
public Client_DigiObjectInfo(String uri,
String name,
long length,
String mimetype,
String collectionID)
- Parameters:
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 metadata
Client_DigiObjectInfo
public Client_DigiObjectInfo(String uri,
String belongsToOid,
String name,
String collectionID,
long length,
String mimetype)
- used to create simple DigiObjectInfo requested on demand
- Parameters:
oid - name - length - mimetype -
getURI
public String getURI()
setObjectURI
public void setObjectURI(String uri)
getCollectionID
public String getCollectionID()
setCollectionID
public void setCollectionID(String collectionID)
getLenght
public long getLenght()
setLenght
public void setLenght(long length)
getMimetype
public String getMimetype()
setMimetype
public void setMimetype(String mimetype)
getName
public String getName()
setName
public void setName(String name)
getLength
public long getLength()
setLength
public void setLength(long length)
toString
public String toString()
- printable version of Digital Object
- Overrides:
toString in class Object
Copyright © 2013. All Rights Reserved.