|
||||||||||
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.metadata.impl.ExternalResourceBinding_impl
public class ExternalResourceBinding_impl
Constructor Summary | |
---|---|
ExternalResourceBinding_impl()
|
Method Summary | |
---|---|
java.lang.String |
getKey()
Retrieves the key that identifies the ExternalResourceDependency being bound. |
java.lang.String |
getResourceName()
Retrieves the name of the actual Resource instance that will satisfy this dependency. |
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object in XML. |
void |
setKey(java.lang.String aKey)
Sets the key that identifies the ExternalResourceDependency
being bound. |
void |
setResourceName(java.lang.String aName)
Sets the name of the actual Resource instance that will satisfy this dependency. |
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 ExternalResourceBinding_impl()
Method Detail |
---|
public java.lang.String getKey()
ExternalResourceBinding
ExternalResourceDependency
being bound. If this binding is
declared in a primitive component, this is exactly the same key as is specified in the
ExternalResourceDependency
.
Within an aggregate, a slash-separated name is used to identify which component the binding
applies to. For example, if an Aggregate AE contains an annotator with key
annotator1
which declares a resource dependency myResource
, that
Aggregate AE could binding that resource dependency by using the key
annotator1/myResource
.
getKey
in interface ExternalResourceBinding
public void setKey(java.lang.String aKey)
ExternalResourceBinding
ExternalResourceDependency
being bound. If this binding is declared in a primitive component, this is exactly the same key
as is specified in the ExternalResourceDependency
.
Within an aggregate, a slash-separated name is used to identify which component the binding
applies to. For example, if an Aggregate AE contains an annotator with key
annotator1
which declares a resource dependency myResource
, that
Aggregate AE could binding that resource dependency by using the key
annotator1/myResource
.
setKey
in interface ExternalResourceBinding
aKey
- the key for this resource binding.public java.lang.String getResourceName()
ExternalResourceBinding
ExternalResourceDescription
within the enclosing
ResourceManagerConfiguration
object.
getResourceName
in interface ExternalResourceBinding
public void setResourceName(java.lang.String aName)
ExternalResourceBinding
ExternalResourceDescription
within the enclosing
ResourceManagerConfiguration
object.
setResourceName
in interface ExternalResourceBinding
aName
- the name of the resource satisfying this dependency.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 |