SolarMetric Kodo JDO 3.4.1 generated on May 30 2006

kodo.query
Interface Value

All Known Subinterfaces:
Args, Constant, Path, Subquery, Val

public interface Value

Interface for any non-operator in a query filter, including constants, variables, and object fields.


Method Summary
 ClassMetaData getMetaData()
          Return any associated persistent type.
 Class getType()
          Return the expected type for this value, or Object if the type is unknown.
 boolean isVariable()
          Return true if this value is a variable.
 void setImplicitType(Class type)
          Set the implicit type of the value, based on how it is used in the filter.
 void setMetaData(ClassMetaData meta)
          Associate a persistent type with this value.
 

Method Detail

getType

public Class getType()
Return the expected type for this value, or Object if the type is unknown.

setImplicitType

public void setImplicitType(Class type)
Set the implicit type of the value, based on how it is used in the filter. This method is only called on values who return Object from getType().

isVariable

public boolean isVariable()
Return true if this value is a variable.

setMetaData

public void setMetaData(ClassMetaData meta)
Associate a persistent type with this value.

getMetaData

public ClassMetaData getMetaData()
Return any associated persistent type.

SolarMetric Kodo JDO 3.4.1 generated on May 30 2006

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.