The sequence is given by the order in which addNode
was called.
Public Types | |
enum | EnFlowType { FIXED, CAPABILITYLANGUAGE } |
Public Member Functions | |
FixedFlow () | |
EnFlowType const & | getFlowConstraintsType () |
node must uniquely identify an annotator. | |
TyErrorId | addNode (const icu::UnicodeString &node) |
node must uniquely identify an annotator. | |
std::vector < icu::UnicodeString > const & | getNodes () const |
bool | isModifiable () const |
virtual void | commit () |
When this method is called on a MetaDataObject# that must not be reconfigured after the engine is created, isModifiable()# will return false and all subsequent calls to setter methods will return UIMA_ERR_CONFIG_OBJECT_COMMITED#. | |
Protected Attributes | |
bool | iv_bIsModifiable |
enum uima::FlowConstraints::EnFlowType [inherited] |
uima::FixedFlow::FixedFlow | ( | ) | [inline] |
EnFlowType const& uima::FixedFlow::getFlowConstraintsType | ( | ) | [inline, virtual] |
TyErrorId uima::FixedFlow::addNode | ( | const icu::UnicodeString & | node | ) | [inline, virtual] |
node
must uniquely identify an annotator.
Implements uima::FlowConstraints.
References UIMA_ERR_CONFIG_OBJECT_COMITTED, and UIMA_ERR_NONE.
std::vector< icu::UnicodeString > const& uima::FixedFlow::getNodes | ( | ) | const [inline, virtual] |
Implements uima::FlowConstraints.
bool uima::MetaDataObject::isModifiable | ( | ) | const [inline, inherited] |
virtual void uima::MetaDataObject::commit | ( | ) | [inline, virtual, inherited] |
When this method is called on a MetaDataObject# that must not be reconfigured after the engine is created, isModifiable()# will return false and all subsequent calls to setter methods will return UIMA_ERR_CONFIG_OBJECT_COMMITED#.
Subclasses of such MetaDataObjects must override this method to ensure that commit is propagated to its members. Note that configuration parameter values can be reconfigured after the engine is created. Hence, the extractValue# methods of the AnnotatorContext# can be called anytime.
Reimplemented in uima::NameValuePair, uima::ConfigurationGroup, uima::SettingsForGroup, uima::FSIndexDescription, uima::AnalysisEngineMetaData, uima::AnalysisEngineDescription, uima::TypeDescription, and uima::TypeSystemDescription.
bool uima::MetaDataObject::iv_bIsModifiable [protected, inherited] |