|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeOrFeature
A reference to a Type or Feature in the Analysis Engine's TypeSystem. This interface is used by
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.
Method Summary | |
---|---|
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. |
Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject |
---|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl |
Methods inherited from interface org.apache.uima.util.XMLizable |
---|
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
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
type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |