Class ConfigGroup
java.lang.Object
org.apache.uima.taeconfigurator.model.ConfigGroup
Instances of this class model the 3 varients of configuration parameter sets.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The Constant COMMON.static final int
The Constant NAMED_GROUP.static final int
The Constant NOT_IN_ANY_GROUP. -
Constructor Summary
ConstructorDescriptionConfigGroup
(ConfigurationParameterDeclarations aCpd, int aKind) Instantiates a new config group.ConfigGroup
(ConfigurationParameterDeclarations aCpd, ConfigurationGroup aNamedCg) Instantiates a new config group. -
Method Summary
-
Field Details
-
NOT_IN_ANY_GROUP
public static final int NOT_IN_ANY_GROUPThe Constant NOT_IN_ANY_GROUP.- See Also:
-
COMMON
public static final int COMMONThe Constant COMMON.- See Also:
-
NAMED_GROUP
public static final int NAMED_GROUPThe Constant NAMED_GROUP.- See Also:
-
-
Constructor Details
-
ConfigGroup
Instantiates a new config group.- Parameters:
aCpd
- the a cpdaKind
- the a kind
-
ConfigGroup
Instantiates a new config group.- Parameters:
aCpd
- the a cpdaNamedCg
- the a named cg
-
-
Method Details
-
getConfigParms
Gets the config parms.- Returns:
- the config parms
-
getName
Gets the name.- Returns:
- the name
-
getNameArray
Gets the name array.- Returns:
- the name array
-
setNameArray
Sets the name array.- Parameters:
names
- the new name array
-
getKind
public int getKind()Gets the kind.- Returns:
- the kind
-
getCPD
Gets the cpd.- Returns:
- the cpd
-