Package org.apache.ofbiz.widget.model
Class AbstractModelAction.SetField
- java.lang.Object
-
- org.apache.ofbiz.widget.model.AbstractModelAction
-
- org.apache.ofbiz.widget.model.AbstractModelAction.SetField
-
- All Implemented Interfaces:
java.io.Serializable
,ModelAction
- Enclosing class:
- AbstractModelAction
public static class AbstractModelAction.SetField extends AbstractModelAction
Models the <set> element.- See Also:
widget-common.xsd
, Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.ofbiz.widget.model.AbstractModelAction
AbstractModelAction.EntityAnd, AbstractModelAction.EntityCondition, AbstractModelAction.EntityOne, AbstractModelAction.GetRelated, AbstractModelAction.GetRelatedOne, AbstractModelAction.PropertyMap, AbstractModelAction.PropertyToField, AbstractModelAction.Script, AbstractModelAction.Service, AbstractModelAction.SetField
-
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.widget.model.AbstractModelAction
module
-
-
Constructor Summary
Constructors Constructor Description SetField(ModelWidget modelWidget, org.w3c.dom.Element setElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelActionVisitor visitor)
FlexibleStringExpander
getDefaultExdr()
FlexibleMapAccessor<java.lang.Object>
getField()
FlexibleMapAccessor<java.lang.Object>
getFromField()
java.lang.String
getFromScope()
FlexibleStringExpander
getGlobalExdr()
java.lang.Object
getInMemoryPersistedFromField(java.lang.Object storeAgent, java.util.Map<java.lang.String,java.lang.Object> context)
java.lang.String
getToScope()
java.lang.String
getType()
FlexibleStringExpander
getValueExdr()
void
runAction(java.util.Map<java.lang.String,java.lang.Object> context)
Executes this action.-
Methods inherited from class org.apache.ofbiz.widget.model.AbstractModelAction
getModelWidget, newInstance, readSubActions, runSubActions, toString
-
-
-
-
Constructor Detail
-
SetField
public SetField(ModelWidget modelWidget, org.w3c.dom.Element setElement)
-
-
Method Detail
-
accept
public void accept(ModelActionVisitor visitor) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getInMemoryPersistedFromField
public java.lang.Object getInMemoryPersistedFromField(java.lang.Object storeAgent, java.util.Map<java.lang.String,java.lang.Object> context)
-
runAction
public void runAction(java.util.Map<java.lang.String,java.lang.Object> context)
Description copied from interface:ModelAction
Executes this action.
-
getDefaultExdr
public FlexibleStringExpander getDefaultExdr()
-
getField
public FlexibleMapAccessor<java.lang.Object> getField()
-
getFromField
public FlexibleMapAccessor<java.lang.Object> getFromField()
-
getFromScope
public java.lang.String getFromScope()
-
getGlobalExdr
public FlexibleStringExpander getGlobalExdr()
-
getToScope
public java.lang.String getToScope()
-
getType
public java.lang.String getType()
-
getValueExdr
public FlexibleStringExpander getValueExdr()
-
-