org.apache.jdo.jdoql.tree
Interface Declaration

All Superinterfaces:
Node, java.io.Serializable
All Known Subinterfaces:
ParameterDeclaration, VariableDeclaration
All Known Implementing Classes:
Decl, ParameterDecl, VariableDecl

public interface Declaration
extends Node

This node represents a declaration expression. Examples of declarations expressions are ParameterDeclarationExpression and VariableDeclarationExpression. Declaration expressions do not have any children.

Author:
Michael Watzek

Method Summary
 java.lang.String getName()
          Returns the name of the specialized declaration.
 java.lang.String getTypeName()
          Returns the Java type name of the specialized declaration.
 
Methods inherited from interface org.apache.jdo.jdoql.tree.Node
arrive, getChildren, getJavaClass, getObject, getParent, getTokenType, leave, setObject, setParent, walkNextChild
 

Method Detail

getName

java.lang.String getName()
Returns the name of the specialized declaration.

Returns:
the name

getTypeName

java.lang.String getTypeName()
Returns the Java type name of the specialized declaration.

Returns:
the Java type name


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