Class ConfigurableFeature
java.lang.Object
org.apache.uima.collection.impl.cpm.utils.ConfigurableFeature
The Class ConfigurableFeature.
-
Constructor Summary
ConstructorDescriptionConfigurableFeature
(String oldV, String newV) Instantiates a new configurable feature. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(ValuePair value) Adds the attribute.void
addAttributes
(ArrayList attList) Adds the attributes.int
Attribute list size.getNewAttributeValue
(int index) Gets the new attribute value.Gets the new attribute value.Gets the new feature name.getOldAttributeValue
(int index) Gets the old attribute value.Gets the old attribute value.Gets the old feature name.
-
Constructor Details
-
ConfigurableFeature
Instantiates a new configurable feature.- Parameters:
oldV
- the old VnewV
- the new V
-
-
Method Details
-
getOldFeatureName
Gets the old feature name.- Returns:
- the old feature name
-
getNewFeatureName
Gets the new feature name.- Returns:
- the new feature name
-
addAttribute
Adds the attribute.- Parameters:
value
- the value
-
addAttributes
Adds the attributes.- Parameters:
attList
- the att list
-
getOldAttributeValue
Gets the old attribute value.- Parameters:
index
- the index- Returns:
- the old attribute value
-
getOldAttributeValue
Gets the old attribute value.- Parameters:
key
- the key- Returns:
- the old attribute value
-
getNewAttributeValue
Gets the new attribute value.- Parameters:
index
- the index- Returns:
- the new attribute value
-
getNewAttributeValue
Gets the new attribute value.- Parameters:
key
- the key- Returns:
- the new attribute value
-
attributeListSize
public int attributeListSize()Attribute list size.- Returns:
- the int
-