org.gcube.portlets.user.results.client.model
Class Client_DigiObjectInfo

java.lang.Object
  extended by 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

Constructor Summary
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
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Client_DigiObjectInfo

public Client_DigiObjectInfo()

Client_DigiObjectInfo

public Client_DigiObjectInfo(String uri,
                             String name,
                             long length,
                             String mimetype,
                             String collectionID)
Parameters:
oid - object id
belongsToOid - 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 source
name - object's name, title
length - object's length (in bytes)
mimetype - its mymetipe
collectionID - colid
rank - its rank
annotationsNo - amount of available annotations
availableMetadata - 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 -
Method Detail

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.