public interface Feature extends Comparable<Feature>
Feature short or base names are type
system identifiers. The (fully) qualified name of a feature is the name of the type it is defined on, followed by a colon, followed by
the its short name. For example, the qualified name of the Annotation begin feature is
uima.tcas.Annotation:begin
.
Modifier and Type | Method and Description |
---|---|
Type |
getDomain()
Get the domain type for this feature.
|
String |
getName()
Get the qualified name for this feature.
|
Type |
getRange()
Get the range type for this feature.
|
String |
getShortName()
Get the unqualified, short name of this feature.
|
boolean |
isMultipleReferencesAllowed()
Checks if there can be multiple references to values of this feature.
|
compareTo
Type getDomain()
null
.Type getRange()
null
.String getName()
String getShortName()
boolean isMultipleReferencesAllowed()
If 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.
true
iff the value type of this feature is an array or list and has been
declared to allow multiple references.Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.