SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

com.solarmetric.rd.kodo.query.exp
Class InMemoryPath

java.lang.Object
  |
  +--com.solarmetric.rd.kodo.query.exp.InMemoryPath
All Implemented Interfaces:
InMemoryValue, Path, Value
Direct Known Subclasses:
ValuePath

public class InMemoryPath
extends java.lang.Object
implements Path, InMemoryValue

A path represents a traversal into fields of a candidate object.


Constructor Summary
InMemoryPath()
           
 
Method Summary
 void castTo(java.lang.Class type)
          Cast this value to the given type.
 java.lang.Object evaluate(java.lang.Object candidate, java.lang.Object orig, com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm, java.util.Map params)
          Evaluate the given candidate.
 void get(java.lang.String field)
          Traverse into the given field of the current object, and update the current object to that field value.
 boolean isVariable()
          Return true if this value is a variable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryPath

public InMemoryPath()
Method Detail

get

public void get(java.lang.String field)
Traverse into the given field of the current object, and update the current object to that field value.

Specified by:
get in interface Path

isVariable

public boolean isVariable()
Description copied from interface: Value
Return true if this value is a variable.

Specified by:
isVariable in interface Value

castTo

public void castTo(java.lang.Class type)
Description copied from interface: InMemoryValue
Cast this value to the given type.

Specified by:
castTo in interface InMemoryValue

evaluate

public java.lang.Object evaluate(java.lang.Object candidate,
                                 java.lang.Object orig,
                                 com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
                                 java.util.Map params)
Description copied from interface: InMemoryValue
Evaluate the given candidate.

Specified by:
evaluate in interface InMemoryValue

SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

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