org.objectweb.kilim.model
Class ComponentFactory.RTGetter

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.RTGetter
All Implemented Interfaces:
ComponentElement, ComponentInterface, ComponentSource, RuntimeElement, RuntimeSource
Enclosing class:
ComponentFactory

private static class ComponentFactory.RTGetter
extends RtComponentProvider


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.RTGetter(TpGetter aGetter, Component aComponent, RuntimeSource aSupport)
           
 
Method Summary
 boolean checkValue(java.util.Stack exclude)
          returns whether a value can be obtained without having to create new objects
(package private)  java.lang.String getFieldName()
           
 boolean hasValue()
          returns whether the source has a value.
(package private)  boolean isStatic()
           
 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.ComponentElement
getContainingComponent, getContainingElement, getElementDescription, getQualifiedName, getTemplateDefHierarchy
 
Methods inherited from interface org.objectweb.kilim.model.RuntimeSource
addInterfaceListener, getTarget, removeInterfaceListener
 

Constructor Detail

ComponentFactory.RTGetter

ComponentFactory.RTGetter(TpGetter aGetter,
                          Component aComponent,
                          RuntimeSource aSupport)
Method Detail

getFieldName

java.lang.String getFieldName()

isStatic

boolean isStatic()

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 - :

hasValue

public boolean hasValue()
                 throws KilimException
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.

Returns:
boolean
Throws:
KilimException - : the exception is generated when the method is invoked on unbound references or nary ports.

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

Parameters:
exclude - : the exclude stack contains objects beiing in the process of being built.
Returns:
boolean
Throws:
KilimException - :