Package org.camunda.bpm.engine.impl
Class QueryVariableValue
- java.lang.Object
-
- org.camunda.bpm.engine.impl.QueryVariableValue
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
TaskQueryVariableValue
public class QueryVariableValue extends java.lang.Object implements java.io.Serializable
Represents a variable value used in queries.- Author:
- Frederik Heremans
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
local
protected java.lang.String
name
protected QueryOperator
operator
protected static long
serialVersionUID
protected TypedValue
value
protected AbstractQueryVariableValueCondition
valueCondition
protected boolean
variableNameIgnoreCase
protected boolean
variableValueIgnoreCase
-
Constructor Summary
Constructors Constructor Description QueryVariableValue(java.lang.String name, java.lang.Object value, QueryOperator operator, boolean local)
QueryVariableValue(java.lang.String name, java.lang.Object value, QueryOperator operator, boolean local, boolean variableNameIgnoreCase, boolean variableValueIgnoreCase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getName()
QueryOperator
getOperator()
java.lang.String
getOperatorName()
TypedValue
getTypedValue()
java.lang.Object
getValue()
java.util.List<SingleQueryVariableValueCondition>
getValueConditions()
int
hashCode()
void
initialize(VariableSerializers serializers, java.lang.String dbType)
boolean
isLocal()
boolean
isVariableNameIgnoreCase()
boolean
isVariableValueIgnoreCase()
void
setVariableNameIgnoreCase(boolean variableNameIgnoreCase)
void
setVariableValueIgnoreCase(boolean variableValueIgnoreCase)
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
- See Also:
- Constant Field Values
-
name
protected java.lang.String name
-
value
protected TypedValue value
-
operator
protected QueryOperator operator
-
local
protected boolean local
-
valueCondition
protected AbstractQueryVariableValueCondition valueCondition
-
variableNameIgnoreCase
protected boolean variableNameIgnoreCase
-
variableValueIgnoreCase
protected boolean variableValueIgnoreCase
-
-
Constructor Detail
-
QueryVariableValue
public QueryVariableValue(java.lang.String name, java.lang.Object value, QueryOperator operator, boolean local)
-
QueryVariableValue
public QueryVariableValue(java.lang.String name, java.lang.Object value, QueryOperator operator, boolean local, boolean variableNameIgnoreCase, boolean variableValueIgnoreCase)
-
-
Method Detail
-
initialize
public void initialize(VariableSerializers serializers, java.lang.String dbType)
-
getValueConditions
public java.util.List<SingleQueryVariableValueCondition> getValueConditions()
-
getName
public java.lang.String getName()
-
getOperator
public QueryOperator getOperator()
-
getOperatorName
public java.lang.String getOperatorName()
-
getValue
public java.lang.Object getValue()
-
getTypedValue
public TypedValue getTypedValue()
-
isLocal
public boolean isLocal()
-
isVariableNameIgnoreCase
public boolean isVariableNameIgnoreCase()
-
setVariableNameIgnoreCase
public void setVariableNameIgnoreCase(boolean variableNameIgnoreCase)
-
isVariableValueIgnoreCase
public boolean isVariableValueIgnoreCase()
-
setVariableValueIgnoreCase
public void setVariableValueIgnoreCase(boolean variableValueIgnoreCase)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-