|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.aims.mtier.model.metadata.DatasetCollection
public class DatasetCollection
Represents a collection of metadata documents.
Constructor Summary | |
---|---|
DatasetCollection()
Constructs an instance of the DataSetCollection object. |
Method Summary | |
---|---|
boolean |
addDataset(Dataset dataSet)
Adds the given Dataset object to the collection. |
int |
getNumResults()
Returns the number of results in this collecion |
int |
getStartResult()
Returns the start result index. |
int |
getTotal()
Returns the total number of results for a given query. |
Dataset |
item(int i)
Returns the Dataset at given index in the collection. |
boolean |
removeDataset(Dataset dataSet)
Removes the specified Dataset object from the collection. |
void |
setNumResults(int numResults)
Sets the number of results in this collecion. |
void |
setStartResult(int startResult)
Sets the start result index. |
void |
setTotal(int total)
Sets the total number of results for a given query. |
int |
size()
Returns the size of this Dataset collection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatasetCollection()
Method Detail |
---|
public boolean addDataset(Dataset dataSet)
dataSet
- the dataset to be addedpublic boolean removeDataset(Dataset dataSet)
dataSet
- the dataset to be removed.public int size()
public int getNumResults()
public void setNumResults(int numResults)
public int getStartResult()
public void setStartResult(int startResult)
public int getTotal()
public void setTotal(int total)
public Dataset item(int i)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |