Class ExternalResourceBinding_impl
java.lang.Object
org.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.resource.metadata.impl.ExternalResourceBinding_impl
- All Implemented Interfaces:
Serializable,Cloneable,ExternalResourceBinding,MetaDataObject,XMLizable
public class ExternalResourceBinding_impl
extends MetaDataObject_impl
implements ExternalResourceBinding
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer -
Field Summary
Fields inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
serialContextFields inherited from interface org.apache.uima.resource.metadata.ExternalResourceBinding
EMPTY_RESOURCE_BINDINGS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Retrieves the key that identifies theExternalResourceDependencybeing bound.Retrieves the name of the actual Resource instance that will satisfy this dependency.protected XmlizationInfoTo be implemented by subclasses to return information describing how to represent this object in XML.voidSets the key that identifies theExternalResourceDependencybeing bound.voidsetResourceName(String aName) Sets the name of the actual Resource instance that will satisfy this dependency.Methods inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
buildFromXMLElement, buildFromXMLElement, clone, equals, getAdditionalAttributes, getAttributeClass, getAttributeValue, getInfoset, getMatchingNode, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSerialContext, getSourceUrl, getSourceUrlString, getWrapperClass, getXMLAttributes, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, resolveSettings, setAttributeValue, setInfoset, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, valueIsNullOrEmptyArray, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElementMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.uima.resource.metadata.MetaDataObject
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlMethods inherited from interface org.apache.uima.util.XMLizable
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
-
Constructor Details
-
ExternalResourceBinding_impl
public ExternalResourceBinding_impl()
-
-
Method Details
-
getKey
Description copied from interface:ExternalResourceBindingRetrieves the key that identifies theExternalResourceDependencybeing bound. If this binding is declared in a primitive component, this is exactly the same key as is specified in theExternalResourceDependency.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
annotator1which declares a resource dependencymyResource, that Aggregate AE could bind that resource dependency by using the keyannotator1/myResource.- Specified by:
getKeyin interfaceExternalResourceBinding- Returns:
- the key for this resource binding.
-
setKey
Description copied from interface:ExternalResourceBindingSets the key that identifies theExternalResourceDependencybeing bound. If this binding is declared in a primitive component, this is exactly the same key as is specified in theExternalResourceDependency.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
annotator1which declares a resource dependencymyResource, that Aggregate AE could bind that resource dependency by using the keyannotator1/myResource.- Specified by:
setKeyin interfaceExternalResourceBinding- Parameters:
aKey- the key for this resource binding.
-
getResourceName
Description copied from interface:ExternalResourceBindingRetrieves the name of the actual Resource instance that will satisfy this dependency. This name must match one of the names specified in anExternalResourceDescriptionwithin the enclosingResourceManagerConfigurationobject.- Specified by:
getResourceNamein interfaceExternalResourceBinding- Returns:
- the name of the resource satisfying this dependency.
-
setResourceName
Description copied from interface:ExternalResourceBindingSets the name of the actual Resource instance that will satisfy this dependency. This name must match one of the names specified in anExternalResourceDescriptionwithin the enclosingResourceManagerConfigurationobject.- Specified by:
setResourceNamein interfaceExternalResourceBinding- Parameters:
aName- the name of the resource satisfying this dependency.
-
getXmlizationInfo
Description copied from class:MetaDataObject_implTo be implemented by subclasses to return information describing how to represent this object in XML.- Specified by:
getXmlizationInfoin classMetaDataObject_impl- Returns:
- information defining this object's XML representation
-