com.iphrase.runtime.query.constraint
Class Numeric.Eq

java.lang.Object
  |
  +--com.iphrase.runtime.query.Feature
        |
        +--com.iphrase.runtime.query.constraint.Constraint
              |
              +--com.iphrase.runtime.query.constraint.Numeric
                    |
                    +--com.iphrase.runtime.query.constraint.Numeric.Eq
Enclosing class:
Numeric

public static class Numeric.Eq
extends Numeric

Constrain a feature to be equal to a particular numeric value.


Inner classes inherited from class com.iphrase.runtime.query.constraint.Numeric
Numeric.Eq, Numeric.Gt, Numeric.Gte, Numeric.Lt, Numeric.Lte, Numeric.Neq, Numeric.Range
 
Inner classes inherited from class com.iphrase.runtime.query.constraint.Constraint
Constraint.Flags
 
Constructor Summary
Numeric.Eq(java.lang.String feature, double value)
          Construct a numeric feature == value constraint.
 
Methods inherited from class com.iphrase.runtime.query.constraint.Numeric
getConstraintSubType, getValue, matches, newInstance, toString
 
Methods inherited from class com.iphrase.runtime.query.constraint.Constraint
clearExplicit, clearHidden, clearNew, clearNotSerialized, clearPrePruned, clearRequired, clearState, equals, getConstraintLabel, getDisplayPrefix, getIsMentions, getState, getType, isExplicit, isHidden, isMentions, isNew, isNotSerialized, isPrePruned, isRangeConstraintType, isRequired, newInstance, newInstance, setExplicit, setHidden, setHidden, setNew, setNotSerialized, setPrePruned, setRequired, setState
 
Methods inherited from class com.iphrase.runtime.query.Feature
getId
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Numeric.Eq

public Numeric.Eq(java.lang.String feature,
                  double value)
Construct a numeric feature == value constraint.
Parameters:
id - valid String numeric feature id
value - number to which the constraint applies

© Copyright 2005, 2006. IBM Corporation. All rights reserved.