Package org.apache.ofbiz.widget.model
Class AbstractModelCondition
- java.lang.Object
-
- org.apache.ofbiz.widget.model.AbstractModelCondition
-
- All Implemented Interfaces:
java.io.Serializable
,ModelCondition
- Direct Known Subclasses:
AbstractModelCondition.And
,AbstractModelCondition.IfCompare
,AbstractModelCondition.IfCompareField
,AbstractModelCondition.IfEmpty
,AbstractModelCondition.IfEntityPermission
,AbstractModelCondition.IfHasPermission
,AbstractModelCondition.IfRegexp
,AbstractModelCondition.IfServicePermission
,AbstractModelCondition.IfValidateMethod
,AbstractModelCondition.Not
,AbstractModelCondition.Or
,AbstractModelCondition.Xor
,ModelScreenCondition.IfEmptySection
public abstract class AbstractModelCondition extends java.lang.Object implements java.io.Serializable, ModelCondition
Abstract base class for the condition models.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractModelCondition.And
Models the <and> element.static class
AbstractModelCondition.DefaultConditionFactory
AModelCondition
factory.static class
AbstractModelCondition.IfCompare
Models the <if-compare> element.static class
AbstractModelCondition.IfCompareField
Models the <if-compare-field> element.static class
AbstractModelCondition.IfEmpty
Models the <if-empty> element.static class
AbstractModelCondition.IfEntityPermission
Models the <if-entity-permission> element.static class
AbstractModelCondition.IfHasPermission
Models the <if-has-permission> element.static class
AbstractModelCondition.IfRegexp
Models the <if-regexp> element.static class
AbstractModelCondition.IfServicePermission
Models the <if-service-permission> element.static class
AbstractModelCondition.IfValidateMethod
Models the <if-validate-method> element.static class
AbstractModelCondition.Not
Models the <not> element.static class
AbstractModelCondition.Or
Models the <or> element.static class
AbstractModelCondition.Xor
Models the <xor> element.
-
Field Summary
Fields Modifier and Type Field Description static ModelConditionFactory
DEFAULT_CONDITION_FACTORY
static java.lang.String
module
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractModelCondition(ModelConditionFactory factory, ModelWidget modelWidget, org.w3c.dom.Element conditionElement)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelWidget
getModelWidget()
static java.util.List<ModelCondition>
readSubConditions(ModelConditionFactory factory, ModelWidget modelWidget, org.w3c.dom.Element conditionElement)
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.ofbiz.widget.model.ModelCondition
accept, eval
-
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
DEFAULT_CONDITION_FACTORY
public static final ModelConditionFactory DEFAULT_CONDITION_FACTORY
-
-
Constructor Detail
-
AbstractModelCondition
protected AbstractModelCondition(ModelConditionFactory factory, ModelWidget modelWidget, org.w3c.dom.Element conditionElement)
-
-
Method Detail
-
readSubConditions
public static java.util.List<ModelCondition> readSubConditions(ModelConditionFactory factory, ModelWidget modelWidget, org.w3c.dom.Element conditionElement)
-
getModelWidget
public ModelWidget getModelWidget()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-