Class ConfigurableFeature

java.lang.Object
org.apache.uima.collection.impl.cpm.utils.ConfigurableFeature

public class ConfigurableFeature extends Object
The Class ConfigurableFeature.
  • Constructor Details

    • ConfigurableFeature

      public ConfigurableFeature(String oldV, String newV)
      Instantiates a new configurable feature.
      Parameters:
      oldV - the old V
      newV - the new V
  • Method Details

    • getOldFeatureName

      public String getOldFeatureName()
      Gets the old feature name.
      Returns:
      the old feature name
    • getNewFeatureName

      public String getNewFeatureName()
      Gets the new feature name.
      Returns:
      the new feature name
    • addAttribute

      public void addAttribute(ValuePair value)
      Adds the attribute.
      Parameters:
      value - the value
    • addAttributes

      public void addAttributes(ArrayList attList)
      Adds the attributes.
      Parameters:
      attList - the att list
    • getOldAttributeValue

      public String getOldAttributeValue(int index)
      Gets the old attribute value.
      Parameters:
      index - the index
      Returns:
      the old attribute value
    • getOldAttributeValue

      public String getOldAttributeValue(String key)
      Gets the old attribute value.
      Parameters:
      key - the key
      Returns:
      the old attribute value
    • getNewAttributeValue

      public String getNewAttributeValue(int index)
      Gets the new attribute value.
      Parameters:
      index - the index
      Returns:
      the new attribute value
    • getNewAttributeValue

      public String getNewAttributeValue(String key)
      Gets the new attribute value.
      Parameters:
      key - the key
      Returns:
      the new attribute value
    • attributeListSize

      public int attributeListSize()
      Attribute list size.
      Returns:
      the int