Package org.apache.ofbiz.widget.model
Class AbstractModelAction.GetRelatedOne
- java.lang.Object
-
- org.apache.ofbiz.widget.model.AbstractModelAction
-
- org.apache.ofbiz.widget.model.AbstractModelAction.GetRelatedOne
-
- All Implemented Interfaces:
java.io.Serializable
,ModelAction
- Enclosing class:
- AbstractModelAction
public static class AbstractModelAction.GetRelatedOne extends AbstractModelAction
Models the <get-related-one> 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 GetRelatedOne(ModelWidget modelWidget, org.w3c.dom.Element getRelatedOneElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelActionVisitor visitor)
java.lang.String
getRelationName()
FlexibleMapAccessor<java.lang.Object>
getToValueNameAcsr()
boolean
getUseCache()
FlexibleMapAccessor<java.lang.Object>
getValueNameAcsr()
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
-
GetRelatedOne
public GetRelatedOne(ModelWidget modelWidget, org.w3c.dom.Element getRelatedOneElement)
-
-
Method Detail
-
accept
public void accept(ModelActionVisitor visitor) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getRelationName
public java.lang.String getRelationName()
-
runAction
public void runAction(java.util.Map<java.lang.String,java.lang.Object> context)
Description copied from interface:ModelAction
Executes this action.
-
getToValueNameAcsr
public FlexibleMapAccessor<java.lang.Object> getToValueNameAcsr()
-
getUseCache
public boolean getUseCache()
-
getValueNameAcsr
public FlexibleMapAccessor<java.lang.Object> getValueNameAcsr()
-
-