|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.resource.impl.ExternalResourceDependency_impl
public class ExternalResourceDependency_impl
Reference implementation of ExternalResourceDependency
.
Constructor Summary | |
---|---|
ExternalResourceDependency_impl()
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
Retrieves the textual description of the resource. |
java.lang.String |
getInterfaceName()
Retrieves the name of the Java interface through which this resource will be accessed. |
java.lang.String |
getKey()
Retrieves the key by which the resource is identified. |
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object in XML. |
boolean |
isOptional()
Gets whether this resource dependency is optional. |
void |
setDescription(java.lang.String aDescription)
Retrieves the textual description of the resource. |
void |
setInterfaceName(java.lang.String aName)
Sets the name of the Java interface through which this resource will be accessed. |
void |
setKey(java.lang.String aKey)
Sets the key by which the resource is identified. |
void |
setOptional(boolean aOptional)
Sets whether this resource dependency is optional. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
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 |
Constructor Detail |
---|
public ExternalResourceDependency_impl()
Method Detail |
---|
public java.lang.String getKey()
ExternalResourceDependency
getKey
in interface ExternalResourceDependency
org.apache.uima.analysis_engine.ExternalResourceDependency#getKey()
public java.lang.String getInterfaceName()
ExternalResourceDependency
getInterfaceName
in interface ExternalResourceDependency
null
if none.org.apache.uima.analysis_engine.ExternalResourceDependency#getInterfaceName()
public void setKey(java.lang.String aKey)
ExternalResourceDependency
setKey
in interface ExternalResourceDependency
aKey
- the key for this resource.org.apache.uima.analysis_engine.ExternalResourceDependency#setKey(String)
public void setInterfaceName(java.lang.String aName)
ExternalResourceDependency
setInterfaceName
in interface ExternalResourceDependency
aName
- the name of the Java interface for this external resource, null
if
none.org.apache.uima.analysis_engine.ExternalResourceDependency#setInterfaceName(String)
public java.lang.String getDescription()
ExternalResourceDependency
getDescription
in interface ExternalResourceDependency
org.apache.uima.analysis_engine.ExternalResourceDependency#getDescription()
public boolean isOptional()
ExternalResourceDependency
isOptional
in interface ExternalResourceDependency
org.apache.uima.analysis_engine.ExternalResourceDependency#isOptional()
public void setDescription(java.lang.String aDescription)
ExternalResourceDependency
setDescription
in interface ExternalResourceDependency
aDescription
- the textual description of the resource.org.apache.uima.analysis_engine.ExternalResourceDependency#setDescription(java.lang.String)
public void setOptional(boolean aOptional)
ExternalResourceDependency
setOptional
in interface ExternalResourceDependency
aOptional
- true if this resource dependency is optional, false if notorg.apache.uima.analysis_engine.ExternalResourceDependency#setOptional(boolean)
protected XmlizationInfo getXmlizationInfo()
MetaDataObject_impl
getXmlizationInfo
in class MetaDataObject_impl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |