|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.cas_data.impl.FeatureStructureImpl
public class FeatureStructureImpl
| Constructor Summary | |
|---|---|
FeatureStructureImpl()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
get()
|
java.lang.String[] |
getFeatureNames()
Gets the names of all features on this FeatureStructure. |
FeatureValue |
getFeatureValue(java.lang.String aFeatureName)
Gets the value of a feature |
java.lang.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. |
java.lang.String |
getType()
Gets the type of this FeatureStructure |
boolean |
isIndexed()
Deprecated. |
void |
setFeatureValue(java.lang.String aFeatureType,
FeatureValue aValue)
Sets the value of a feature |
void |
setId(java.lang.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(java.lang.String aType)
Sets the type of this FeatureStructure |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FeatureStructureImpl()
| Method Detail |
|---|
public java.lang.String getType()
FeatureStructure
getType in interface FeatureStructurepublic void setType(java.lang.String aType)
FeatureStructure
setType in interface FeatureStructureaType - this FeatureStructure's type, as a stringpublic java.lang.String[] getFeatureNames()
FeatureStructure
getFeatureNames in interface FeatureStructurepublic FeatureValue getFeatureValue(java.lang.String aFeatureName)
FeatureStructure
getFeatureValue in interface FeatureStructureaFeatureName - name of feature
aName, or null if there is no such feature
public void setFeatureValue(java.lang.String aFeatureType,
FeatureValue aValue)
FeatureStructure
setFeatureValue in interface FeatureStructureaFeatureType - name of feature to setaValue - value of featurepublic java.lang.Object get()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getId()
FeatureStructure
getId in interface FeatureStructure@Deprecated public boolean isIndexed()
FeatureStructure
isIndexed in interface FeatureStructurepublic void setId(java.lang.String string)
FeatureStructure
setId in interface FeatureStructurestring - @Deprecated public void setIndexed(boolean b)
FeatureStructure
setIndexed in interface FeatureStructureb - public int[] getIndexed()
FeatureStructure
getIndexed in interface FeatureStructurepublic void setIndexed(int[] aIndexed)
FeatureStructure
setIndexed 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||