## Uses of Interface
org.apache.uima.cas.Feature

- Packages that use Feature
  Package | Description
  --- | ---
  org.apache.uima.analysis_engine.impl |
  org.apache.uima.cas | Common Analysis System (CAS) Interfaces.
  org.apache.uima.cas.admin |
  org.apache.uima.cas.impl | Implementation and Low-Level API for the CAS Interfaces.
  org.apache.uima.jcas | Interfaces for accessing the JCAS.
  org.apache.uima.jcas.cas | JCAS model for built-in CAS types
  org.apache.uima.jcas.impl | Provides the classes that support the Java Cas Model (JCM).
  org.apache.uima.util | Utility classes and interfaces used by UIMA components.

- - ### Uses of Feature in org.apache.uima.analysis_engine.impl

    Fields in org.apache.uima.analysis_engine.impl with type parameters of type Feature
    Modifier and Type | Field and Description
    --- | ---
    `static List<Feature>` | RsType.`EMPTY_FEATURE_LIST`

  - ### Uses of Feature in org.apache.uima.cas

    Methods in org.apache.uima.cas that return Feature
    Modifier and Type | Method and Description
    --- | ---
    `Feature` | CAS.`getBeginFeature()` Get the feature object for the annotation begin feature.
    `Feature` | CAS.`getEndFeature()` Get the feature object for the annotation end feature.
    `Feature` | FeaturePath.`getFeature(int i)` Get feature at position.
    `Feature` | Type.`getFeatureByBaseName(String featureName)` Retrieve a feature for this type.
    `Feature` | TypeSystem.`getFeatureByFullName(String featureName)` Get a feature object for a given name.

    Methods in org.apache.uima.cas that return types with arguments of type Feature
    Modifier and Type | Method and Description
    --- | ---
    `Vector<Feature>` | Type.`getAppropriateFeatures()` Deprecated. Use `getFeatures()` instead.
    `List<Feature>` | Type.`getFeatures()` Get a vector of the features for which this type is a subtype of the features' domain (i.e., inherited features are also returned).
    `Iterator<Feature>` | TypeSystem.`getFeatures()` Get a list of features, in no particular order.

    Methods in org.apache.uima.cas with parameters of type Feature
    Modifier and Type | Method and Description
    --- | ---
    `void` | FeaturePath.`addFeature(Feature feat)` Add a new feature at the end of the path.
    `boolean` | FeatureStructure.`getBooleanValue(Feature feat)` Get the boolean value of a feature.
    `byte` | FeatureStructure.`getByteValue(Feature feat)` Get the byte value of a feature.
    `double` | FeatureStructure.`getDoubleValue(Feature feat)` Get the double value of a feature.
    `FeatureStructure` | FeatureStructure.`getFeatureValue(Feature feat)` Get a feature value.
    `String` | FeatureStructure.`getFeatureValueAsString(Feature feat)` Get the value of the feature as a string if the type of the feature is one of the primitive type.
    `float` | FeatureStructure.`getFloatValue(Feature feat)` Get the float value of a feature.
    `int` | FeatureStructure.`getIntValue(Feature feat)` Get the int value of a feature.
    `long` | FeatureStructure.`getLongValue(Feature feat)` Get the long value of a feature.
    `short` | FeatureStructure.`getShortValue(Feature feat)` Get the short value of a feature.
    `String` | FeatureStructure.`getStringValue(Feature f)` Get the string value under a feature.
    `void` | FeatureStructure.`setBooleanValue(Feature feat, boolean i)` Set the boolean value of a feature.
    `void` | FeatureStructure.`setByteValue(Feature feat, byte i)` Set the byte (8 bit) value of a feature.
    `void` | FeatureStructure.`setDoubleValue(Feature feat, double i)` Set the double value of a feature.
    `void` | FeatureStructure.`setFeatureValue(Feature feat, FeatureStructure fs)` Set a feature value to another FS.
    `void` | FeatureStructure.`setFeatureValueFromString(Feature feat, String s)` Sets the value of a feature from a string input if the feature type is one of the primitive types.
    `void` | FeatureStructure.`setFloatValue(Feature feat, float f)` Set the float value of a feature.
    `void` | FeatureStructure.`setIntValue(Feature feat, int i)` Set the int value of a feature.
    `void` | FeatureStructure.`setLongValue(Feature feat, long i)` Set the long (64 bit) value of a feature.
    `void` | FeatureStructure.`setShortValue(Feature feat, short i)` Set the short (16 bit) value of a feature.
    `void` | FeatureStructure.`setStringValue(Feature feat, String s)` Set the string value of a feature.

  - ### Uses of Feature in org.apache.uima.cas.admin

    Methods in org.apache.uima.cas.admin that return Feature
    Modifier and Type | Method and Description
    --- | ---
    `Feature` | TypeSystemMgr.`addFeature(String featureName, Type domainType, Type rangeType)` Add an feature to the type system.
    `Feature` | TypeSystemMgr.`addFeature(String featureName, Type domainType, Type rangeType, boolean multipleReferencesAllowed)` Add an feature to the type system.
    `Feature` | FSIndexComparator.`getKeyFeature(int key)` Get the feature for this key.

    Methods in org.apache.uima.cas.admin with parameters of type Feature
    Modifier and Type | Method and Description
    --- | ---
    `int` | FSIndexComparator.`addKey(Feature feat, int compareKey)` Add a new key.

  - ### Uses of Feature in org.apache.uima.cas.impl

    Classes in org.apache.uima.cas.impl that implement Feature
    Modifier and Type | Class and Description
    --- | ---
    `class` | `FeatureImpl` The implementation of features in the type system.

    Methods in org.apache.uima.cas.impl that return Feature
    Modifier and Type | Method and Description
    --- | ---
    `Feature` | TypeSystemImpl.`addFeature(String featureName, Type domainType, Type rangeType)`
    `Feature` | TypeSystemImpl.`addFeature(String featureName, Type domainType, Type rangeType, boolean multipleReferencesAllowed)`
    `Feature` | CASImpl.`getBeginFeature()`
    `Feature` | CASImpl.`getEndFeature()`
    `Feature` | TypeImpl.`getFeature(String featureName)` Deprecated.
    `Feature` | TypeSystemImpl.`getFeature(String featureName)` Deprecated.
    `Feature` | TypeImpl.`getFeatureByBaseName(String featureName)`
    `Feature` | TypeSystemImpl.`getFeatureByFullName(String featureName)` Get an feature object for a given name.
    `Feature` | FSIndexComparatorImpl.`getKeyFeature(int key)`
    `Feature` | LowLevelTypeSystem.`ll_getFeatureForCode(int featureCode)` Get a feature object for a given code.
    `Feature` | TypeSystemImpl.`ll_getFeatureForCode(int featureCode)`

    Methods in org.apache.uima.cas.impl that return types with arguments of type Feature
    Modifier and Type | Method and Description
    --- | ---
    `Vector<Feature>` | TypeImpl.`getAppropriateFeatures()` Deprecated.
    `List<Feature>` | TypeImpl.`getFeatures()` guaranteed to be non-null, but might be empty list
    `Iterator<Feature>` | TypeSystemImpl.`getFeatures()`
    `Vector<Feature>` | TypeSystemImpl.`getIntroFeatures(Type type)`

    Methods in org.apache.uima.cas.impl with parameters of type Feature
    Modifier and Type | Method and Description
    --- | ---
    `int` | FSIndexComparatorImpl.`addKey(Feature feat, int compareKey)`
    `void` | CASImpl.`checkTypingConditions(Type domType, Type ranType, Feature feat)` Check the range is appropriate for this type/feature.
    `int` | FeatureImpl.`compareTo(Feature o)` Note: you can only compare features from the same type system.
    `boolean` | FeatureStructureImpl.`getBooleanValue(Feature feat)`
    `byte` | FeatureStructureImpl.`getByteValue(Feature feat)`
    `double` | FeatureStructureImpl.`getDoubleValue(Feature feat)`
    `FeatureStructure` | FeatureStructureImpl.`getFeatureValue(Feature feat)`
    `String` | FeatureStructureImpl.`getFeatureValueAsString(Feature feat)`
    `float` | FeatureStructureImpl.`getFloatValue(Feature feat)`
    `int` | FeatureStructureImpl.`getIntValue(Feature feat)`
    `long` | FeatureStructureImpl.`getLongValue(Feature feat)`
    `short` | FeatureStructureImpl.`getShortValue(Feature feat)`
    `String` | FeatureStructureImpl.`getStringValue(Feature f)`
    `int` | LowLevelTypeSystem.`ll_getCodeForFeature(Feature feature)` Get the code for a given feature object.
    `int` | TypeSystemImpl.`ll_getCodeForFeature(Feature feature)`
    `void` | FeatureStructureImpl.`setBooleanValue(Feature feat, boolean b)`
    `void` | FeatureStructureImpl.`setByteValue(Feature feat, byte val)`
    `void` | FeatureStructureImpl.`setDoubleValue(Feature feat, double val)`
    `void` | SofaFSImpl.`setFeatureValue(Feature feat, FeatureStructure fs)`
    `void` | FeatureStructureImpl.`setFeatureValue(Feature feat, FeatureStructure fs)`
    `void` | FeatureStructureImpl.`setFeatureValueFromString(Feature feat, String s)`
    `void` | FeatureStructureImpl.`setFloatValue(Feature feat, float val)`
    `void` | FeatureStructureImpl.`setIntValue(Feature feat, int val)`
    `void` | SofaFSImpl.`setIntValue(Feature feat, Integer val)`
    `void` | FeatureStructureImpl.`setLongValue(Feature feat, long val)`
    `void` | FeatureStructureImpl.`setShortValue(Feature feat, short val)`
    `void` | SofaFSImpl.`setStringValue(Feature feat, String val)`
    `void` | FeatureStructureImpl.`setStringValue(Feature feat, String val)`

  - ### Uses of Feature in org.apache.uima.jcas

    Methods in org.apache.uima.jcas that return Feature
    Modifier and Type | Method and Description
    --- | ---
    `Feature` | JCas.`getRequiredFeature(Type t, String s)`
    `Feature` | JCas.`getRequiredFeatureDE(Type t, String s, String rangeName, boolean featOkTst)`

  - ### Uses of Feature in org.apache.uima.jcas.cas

    Methods in org.apache.uima.jcas.cas with parameters of type Feature
    Modifier and Type | Method and Description
    --- | ---
    `void` | Sofa.`setFeatureValue(Feature feat, FeatureStructure fs)`
    `void` | Sofa.`setIntValue(Feature feat, Integer val)`
    `void` | Sofa.`setStringValue(Feature feat, String val)`

  - ### Uses of Feature in org.apache.uima.jcas.impl

    Methods in org.apache.uima.jcas.impl that return Feature
    Modifier and Type | Method and Description
    --- | ---
    `Feature` | JCasImpl.`getRequiredFeature(Type t, String s)`
    `Feature` | JCasImpl.`getRequiredFeatureDE(Type t, String s, String rangeName, boolean featOkTst)`

  - ### Uses of Feature in org.apache.uima.util

    Methods in org.apache.uima.util with parameters of type Feature
    Modifier and Type | Method and Description
    --- | ---
    `static FeatureDescription` | TypeSystemUtil.`feature2FeatureDescription(Feature aFeature)` Convert a `Feature` to an equivalent `FeatureDescription`.

Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.