|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Method Summary | |
void |
addInterface(ComponentInterface aInterface)
adds an Interface.in the slot. |
Factory |
getFactory()
returns the factory used to create the container. |
ComponentInterface |
getInterface(java.lang.String aName)
returns the local interface identified by its local name. |
java.util.Iterator |
getInterfaces()
returns as an iterator the interfaces declared in the container. |
boolean |
isComponent()
returns true if the container is a component. |
boolean |
isInitialized()
returns true when the container is in the "initialized" state or not. |
boolean |
isSlot()
returns true if the container is a slot. |
void |
removeInterface(ComponentInterface aElement)
removes the interface from a component. |
void |
setInitialized()
sets the container in the"initialized" state. |
| Methods inherited from interface org.objectweb.kilim.model.ComponentElement |
getContainingComponent, getContainingElement, getElementDescription, getLocalName, getQualifiedName, getTemplateDefHierarchy |
| Method Detail |
public boolean isInitialized()
public void setInitialized()
public Factory getFactory()
public boolean isComponent()
public boolean isSlot()
public java.util.Iterator getInterfaces()
public ComponentInterface getInterface(java.lang.String aName)
throws KilimException
aName - : the local name of the interface.
KilimException - : generated if aName is null or if no interface exists with the specified name.
public void addInterface(ComponentInterface aInterface)
throws KilimException
aInterface - : the interface to be added.
KilimException - : generated if aInterface is null or is already present in the slot.
public void removeInterface(ComponentInterface aElement)
throws KilimException
aElement - : the interface to be removed
KilimException - : generated if aElement is null, if the component has no interface or if the interface is not defined in the component
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||