public class PatternConstraint extends QueryElement
PatternElement element.caseSensitive, name, typeCondition, value, valueType, wildcards| Constructor and Description |
|---|
PatternConstraint(java.lang.String condition)
Create a new instance of PatternConstraint.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCondition()
Get the element type or query condition.
|
boolean |
isSame(PatternConstraint constraint)
Return true if the constraint passed in would result in the same evaluation
as this constraint.
|
getCase, getName, getTypeOrCondition, getValue, getValueType, getWildcards, setBooleans, setName, setValue, setValueTypepublic PatternConstraint(java.lang.String condition)
condition - the evaluation condition, for example AiHeuristicConst.GT
or NE and so on.public boolean isSame(PatternConstraint constraint)
constraint - the constraint to compare with.public java.lang.String getCondition()