org.objectweb.kilim.model
Class ComponentFactory.RTSetter
java.lang.Object
org.objectweb.kilim.model.RtComponentElement
org.objectweb.kilim.model.ComponentFactory.RTSetter
- All Implemented Interfaces:
- ComponentElement, RuntimeAction, RuntimeElement
- Enclosing class:
- ComponentFactory
- private static class ComponentFactory.RTSetter
- extends RtComponentElement
- implements RuntimeAction
Method Summary |
boolean |
checkAction(java.util.Stack exclude)
returns whether an action can be performed without any new constructive action. |
void |
execute()
executes the method, constructor, setter, getter implementing the RuntimeAction. |
java.lang.Object |
getEventSourceValue()
gets the event source value (i.e. |
(package private) java.lang.String |
getFieldName()
|
java.lang.String |
getLocalName()
returns the local name of the component element. |
(package private) boolean |
isStatic()
|
void |
setEventSourceValue(java.lang.Object aValue)
sets the event source value (i.e. |
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 |
name
private java.lang.String name
source
private java.lang.Object source
value
private RuntimeSource value
support
private RuntimeSource support
mapper
private Mapper mapper
mappingContext
private MappingContext mappingContext
ComponentFactory.RTSetter
ComponentFactory.RTSetter(TpSetter aGetter,
Component aComponent,
RuntimeSource aSupport,
RuntimeSource aValue)
getLocalName
public java.lang.String getLocalName()
- Description copied from interface:
ComponentElement
- returns the local name of the component element.
- Specified by:
getLocalName
in interface ComponentElement
- Returns:
- String
- See Also:
ComponentElement.getLocalName()
setEventSourceValue
public void setEventSourceValue(java.lang.Object aValue)
- Description copied from interface:
RuntimeAction
- sets the event source value (i.e. the reference to the object being the current event source)..
- Specified by:
setEventSourceValue
in interface RuntimeAction
- Parameters:
aValue
- : the value of the source.
getEventSourceValue
public java.lang.Object getEventSourceValue()
throws KilimException
- Description copied from interface:
RuntimeAction
- gets the event source value (i.e. the reference to the object being the current event source)..
- Specified by:
getEventSourceValue
in interface RuntimeAction
- Returns:
- Object : the reference of the trigger source.
- Throws:
KilimException
- : the exception is generated when the method is invoked on unbound references
or on illegal elements.
getFieldName
java.lang.String getFieldName()
isStatic
boolean isStatic()
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.
checkAction
public boolean checkAction(java.util.Stack exclude)
throws KilimException
- Description copied from interface:
RuntimeAction
- returns whether an action can be performed without any new constructive action.
- Specified by:
checkAction
in interface RuntimeAction
- Parameters:
exclude
- is the stack of runtime element which are under evaluation (i.e. element in the process of a constructive action).
- Returns:
- boolean
- Throws:
KilimException
- :