|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.iternum.swlink.action.AbstractAction
com.iternum.swlink.action.PropertySyncAction
This action is used to synchronize an Property from a source to a target.
| Constructor Summary | |
PropertySyncAction()
Default Constructor. |
|
PropertySyncAction(java.lang.String pSourceProperty,
java.lang.String pTargetProperty,
boolean pReentrant)
Creates a PropertySyncAction for a unidirectional property change. |
|
| Method Summary | |
void |
close()
Close this target action and remove its relationships. |
java.lang.String |
getSourceProperty()
|
java.lang.String |
getTargetProperty()
|
void |
performAction(java.lang.Object pSource,
java.lang.Object pTarget,
java.lang.Object pArgs)
Retrieves the getter and setter methods and invokes the application. |
void |
setActionParam(java.util.Map pParam)
|
void |
setSourceProperty(java.lang.String pSourceProperty)
|
void |
setTargetProperty(java.lang.String pTargetProperty)
|
| Methods inherited from class com.iternum.swlink.action.AbstractAction |
isReentrant, perform, setReentrant |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PropertySyncAction()
public PropertySyncAction(java.lang.String pSourceProperty,
java.lang.String pTargetProperty,
boolean pReentrant)
pSourceProperty - - The name of the
source to synchronize withpTargetProperty - - The name of the
source to synchronize topReentrant - true if this action is reentrant| Method Detail |
public void performAction(java.lang.Object pSource,
java.lang.Object pTarget,
java.lang.Object pArgs)
performAction in class AbstractActionpSource - - The source object to obtain the
property frompTarget - - The target object to synchronize
the property topArgs - - Additional arguments - ignored for this ActivatorAction.perform(
java.lang.Object, java.lang.Object, java.lang.Object)public void close()
Action
Action.close()public void setActionParam(java.util.Map pParam)
pParam - A Map with the entries for the target and source
property name using keys as defined in the public constants
in this class.public java.lang.String getSourceProperty()
public void setSourceProperty(java.lang.String pSourceProperty)
pSourceProperty - The sourceProperty to set.public java.lang.String getTargetProperty()
public void setTargetProperty(java.lang.String pTargetProperty)
pTargetProperty - The targetProperty to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||