org.apache.jdo.jdoql.tree
Interface StaticFieldAccessExpression

All Superinterfaces:
Expression, IdentifierExpression, Node, java.io.Serializable
All Known Implementing Classes:
StaticFieldAccessExpr

public interface StaticFieldAccessExpression
extends IdentifierExpression

This node represents a static field access expression. It inherits from IdentifierExpression. Static Field access expressions have exactly one child, the type of the clazz containing the static field.

Author:
Michael Watzek

Method Summary
 java.lang.Object getFieldValue(javax.jdo.PersistenceManager pm)
          Returns the value of the field corresponding with this static field access expression.
 
Methods inherited from interface org.apache.jdo.jdoql.tree.IdentifierExpression
getName, getTypeName
 
Methods inherited from interface org.apache.jdo.jdoql.tree.Node
arrive, getChildren, getJavaClass, getObject, getParent, getTokenType, leave, setObject, setParent, walkNextChild
 

Method Detail

getFieldValue

java.lang.Object getFieldValue(javax.jdo.PersistenceManager pm)
Returns the value of the field corresponding with this static field access expression.

Parameters:
pm - the persistence manager of the query
Returns:
the field value
Throws:
JDOQueryException - if access to the corresponding field of this expression is denied


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.