org.objectweb.kilim.model
Class ComponentFactory.RTNullElement

java.lang.Object
  extended byorg.objectweb.kilim.model.RtComponentElement
      extended byorg.objectweb.kilim.model.RtComponentSource
          extended byorg.objectweb.kilim.model.RtComponentInterface
              extended byorg.objectweb.kilim.model.RtComponentProvider
                  extended byorg.objectweb.kilim.model.ComponentFactory.RTNullElement
All Implemented Interfaces:
ComponentElement, ComponentInterface, ComponentSource, RuntimeAction, RuntimeElement, RuntimeSource
Enclosing class:
ComponentFactory

private static class ComponentFactory.RTNullElement
extends RtComponentProvider
implements RuntimeAction


Field Summary
 
Fields inherited from class org.objectweb.kilim.model.RtComponentProvider
callStack
 
Fields inherited from class org.objectweb.kilim.model.RtComponentInterface
fW, pW
 
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.RTNullElement(NullElement aNullElement, Component aComponent)
           
 
Method Summary
 boolean checkAction(java.util.Stack aStack)
          returns whether an action can be performed without any new constructive action.
 boolean checkValue(java.util.Stack exclude)
          returns whether a value can be obtained without having to create new objects
 void execute()
          executes the method, constructor, setter, getter implementing the RuntimeAction.
 boolean hasValue()
          returns whether the source has a value.
 java.lang.Object specificGetValue()
          Method specificGetValue.
 
Methods inherited from class org.objectweb.kilim.model.RtComponentProvider
bindProvider, getEventSourceValue, getKind, getLocalName, getSupport, isCollectionPort, isEventSource, isProperty, isProvider, isSingleValuePort, setEventSourceValue, specificBindValue, specificUnbindValue, unbindProvider
 
Methods inherited from class org.objectweb.kilim.model.RtComponentInterface
addTrigger, bindValue, fireTriggers, getTriggerList, getTriggers, getValue, initializeInstanciation, isModified, removeTrigger, setTriggersDone, triggersDone, unbindValue, update
 
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.RuntimeAction
getEventSourceValue, getTarget, setEventSourceValue
 
Methods inherited from interface org.objectweb.kilim.model.ComponentElement
getContainingComponent, getContainingElement, getElementDescription, getQualifiedName, getTemplateDefHierarchy
 
Methods inherited from interface org.objectweb.kilim.model.RuntimeSource
addInterfaceListener, getTarget, removeInterfaceListener
 

Constructor Detail

ComponentFactory.RTNullElement

ComponentFactory.RTNullElement(NullElement aNullElement,
                               Component aComponent)
Method Detail

specificGetValue

public java.lang.Object specificGetValue()
                                  throws KilimException
Description copied from class: RtComponentInterface
Method specificGetValue.

Specified by:
specificGetValue in class RtComponentInterface
Returns:
Object
Throws:
KilimException - :

execute

public void execute()
             throws KilimException
Description copied from interface: RuntimeAction
executes the method, constructor, setter, getter implementing the RuntimeAction.

Specified by:
execute in interface RuntimeAction
Throws:
KilimException - : the exception is generated when the method is invoked on unbound references or on illegal elements.

hasValue

public boolean hasValue()
Description copied from interface: RuntimeSource
returns whether the source has a value. The behaviour depends on the nature of the source. It always returns false when invoked on tagged providers, for example.

Specified by:
hasValue in interface ComponentSource
Returns:
boolean

checkAction

public boolean checkAction(java.util.Stack aStack)
Description copied from interface: RuntimeAction
returns whether an action can be performed without any new constructive action.

Specified by:
checkAction in interface RuntimeAction
Parameters:
aStack - is the stack of runtime element which are under evaluation (i.e. element in the process of a constructive action).
Returns:
boolean

checkValue

public boolean checkValue(java.util.Stack exclude)
                   throws KilimException
Description copied from interface: RuntimeSource
returns whether a value can be obtained without having to create new objects

Specified by:
checkValue in interface RuntimeSource
Parameters:
exclude - : the exclude stack contains objects beiing in the process of being built.
Returns:
boolean
Throws:
KilimException - :