public class CollectionBean extends Object implements com.google.gwt.user.client.rpc.IsSerializable, Comparable<CollectionBean>
| Constructor and Description |
|---|
CollectionBean()
Empty constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addIndex(IndexBean index)
Adds one index to the list of indices to be connected with this
collection
|
int |
compareTo(CollectionBean arg0) |
String |
getId()
A method to get the Collection ID
|
ArrayList<IndexBean> |
getIndices()
A method used to get a list of all the indices valid for this collection
|
boolean |
getIsReal()
A method indicating whether this collection actually exists
|
String |
getLanguage()
A method to get the Collection language
|
String |
getName()
A method to get the Collection Name
|
String |
getSchema()
A method to get the Collection schema
|
void |
setId(String id)
Assigns an ID to the collection
|
void |
setIndices(ArrayList<IndexBean> indices)
Sets which indices should be connected to the collection
|
void |
setIsReal(boolean isReal)
Marks the collection as existing or non-existing
|
void |
setLanguage(String language)
Assigns a language to the collection
|
void |
setName(String name)
Assigns a name to the collection
|
void |
setSchema(String schema)
Assigns a schema to the collection
|
void |
sort() |
public String getId()
public String getName()
public String getSchema()
public String getLanguage()
public boolean getIsReal()
public ArrayList<IndexBean> getIndices()
public void setId(String id)
id - -
the ID to assign to this collectionpublic void setName(String name)
name - -
the name to assign to this collectionpublic void setSchema(String schema)
schema - - the schema to assign to this collectionpublic void setLanguage(String language)
language - - the language to assign to this collectionpublic void setIsReal(boolean isReal)
isReal - -
an indicator of whether the collection exists or notpublic void setIndices(ArrayList<IndexBean> indices)
indices - -
the list of indices to be connected with this collectionpublic void addIndex(IndexBean index)
index - -
the index to be added to the list of indices connected with
this collectionpublic void sort()
public int compareTo(CollectionBean arg0)
compareTo in interface Comparable<CollectionBean>Copyright © 2014. All Rights Reserved.