public class Client_DigiObjectInfo extends Object implements com.google.gwt.user.client.rpc.IsSerializable
Constructor and Description |
---|
Client_DigiObjectInfo() |
Client_DigiObjectInfo(String oid,
String name,
long length,
String mimetype,
String collectionID,
List<Client_StorageReference> availableMetadata,
List<Client_StorageReference> alternativeReprs,
List<Client_StorageReference> parts,
List<Client_StorageReference> annotations) |
Client_DigiObjectInfo(String oid,
String belongsToOid,
String name,
String collectionID,
long length,
String mimetype)
used to create simple DigiObjectInfo requested on demand
|
Modifier and Type | Method and Description |
---|---|
List<Client_StorageReference> |
getAlternativeReprs() |
List<Client_StorageReference> |
getAnnotations() |
List<Client_StorageReference> |
getAvailableMetadata() |
String |
getCollectionID() |
long |
getLenght() |
long |
getLength() |
String |
getMimetype() |
String |
getName() |
String |
getOid() |
List<Client_StorageReference> |
getParts() |
boolean |
hasAlternative() |
boolean |
hasAnnotation() |
boolean |
hasMetadata() |
boolean |
hasParts() |
void |
setAlternativeReprs(List<Client_StorageReference> alternativeReprs) |
void |
setAnnotations(List<Client_StorageReference> annotations) |
void |
setAvailableMetadata(List<Client_StorageReference> availableMetadata) |
void |
setCollectionID(String collectionID) |
void |
setLenght(long length) |
void |
setLength(long length) |
void |
setMimetype(String mimetype) |
void |
setName(String name) |
void |
setOid(String oid) |
void |
setParts(List<Client_StorageReference> parts) |
String |
toString()
printable versione of Digital Object
|
public Client_DigiObjectInfo()
public Client_DigiObjectInfo(String oid, String name, long length, String mimetype, String collectionID, List<Client_StorageReference> availableMetadata, List<Client_StorageReference> alternativeReprs, List<Client_StorageReference> parts, List<Client_StorageReference> annotations)
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 getOid()
public void setOid(String oid)
public String getCollectionID()
public void setCollectionID(String collectionID)
public List<Client_StorageReference> getAnnotations()
public void setAnnotations(List<Client_StorageReference> annotations)
public List<Client_StorageReference> getAvailableMetadata()
public void setAvailableMetadata(List<Client_StorageReference> availableMetadata)
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)
public String toString()
public List<Client_StorageReference> getAlternativeReprs()
public void setAlternativeReprs(List<Client_StorageReference> alternativeReprs)
public List<Client_StorageReference> getParts()
public void setParts(List<Client_StorageReference> parts)
public boolean hasMetadata()
public boolean hasAnnotation()
public boolean hasAlternative()
public boolean hasParts()
Copyright © 2014. All Rights Reserved.