|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Marker
An object obtained from the CAS
that is used to query when FSs were
created or modified with respect to the marker.
Method Summary | |
---|---|
boolean |
isModified(FeatureStructure fs)
Test if a FeatureStructure in a CAS represented by this Marker existed before the mark was set, and has been modified. |
boolean |
isNew(FeatureStructure fs)
|
boolean |
isValid()
A Marker becomes invalid when the CAS from which it was obtained
is reset. |
Method Detail |
---|
boolean isNew(FeatureStructure fs)
fs
-
FeatureStructure
was created after the mark represented by this Marker
object.boolean isModified(FeatureStructure fs)
Marker
existed before the mark was set, and has been modified.
isModified(fs) == true implies that isNew(fs) == false.
fs
-
FeatureStructure
that existed prior to the mark being set has been modifiedboolean isValid()
CAS
from which it was obtained
is reset.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |