Class ConfigGroup

java.lang.Object
org.apache.uima.taeconfigurator.model.ConfigGroup

public class ConfigGroup extends Object
Instances of this class model the 3 varients of configuration parameter sets.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The Constant COMMON.
    static final int
    The Constant NAMED_GROUP.
    static final int
    The Constant NOT_IN_ANY_GROUP.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ConfigGroup(org.apache.uima.resource.metadata.ConfigurationParameterDeclarations aCpd, int aKind)
    Instantiates a new config group.
    ConfigGroup(org.apache.uima.resource.metadata.ConfigurationParameterDeclarations aCpd, org.apache.uima.resource.metadata.ConfigurationGroup aNamedCg)
    Instantiates a new config group.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.uima.resource.metadata.ConfigurationParameter[]
    Gets the config parms.
    org.apache.uima.resource.metadata.ConfigurationParameterDeclarations
    Gets the cpd.
    int
    Gets the kind.
    Gets the name.
    Gets the name array.
    void
    Sets the name array.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • NOT_IN_ANY_GROUP

      public static final int NOT_IN_ANY_GROUP
      The Constant NOT_IN_ANY_GROUP.
      See Also:
    • COMMON

      public static final int COMMON
      The Constant COMMON.
      See Also:
    • NAMED_GROUP

      public static final int NAMED_GROUP
      The Constant NAMED_GROUP.
      See Also:
  • Constructor Details

    • ConfigGroup

      public ConfigGroup(org.apache.uima.resource.metadata.ConfigurationParameterDeclarations aCpd, int aKind)
      Instantiates a new config group.
      Parameters:
      aCpd - the a cpd
      aKind - the a kind
    • ConfigGroup

      public ConfigGroup(org.apache.uima.resource.metadata.ConfigurationParameterDeclarations aCpd, org.apache.uima.resource.metadata.ConfigurationGroup aNamedCg)
      Instantiates a new config group.
      Parameters:
      aCpd - the a cpd
      aNamedCg - the a named cg
  • Method Details

    • getConfigParms

      public org.apache.uima.resource.metadata.ConfigurationParameter[] getConfigParms()
      Gets the config parms.
      Returns:
      the config parms
    • getName

      public String getName()
      Gets the name.
      Returns:
      the name
    • getNameArray

      public String[] getNameArray()
      Gets the name array.
      Returns:
      the name array
    • setNameArray

      public void setNameArray(String[] names)
      Sets the name array.
      Parameters:
      names - the new name array
    • getKind

      public int getKind()
      Gets the kind.
      Returns:
      the kind
    • getCPD

      public org.apache.uima.resource.metadata.ConfigurationParameterDeclarations getCPD()
      Gets the cpd.
      Returns:
      the cpd