Package org.apache.ofbiz.product.product
Class ProductSearch.FeatureConstraint
- java.lang.Object
-
- org.apache.ofbiz.product.product.ProductSearch.ProductSearchConstraint
-
- org.apache.ofbiz.product.product.ProductSearch.FeatureConstraint
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ProductSearch
public static class ProductSearch.FeatureConstraint extends ProductSearch.ProductSearchConstraint
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
constraintName
protected java.lang.Boolean
exclude
This is a tri-state variable: null = Include, true = Exclude, false = AlwaysIncludeprotected java.lang.String
productFeatureId
-
Constructor Summary
Constructors Constructor Description FeatureConstraint(java.lang.String productFeatureId, java.lang.Boolean exclude)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConstraint(ProductSearch.ProductSearchContext productSearchContext)
boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.String
prettyPrintConstraint(Delegator delegator, boolean detailed, java.util.Locale locale)
pretty print for log messages and even UI stuffjava.lang.String
prettyPrintConstraint(LocalDispatcher dispatcher, boolean detailed, java.util.Locale locale)
-
-
-
Field Detail
-
constraintName
public static final java.lang.String constraintName
- See Also:
- Constant Field Values
-
productFeatureId
protected java.lang.String productFeatureId
-
exclude
protected java.lang.Boolean exclude
This is a tri-state variable: null = Include, true = Exclude, false = AlwaysInclude
-
-
Method Detail
-
addConstraint
public void addConstraint(ProductSearch.ProductSearchContext productSearchContext)
- Specified by:
addConstraint
in classProductSearch.ProductSearchConstraint
-
prettyPrintConstraint
public java.lang.String prettyPrintConstraint(Delegator delegator, boolean detailed, java.util.Locale locale)
Description copied from class:ProductSearch.ProductSearchConstraint
pretty print for log messages and even UI stuff- Specified by:
prettyPrintConstraint
in classProductSearch.ProductSearchConstraint
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
prettyPrintConstraint
public java.lang.String prettyPrintConstraint(LocalDispatcher dispatcher, boolean detailed, java.util.Locale locale)
- Specified by:
prettyPrintConstraint
in classProductSearch.ProductSearchConstraint
-
-