|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
bindProvider(RuntimeSource aProvider,
boolean jReplace)
binds an interface to a value source. |
void |
bindValue(java.lang.Object aValue)
assigns a value to an interface. |
boolean |
isCollectionPort()
returns true if the interface is a collection port. |
boolean |
isModified()
Method isModified. |
boolean |
isProperty()
returns true if the interface is a property. |
boolean |
isProvider()
returns true if the interface is a provider (i.e. |
boolean |
isSingleValuePort()
Method isSingleValueInterface returns true if the interface is a single value port. |
void |
unbindProvider(RuntimeSource aProvider)
unbinds an interface and source value. |
void |
unbindValue()
sets the value of an interface to null. |
void |
update()
reexecutes all triggers associated to the interface. |
Methods inherited from interface org.objectweb.kilim.model.ComponentSource |
getValue, hasValue |
Methods inherited from interface org.objectweb.kilim.model.ComponentElement |
getContainingComponent, getContainingElement, getElementDescription, getLocalName, getQualifiedName, getTemplateDefHierarchy |
Method Detail |
public boolean isSingleValuePort()
public boolean isCollectionPort()
public boolean isProperty()
public boolean isProvider()
public void bindProvider(RuntimeSource aProvider, boolean jReplace) throws KilimException
aProvider
- : the value source.jReplace
- : bindProvider applied to a single value port having already a provider generates a warning if jReplace is false.
It silently replaces the existing value if jReplace is true.
KilimException
- : generated if aProvider is null.public void unbindProvider(RuntimeSource aProvider) throws KilimException
aProvider
- : the source value to be unbound.
KilimException
- : generated if aProvider is null or is not bound to the interface.public boolean isModified() throws KilimException
KilimException
- :public void bindValue(java.lang.Object aValue) throws KilimException
aValue
- : the value to be assigned to the interface.
KilimException
- : generated when applied to a providerpublic void unbindValue() throws KilimException
KilimException
- :public void update() throws KilimException
KilimException
- :
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |