|
|||||||||||
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.RtExternalValue
RtExternalValues are specific sources referencing external system entities i.e. entities not described by Kilim descriptors. RtExternalValues can be seen as special properties referencing objects without descriptors and runtime objects. Remark : Next Kilim implementation should define this class as an extension of ComponentProperty.
Field Summary | |
private java.lang.String |
name
|
private java.lang.Object |
value
|
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 | |
RtExternalValue(java.lang.String aName,
java.lang.Object aValue)
The public constructor for external values (i.e. |
Method Summary | |
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 |
setEventSourceValue(java.lang.Object aSource)
sets the EventSourceValue. |
Methods inherited from class org.objectweb.kilim.model.RtComponentSource |
addInterfaceListener, evaluationPerformed, getCurrentSVP, getInterfaceListeners, removeInterfaceListener |
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.String name
private java.lang.Object value
Constructor Detail |
public RtExternalValue(java.lang.String aName, java.lang.Object aValue)
aName
- : the name of the external valueaValue
- : the object reference.Method Detail |
public java.lang.String getLocalName()
ComponentElement
ComponentElement.getLocalName()
public java.lang.Object getValue() throws KilimException
RuntimeSource
KilimException
- : the exception is generated when the method is invoked on unbound references
or on illegal elements.RuntimeSource.getValue()
public boolean isEventSource()
RuntimeSource
RuntimeSource.isEventSource()
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.org.objectweb.kilim.model.RuntimeSource#getEventSource()
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.org.objectweb.kilim.model.RuntimeSource#setEventSource(Object)
public boolean hasValue() throws KilimException
RuntimeSource
KilimException
- :org.objectweb.kilim.model.RuntimeSource#checkValue()
public boolean checkValue(java.util.Stack exclude) throws KilimException
RuntimeSource
exclude
- : the exclude stack contains objects beiing in the process of being built.
KilimException
- :RuntimeSource.checkValue(Stack)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |