Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Public Member Functions

org::apache::uima::cas_data::FeatureStructure Interface Reference

Inheritance diagram for org::apache::uima::cas_data::FeatureStructure:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::cas_data::FeatureStructure:
Collaboration graph
[legend]

List of all members.

Public Member Functions

String[] getFeatureNames ()
FeatureValue getFeatureValue (String aName)
String getId ()
int[] getIndexed ()
String getType ()
boolean isIndexed ()
void setFeatureValue (String aName, FeatureValue aValue)
void setId (String aId)
void setIndexed (boolean aIndexed)
void setIndexed (int[] aIndexed)
void setType (String aType)

Detailed Description

An object in the CAS. Each FeatureStructure has an optional ID, a type (represented as a string), and a collection of features, which are attribute-value pairs. Feature names are strings, and their values may be primitives (String, integer, float) or references (via ID) to another FeatureStuctures. Circular references are allowed.

Arrays are represented by the subtypes PrimitiveArrayFS and ReferenceArrayFS. Arrays are not primitive values. This means that if the value of a feature is conceptually, for example, an integer array, this will be represented in the CasData as a reference, via ID, to a PrimitiveArrayFS object that actually contains the integer array value.

FeatureStructures also have a property indexed, which determines whether the FeatureStructure should be added to the CAS's indexes if the CAS Data is converted to a CAS Object. The CasData itself does not provide indexes.

Definition at line 41 of file FeatureStructure.java.


The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index