|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.kilim.model.RtComponentElement
org.objectweb.kilim.model.ComponentFactory.RTEventSource
Field Summary | |
private boolean |
gotAValue
|
private java.lang.Object |
target
|
Fields inherited from class org.objectweb.kilim.model.RtComponentElement |
nbComponent, nbElement |
Constructor Summary | |
(package private) |
ComponentFactory.RTEventSource()
|
Method Summary | |
void |
addInterfaceListener(RtCollectionPort aInterface)
adds a new listener to the value source. |
boolean |
checkValue(java.util.Stack exclude)
returns whether a value can be obtained without having to create new objects |
java.lang.Object |
getEventSourceValue()
Method gets the EventSourceValue. |
java.lang.String |
getLocalName()
returns the local name of the component element. |
java.lang.Object |
getValue()
Method getValue. |
boolean |
hasValue()
returns whether the source has a value. |
boolean |
isEventSource()
returns whether the source is an event source.. |
void |
removeInterfaceListener(RtCollectionPort aInterface)
removes a listener from the value source. |
void |
setEventSourceValue(java.lang.Object aTarget)
sets the EventSourceValue. |
Methods inherited from class org.objectweb.kilim.model.RtComponentElement |
containsElement, getContainingComponent, getContainingElement, getElement, getElementDescription, getNbComponent, getNbElement, getQualifiedName, getTarget, getTemplateDefHierarchy, removeElement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.kilim.model.RuntimeSource |
getTarget |
Field Detail |
private java.lang.Object target
private boolean gotAValue
Constructor Detail |
ComponentFactory.RTEventSource()
Method Detail |
public java.lang.String getLocalName()
ComponentElement
getLocalName
in interface ComponentElement
ComponentElement.getLocalName()
public void setEventSourceValue(java.lang.Object aTarget)
RuntimeSource
setEventSourceValue
in interface RuntimeSource
aTarget
- :public boolean isEventSource()
RuntimeSource
isEventSource
in interface RuntimeSource
public java.lang.Object getEventSourceValue() throws KilimException
RuntimeSource
getEventSourceValue
in interface RuntimeSource
KilimException
- : the exception is generated when the method is invoked on unbound references
or on illegal elements.public java.lang.Object getValue() throws KilimException
RuntimeSource
getValue
in interface RuntimeSource
KilimException
- : the exception is generated when the method is invoked on unbound references
or on illegal elements.public void addInterfaceListener(RtCollectionPort aInterface) throws KilimException
RuntimeSource
addInterfaceListener
in interface RuntimeSource
aInterface
- : the collection port to be added to the list of listeners.
KilimException
- : the exception is generated when the method is invoked on unbound references
or on illegal elements.public void removeInterfaceListener(RtCollectionPort aInterface) throws KilimException
RuntimeSource
removeInterfaceListener
in interface RuntimeSource
aInterface
- : the collection port to be removed from the list of listeners.
KilimException
- : the exception is generated when the method is invoked on unbound references
or on illegal elements.public boolean hasValue()
RuntimeSource
hasValue
in interface RuntimeSource
public boolean checkValue(java.util.Stack exclude) throws KilimException
RuntimeSource
checkValue
in interface RuntimeSource
exclude
- : the exclude stack contains objects beiing in the process of being built.
KilimException
- :
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |