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
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ModelActionVisitor visitor) Gets relation name.Gets to value name acsr.boolean
Gets use cache.Gets value name acsr.void
Executes this action.Methods inherited from class org.apache.ofbiz.widget.model.AbstractModelAction
getModelWidget, newInstance, readSubActions, runSubActions, toString
-
Constructor Details
-
GetRelatedOne
-
-
Method Details
-
accept
- Throws:
Exception
-
getRelationName
Gets relation name.- Returns:
- the relation name
-
runAction
Description copied from interface:ModelAction
Executes this action. -
getToValueNameAcsr
Gets to value name acsr.- Returns:
- the to value name acsr
-
getUseCache
public boolean getUseCache()Gets use cache.- Returns:
- the use cache
-
getValueNameAcsr
Gets value name acsr.- Returns:
- the value name acsr
-