|
|||||||||||
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.RtComponentSource
org.objectweb.kilim.model.RuntimeSourceImpl1
org.objectweb.kilim.model.ComponentFactory.RTReference
Field Summary | |
private RuntimeElement |
target
|
Fields inherited from class org.objectweb.kilim.model.RtComponentSource |
knownValues, mapper, mappingContext, svpStack |
Fields inherited from class org.objectweb.kilim.model.RtComponentElement |
nbComponent, nbElement |
Constructor Summary | |
(package private) |
ComponentFactory.RTReference(TemplateElementImpl aElement,
Component aComponent)
|
Method Summary | |
void |
addInterfaceListener(RtCollectionPort aInterface)
adds a new listener to the value source. |
boolean |
checkAction(java.util.Stack aStack)
returns whether an action can be performed without any new constructive action. |
boolean |
checkValue(java.util.Stack aStack)
returns whether a value can be obtained without having to create new objects |
void |
execute()
executes the method, constructor, setter, getter implementing the RuntimeAction. |
java.lang.Object |
getEventSourceValue()
gets the event source value (i.e. |
java.lang.String |
getLocalName()
returns the local name of the component element. |
RuntimeElement |
getTarget()
returns the target object. |
(package private) java.lang.String |
getTargetName()
|
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 aSource)
sets the event source value (i.e. |
(package private) void |
setTarget(RuntimeElement aTarget)
|
Methods inherited from class org.objectweb.kilim.model.RtComponentSource |
evaluationPerformed, getCurrentSVP, getInterfaceListeners |
Methods inherited from class org.objectweb.kilim.model.RtComponentElement |
containsElement, getContainingComponent, getContainingElement, getElement, getElementDescription, getNbComponent, getNbElement, getQualifiedName, 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.RuntimeAction |
getEventSourceValue, setEventSourceValue |
Field Detail |
private RuntimeElement target
Constructor Detail |
ComponentFactory.RTReference(TemplateElementImpl aElement, Component aComponent)
Method Detail |
java.lang.String getTargetName()
public RuntimeElement getTarget()
RuntimeAction
getTarget
in interface RuntimeAction
getTarget
in class RtComponentElement
RuntimeSource.getTarget()
void setTarget(RuntimeElement aTarget)
public void execute() throws KilimException
RuntimeAction
execute
in interface RuntimeAction
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 boolean hasValue() throws KilimException
RuntimeSource
hasValue
in interface RuntimeSource
KilimException
- :org.objectweb.kilim.model.RuntimeSource#checkValue()
public boolean checkAction(java.util.Stack aStack) throws KilimException
RuntimeAction
checkAction
in interface RuntimeAction
aStack
- is the stack of runtime element which are under evaluation (i.e. element in the process of a constructive action).
KilimException
- :org.objectweb.kilim.model.RuntimeAction#checkAction()
public boolean checkValue(java.util.Stack aStack) throws KilimException
RuntimeSource
checkValue
in interface RuntimeSource
aStack
- : the exclude stack contains objects beiing in the process of being built.
KilimException
- :org.objectweb.kilim.model.RuntimeAction#checkAction()
public java.lang.String getLocalName()
ComponentElement
ComponentElement.getLocalName()
public void addInterfaceListener(RtCollectionPort aInterface) throws KilimException
RuntimeSource
addInterfaceListener
in interface RuntimeSource
addInterfaceListener
in class RtComponentSource
KilimException
org.objectweb.kilim.model.RuntimeSource#addInterfaceListener(RtCollectionInterface)
public void removeInterfaceListener(RtCollectionPort aInterface) throws KilimException
RuntimeSource
removeInterfaceListener
in interface RuntimeSource
removeInterfaceListener
in class RtComponentSource
KilimException
org.objectweb.kilim.model.RuntimeSource#removeInterfaceListener(RtCollectionInterface)
public boolean isEventSource()
RuntimeSource
public java.lang.Object getEventSourceValue() throws KilimException
RuntimeSource
KilimException
- : the exception is generated when the method is invoked on unbound references
or on illegal elements.public void setEventSourceValue(java.lang.Object aSource) throws KilimException
RuntimeSource
aSource
- :
KilimException
- : the exception is generated when the method is invoked on unbound references
or on illegal elements.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |