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:
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, Element getRelatedOneElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelActionVisitor visitor)
String
getRelationName()
FlexibleMapAccessor<Object>
getToValueNameAcsr()
boolean
getUseCache()
FlexibleMapAccessor<Object>
getValueNameAcsr()
void
runAction(Map<String,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, Element getRelatedOneElement)
-
-
Method Detail
-
accept
public void accept(ModelActionVisitor visitor) throws Exception
- Throws:
Exception
-
getRelationName
public String getRelationName()
-
runAction
public void runAction(Map<String,Object> context)
Description copied from interface:ModelAction
Executes this action.
-
getToValueNameAcsr
public FlexibleMapAccessor<Object> getToValueNameAcsr()
-
getUseCache
public boolean getUseCache()
-
getValueNameAcsr
public FlexibleMapAccessor<Object> getValueNameAcsr()
-
-