public class FeatureStructureImpl extends Object implements FeatureStructure
| Constructor and Description | 
|---|
| FeatureStructureImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | get() | 
| String[] | getFeatureNames()Gets the names of all features on this FeatureStructure. | 
| FeatureValue | getFeatureValue(String aFeatureName)Gets the value of a feature | 
| String | getId()Gets the ID of this FeatureStructure. | 
| int[] | getIndexed()Gets the index repositories that this FeatureStrucutre should be indexed in if the CasData is
 converted to a CAS Object. | 
| String | getType()Gets the type of this FeatureStructure | 
| boolean | isIndexed()Deprecated.  | 
| void | setFeatureValue(String aFeatureType,
               FeatureValue aValue)Sets the value of a feature | 
| void | setId(String string)Sets the ID of this FeatureStructure. | 
| void | setIndexed(boolean b)Deprecated.  | 
| void | setIndexed(int[] aIndexed)Sets the index repositories that this FeatureStrucutre should be indexed in if the CasData is
 converted to a CAS Object. | 
| void | setType(String aType)Sets the type of this FeatureStructure | 
| String | toString() | 
public String getType()
FeatureStructuregetType in interface FeatureStructurepublic void setType(String aType)
FeatureStructuresetType in interface FeatureStructureaType - this FeatureStructure's type, as a stringpublic String[] getFeatureNames()
FeatureStructuregetFeatureNames in interface FeatureStructurepublic FeatureValue getFeatureValue(String aFeatureName)
FeatureStructuregetFeatureValue in interface FeatureStructureaFeatureName - name of featureaName, or null if there is no such featurepublic void setFeatureValue(String aFeatureType, FeatureValue aValue)
FeatureStructuresetFeatureValue in interface FeatureStructureaFeatureType - name of feature to setaValue - value of featurepublic Object get()
public String getId()
FeatureStructuregetId in interface FeatureStructure@Deprecated public boolean isIndexed()
FeatureStructureisIndexed in interface FeatureStructurepublic void setId(String string)
FeatureStructuresetId in interface FeatureStructurestring - -@Deprecated public void setIndexed(boolean b)
FeatureStructuresetIndexed in interface FeatureStructureb - true if this FS should be indexed, false if notpublic int[] getIndexed()
FeatureStructuregetIndexed in interface FeatureStructurepublic void setIndexed(int[] aIndexed)
FeatureStructuresetIndexed in interface FeatureStructureaIndexed - an array containing the numbers of the index repsositories that should contain this
          FS. Passing null is equivalent to passing an empty array.Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.