|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.kilim.description.TemplateElementImpl
org.objectweb.kilim.description.Binding
Field Summary | |
private java.util.List |
boundProviders
|
private java.lang.String |
portName
|
Fields inherited from class org.objectweb.kilim.description.TemplateElementImpl |
|
Constructor Summary | |
Binding(java.lang.String aPort,
TemplateDescription aTemplate)
The public constructor of a binding object. |
Method Summary | |
void |
bindProvider(BasicElement aElement)
adds the target bound port. |
java.util.Iterator |
getBoundProviders()
returns as an iterator the bound target providers. |
java.lang.String |
getPortName()
returns the name of the bound port. |
void |
setPortName(java.lang.String aPortName)
sets the name of the bound port |
void |
unbindProvider(BasicElement aElement)
removes a previously bound source. |
Methods inherited from class org.objectweb.kilim.description.TemplateElementImpl |
clone, getContainingTemplate, getTemplateDefHierarchy, setContainingTemplate |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String portName
private java.util.List boundProviders
Constructor Detail |
public Binding(java.lang.String aPort, TemplateDescription aTemplate) throws KilimException
aPort
- : reference of the port to be bound.aTemplate
- : reference of the containing template.
KilimException
- : generated when the port reference is null or when the template reference is null.Method Detail |
public java.lang.String getPortName()
public void setPortName(java.lang.String aPortName)
aPortName
- : the port namepublic java.util.Iterator getBoundProviders()
public void bindProvider(BasicElement aElement) throws KilimException
aElement
- : the value source the port should be bound to.
KilimException
- : generated when the element is null.public void unbindProvider(BasicElement aElement) throws KilimException
aElement
- : the element to unbind.
KilimException
- : generated when the reference of the element is null or when the binding is empty.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |