ConfigurationParameter
objects for a certain configuration group.
Public Member Functions | |
ConfigurationGroup () | |
~ConfigurationGroup () | |
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#. | |
TyErrorId | addConfigurationParameter (ConfigurationParameter *param) |
Note: This object will assume memory ownership ofparam and will delete it in its destructor ! | |
bool | hasConfigurationParameter (const icu::UnicodeString ¶mName) const |
returns TRUE iff a configuration parameterparamName exists in this group. | |
const ConfigurationParameter * | getConfigurationParameter (const icu::UnicodeString ¶mName) const |
returns the ConfigurationParameter with name paramName or NULL if no such parameter is found. | |
const std::vector< const ConfigurationParameter * > | getConfigurationParameters () const |
bool | isModifiable () const |
Protected Attributes | |
bool | iv_bIsModifiable |
|
|
|
|
|
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 from uima::MetaDataObject. |
|
Note: This object will assume memory ownership of
|
|
returns TRUE iff a configuration parameter
|
|
returns the
|
|
|
|
|
|
|