com.sun.wbem.query
Class ValueExp

java.lang.Object
  |
  +--com.sun.wbem.query.ValueExp
Direct Known Subclasses:
AttributeExp, DateTimeExp, NumericValue, StringValueExp

public abstract class ValueExp
extends java.lang.Object
implements java.io.Serializable

This class represents values that can be passed as arguments to SQL relational expressions. Strings, numbers, and SQL attributes are valid values and are represented respectively by instances of StringValueExp, AttributeExp, and NumericValue, all of which implement ValueExp.

Since:
WBEM 1.0
See Also:
StringValueExp, AttributeExp, NumericValue, Query, Serialized Form

Constructor Summary
ValueExp()
          Constructor for ValueExp
 
Method Summary
 ValueExp apply(CIMElement obj)
          Returns the value associated with this expression for the input 'row'.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueExp

public ValueExp()
Constructor for ValueExp
Method Detail

apply

public ValueExp apply(CIMElement obj)
               throws CIMException
Returns the value associated with this expression for the input 'row'. In WQL any 'row' is a CIMElement. The only CIMElement supported is CIMInstance. Depending on the subclass the value returned can be a constant or changes according the input CIMElement.