|
|||||||||||
| 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.Plug
| Field Summary | |
private java.lang.String |
instanceName
|
private java.util.LinkedHashMap |
mappings
|
private static java.lang.String[][] |
msgTexts
|
private java.lang.String |
slotName
|
| Fields inherited from class org.objectweb.kilim.description.TemplateElementImpl |
|
| Constructor Summary | |
Plug(java.lang.String aSlotName,
java.lang.String aInstanceName,
TemplateDescription aTemplate)
Method Plug. |
|
| Method Summary | |
void |
addNameMapping(java.lang.String aExternal,
java.lang.String aInternal)
A name mapping is a correspondance between the name of an interface defined in a slot and the corresponding port in a component. |
java.lang.String |
getInstanceName()
returns the component name. |
java.lang.String |
getNameMapping(java.lang.String aName)
A name mapping is a correspondance between the name of an interface defined in a slot and the corresponding port in a component. |
java.util.Iterator |
getNameMappings()
A name mapping is a correspondance between the name of an interface defined in a slot and the corresponding port in a component. |
java.lang.String |
getSlotName()
returns the slot name. |
private java.lang.String |
msgSuffix1()
|
void |
removeNameMapping(java.lang.String aExternal)
A name mapping is a correspondance between the name of an interface defined in a slot and the corresponding port in a component. |
| 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 static java.lang.String[][] msgTexts
private java.lang.String slotName
private java.lang.String instanceName
private java.util.LinkedHashMap mappings
| Constructor Detail |
public Plug(java.lang.String aSlotName,
java.lang.String aInstanceName,
TemplateDescription aTemplate)
throws KilimException
aSlotName - : the name of the slotaInstanceName - : the name of the component to be plugged.aTemplate - : the template in which the plug is done.
KilimException - : generates an exception if an argument is null.| Method Detail |
public java.lang.String getSlotName()
public java.lang.String getInstanceName()
public java.lang.String getNameMapping(java.lang.String aName)
aName - : the local name of the interface declared in the slot.
public java.util.Iterator getNameMappings()
public void addNameMapping(java.lang.String aExternal,
java.lang.String aInternal)
throws KilimException
aExternal - :name of the slot portaInternal - : name of the component port.
KilimException - : generated when aExternal or aInternal is null
public void removeNameMapping(java.lang.String aExternal)
throws KilimException
aExternal - : name of the mapping to be removed (name mapping are identified by the slot name of a port).
KilimException - : generated if aExternal is null.private java.lang.String msgSuffix1()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||