Package org.apache.uima.cas_data
Interface FeatureValue
-
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
PrimitiveValue
,ReferenceValue
- All Known Implementing Classes:
PrimitiveValueImpl
,ReferenceValueImpl
,VinciPrimitiveValue
public interface FeatureValue extends java.io.Serializable
The base interface for the value of a feature. Feature values will be implement one of three subinterfaces:PrimitiveValue
(string, integer, float)ReferenceValue
(reference, via ID, to another feature structure)
Note that arrays are represented as FeatureStructures, not primitive values. Therefore features with array values will be of type
ReferenceValue
, where the reference will resolve to an instance ofPrimitiveArrayFS
orReferenceArrayFS
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
get()
Gets the feature value as a Java object.
-