public class ExternalResourceBinding_impl extends MetaDataObject_impl implements ExternalResourceBinding
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer
serialContext
EMPTY_RESOURCE_BINDINGS
Constructor and Description |
---|
ExternalResourceBinding_impl() |
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Retrieves the key that identifies the
ExternalResourceDependency being bound. |
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(String aKey)
Sets the key that identifies the
ExternalResourceDependency
being bound. |
void |
setResourceName(String aName)
Sets the name of the actual Resource instance that will satisfy this dependency.
|
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, writePropertyAsElement
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
public 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 bind that resource dependency by using the key
annotator1/myResource
.
getKey
in interface ExternalResourceBinding
public void setKey(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 bind that resource dependency by using the key
annotator1/myResource
.
setKey
in interface ExternalResourceBinding
aKey
- the key for this resource binding.public String getResourceName()
ExternalResourceBinding
ExternalResourceDescription
within the enclosing
ResourceManagerConfiguration
object.getResourceName
in interface ExternalResourceBinding
public void setResourceName(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
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.