SolarMetric Kodo JDO 3.2.4 generated on January 7 2005

kodo.query
Interface Value

All Known Subinterfaces:
Path, Subquery

public interface Value

Marker 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.2.4 generated on January 7 2005

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