Class EntityFieldMap
- java.lang.Object
-
- org.apache.ofbiz.entity.condition.EntityConditionBase
-
- org.apache.ofbiz.entity.condition.EntityCondition
-
- org.apache.ofbiz.entity.condition.EntityConditionListBase<EntityExpr>
-
- org.apache.ofbiz.entity.condition.EntityFieldMap
-
- All Implemented Interfaces:
java.io.Serializable
,IsEmpty
public final class EntityFieldMap extends EntityConditionListBase<EntityExpr>
Encapsulates simple expressions used for specifying queries- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.entity.condition.EntityConditionListBase
conditionList, module, operator
-
Fields inherited from class org.apache.ofbiz.entity.condition.EntityConditionBase
_emptyMap, emptyAliases, emptyList
-
-
Constructor Summary
Constructors Constructor Description EntityFieldMap(java.util.Map<java.lang.String,V> fieldMap, EntityComparisonOperator<?,?> compOp, EntityJoinOperator joinOp)
EntityFieldMap(EntityComparisonOperator<?,?> compOp, EntityJoinOperator joinOp, V... keysValues)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(EntityConditionVisitor visitor)
Applies a visitor to this condition.boolean
containsField(java.lang.String name)
java.lang.Object
getField(java.lang.String name)
java.util.Iterator<java.util.Map.Entry<java.lang.String,? extends java.lang.Object>>
getFieldEntryIterator()
java.util.Iterator<java.lang.String>
getFieldKeyIterator()
static <V> java.util.List<EntityExpr>
makeConditionList(java.util.Map<java.lang.String,V> fieldMap, EntityComparisonOperator<?,V> op)
-
Methods inherited from class org.apache.ofbiz.entity.condition.EntityConditionListBase
checkCondition, equals, freeze, getCondition, getConditionIterator, getConditionListSize, getOperator, hashCode, isEmpty, makeWhereString, mapMatches
-
Methods inherited from class org.apache.ofbiz.entity.condition.EntityCondition
entityMatches, eval, eval, makeCondition, makeCondition, makeCondition, makeCondition, makeCondition, makeCondition, makeCondition, makeCondition, makeCondition, makeCondition, makeCondition, makeCondition, makeConditionDate, makeConditionMap, makeConditionWhere, toString
-
Methods inherited from class org.apache.ofbiz.entity.condition.EntityConditionBase
addValue, castBoolean, equals, getColName, getColName, getColName, getField, hashCode
-
-
-
-
Constructor Detail
-
EntityFieldMap
@SafeVarargs public EntityFieldMap(EntityComparisonOperator<?,?> compOp, EntityJoinOperator joinOp, V... keysValues)
-
EntityFieldMap
public EntityFieldMap(java.util.Map<java.lang.String,V> fieldMap, EntityComparisonOperator<?,?> compOp, EntityJoinOperator joinOp)
-
-
Method Detail
-
makeConditionList
public static <V> java.util.List<EntityExpr> makeConditionList(java.util.Map<java.lang.String,V> fieldMap, EntityComparisonOperator<?,V> op)
-
getField
public java.lang.Object getField(java.lang.String name)
-
containsField
public boolean containsField(java.lang.String name)
-
getFieldKeyIterator
public java.util.Iterator<java.lang.String> getFieldKeyIterator()
-
getFieldEntryIterator
public java.util.Iterator<java.util.Map.Entry<java.lang.String,? extends java.lang.Object>> getFieldEntryIterator()
-
accept
public void accept(EntityConditionVisitor visitor)
Description copied from class:EntityCondition
Applies a visitor to this condition.- Specified by:
accept
in classEntityCondition
- Parameters:
visitor
- the visitor to be applied
-
-