public interface TypeOrFeature extends MetaDataObject, Comparable<TypeOrFeature>
Capability
to declare which Types and Features the
Analysis Engine inputs and outputs, and it is also used by ResultSpecification
to declare
the outputs that are desired by the application.Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the fully-qualified Type or Feature name.
|
boolean |
isAllAnnotatorFeatures()
For Type references, this method determines whether this reference should be considered to also
refer to all features of the Type that are known to the annotator.
|
boolean |
isType()
Gets whether this object refers to a Type or to a Feature.
|
void |
setAllAnnotatorFeatures(boolean aAllAnnotatorFeatures)
For Type references, sets whether this reference should be considered to also refer to all
features of the Type that are known to the annotator.
|
void |
setName(String aName)
Sets the fully-qualified Type or Feature name.
|
void |
setType(boolean aType)
Sets whether this object refers to a Type or to a Feature.
|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
compareTo
boolean isType()
void setType(boolean aType)
aType
- true if Type, false if FeatureString getName()
void setName(String aName)
aName
- the fully-qualified nameboolean isAllAnnotatorFeatures()
void setAllAnnotatorFeatures(boolean aAllAnnotatorFeatures)
aAllAnnotatorFeatures
- true if this is a reference to all features, false if it is only a reference to the
typeCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.