Package org.apache.uima.cas.impl
Class FSsTobeAddedback.FSsTobeAddedbackMultiple
- java.lang.Object
-
- org.apache.uima.cas.impl.FSsTobeAddedback
-
- org.apache.uima.cas.impl.FSsTobeAddedback.FSsTobeAddedbackMultiple
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,AutoCloseableNoException
- Enclosing class:
- FSsTobeAddedback
static class FSsTobeAddedback.FSsTobeAddedbackMultiple extends FSsTobeAddedback
Version of this class used for protect blocks - where multiple FSs may be removed. - records the fs along with the list of views where it was removed.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.uima.cas.impl.FSsTobeAddedback
FSsTobeAddedback.FSsTobeAddedbackMultiple, FSsTobeAddedback.FSsTobeAddedbackSingle
-
-
Field Summary
Fields Modifier and Type Field Description (package private) CASImpl
cas
An arbitrary cas view or base cas(package private) java.util.Map<TOP,java.util.List<?>>
fss2views
For each FS, the list of views where it was removed.-
Fields inherited from class org.apache.uima.cas.impl.FSsTobeAddedback
removes, SHOW
-
-
Constructor Summary
Constructors Constructor Description FSsTobeAddedbackMultiple(CASImpl cas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
addback()
add back all the FSs that were removed in a protect block -- for "Multiple" subclass(package private) void
clear()
(package private) void
recordRemove(TOP fs, FSIndexRepositoryImpl view)
-
Methods inherited from class org.apache.uima.cas.impl.FSsTobeAddedback
addback, close, createMultiple, createSingle, log, log, log, log, logPart, recordRemove, recordRemove, recordRemove
-
-
-
-
Constructor Detail
-
FSsTobeAddedbackMultiple
FSsTobeAddedbackMultiple(CASImpl cas)
-
-
Method Detail
-
recordRemove
void recordRemove(TOP fs, FSIndexRepositoryImpl view)
- Overrides:
recordRemove
in classFSsTobeAddedback
-
addback
void addback()
Description copied from class:FSsTobeAddedback
add back all the FSs that were removed in a protect block -- for "Multiple" subclass- Overrides:
addback
in classFSsTobeAddedback
-
clear
void clear()
- Specified by:
clear
in classFSsTobeAddedback
-
-