|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.cas.impl.FeatureImpl
public class FeatureImpl
The implementation of features in the type system.
| Method Summary | |
|---|---|
int |
compareTo(Feature o)
Note: you can only compare features from the same type system. |
int |
getCode()
Get the internal code of this feature. |
Type |
getDomain()
Get the domain type for this feature. |
java.lang.String |
getName()
Get the name for this feature. |
Type |
getRange()
Get the range type for this feature. |
java.lang.String |
getShortName()
Get the unqualified, short name of this feature. |
TypeSystem |
getTypeSystem()
Get the type hierarchy that this feature belongs to. |
boolean |
isMultipleReferencesAllowed()
Checks if there can be multiple references to values of this feature. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public int getCode()
public Type getDomain()
getDomain in interface Featurenull.public Type getRange()
getRange in interface Featurenull.public java.lang.String getName()
getName in interface Featurenull.public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getShortName()
Feature
getShortName in interface Featurepublic TypeSystem getTypeSystem()
public int compareTo(Feature o)
compareTo in interface java.lang.Comparable<Feature>public boolean isMultipleReferencesAllowed()
FeatureIf this is false it indicates that this feature has exclusive ownership of the array or list, so changes to the array or list are localized. If this is true it indicates that the array or list may be shared, so changes to it may affect other objects in the CAS.
isMultipleReferencesAllowed in interface Featuretrue iff the value type of this feature is an array or list and has been
declared to allow multiple references.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||