|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.nist.nlpir.irf.modality.IndexingModalities
A collection of Indexing Modality Units
IndexingModalityUnit
,
Document
, Serialized FormField Summary | |
private java.util.Vector |
modalitylist
Vector of IndexingModalityUnits |
(package private) static long |
serialVersionUID
serial version universal id - put here so Java does not insert one which may change due to revisions and make it impossible to deserialize earlier versions of serialized objects |
Constructor Summary | |
IndexingModalities()
Constructs a new modalities container |
Method Summary | |
void |
addModality(IndexingModalityUnit imu)
Adds a modality |
java.util.Vector |
getModalities()
Returns vector of indexing modality units. |
IndexingModalityUnit |
getModalityAt(int index)
Gets modality unit at a given index (0-based) |
int |
getModalityCount()
Gets the count of modalities |
void |
present()
Displays indexing modalities |
void |
removeModalityAt(int index)
Removes modality unit at given index (0-based) |
void |
save()
Saves each IMU |
boolean |
validate(DocumentIntrf r)
Validates settings w.r.t. |
Methods inherited from class java.lang.Object |
|
Field Detail |
static final long serialVersionUID
private java.util.Vector modalitylist
Constructor Detail |
public IndexingModalities()
Method Detail |
public final void addModality(IndexingModalityUnit imu)
imu
- indexing modality unitpublic final int getModalityCount()
public final IndexingModalityUnit getModalityAt(int index)
index
- index of IMU to returnpublic final void removeModalityAt(int index)
index
- index of IMU to removepublic final java.util.Vector getModalities()
public void present()
public boolean validate(DocumentIntrf r)
r
- document to validate againstpublic void save()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |