public class CollectionInfo extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
creationDate |
protected String |
description |
protected String |
id |
protected boolean |
isCollectionGroup |
protected Vector<String> |
languages |
protected Vector<String> |
metadataIDs |
protected String |
name |
protected String |
queryTemplate |
protected String |
recno |
protected String |
reference |
protected Vector<String> |
schemata |
| Constructor and Description |
|---|
CollectionInfo()
Constructor of the class
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCreationDate() |
String |
getDescription() |
String |
getId() |
int |
getIndexOfSchema(String schema) |
String |
getLanguage(int i) |
String |
getMetadataID(int i) |
int |
getMetadataSize() |
String |
getName() |
String |
getQueryTemplate() |
String |
getRecno() |
String |
getReference() |
String |
getSchema(int i) |
boolean |
hasSchema(String schema) |
boolean |
isCollectionGroup() |
void |
setCollectionGroup(boolean isGroup) |
void |
setCreationDate(String date) |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setMetadataCollection(String schema,
String metaID,
String language) |
void |
setName(String name) |
void |
setQueryTemplate(String qt) |
void |
setRecno(String recnum) |
void |
setReference(String reference) |
protected String id
protected String name
protected String description
protected String reference
protected String creationDate
protected String recno
protected boolean isCollectionGroup
protected String queryTemplate
public String getDescription()
public void setDescription(String description)
description - collection's descriptionpublic String getId()
public void setId(String id)
id - collection's IDpublic String getName()
public String getQueryTemplate()
public void setQueryTemplate(String qt)
public void setName(String name)
name - collection's namepublic boolean isCollectionGroup()
public void setCollectionGroup(boolean isGroup)
public String getSchema(int i)
i - the position of the metadata schemapublic String getMetadataID(int i)
i - the position of the metadata schemapublic String getLanguage(int i)
i - the position of the metadata schemapublic void setMetadataCollection(String schema, String metaID, String language)
schema - collection's schema name (e.g. dc, tei)metaID - the ID of the metadata collectionlanguage - metadata collection's languageindex - the indices that collection haspublic String getCreationDate()
public void setCreationDate(String date)
public String getRecno()
public void setRecno(String recnum)
public String getReference()
public void setReference(String reference)
reference - the reference to this collection (usually a url)public boolean hasSchema(String schema)
schema - metadata collection's schemapublic int getIndexOfSchema(String schema)
schema - metadata collection's schemapublic int getMetadataSize()
Copyright © 2015. All Rights Reserved.