org.apache.jdo.jdoql.tree
Interface Type

All Superinterfaces:
Node, java.io.Serializable
All Known Implementing Classes:
TypeImpl

public interface Type
extends Node

This node represents a type instance. A type instance wraps a java.lang.Class instance which has been supplied by the application. The following nodes have type instances as children:

  • CandidateClass
  • CastExpression
  • Declaration The result type of a type instance is the wrapped java.lang.Class instance. Type instances are not visible in query tree factory methods and expression factory methods. They are internally created by in implementation and are walked by a node visitor.

    Author:
    Michael Watzek

    Method Summary
     java.lang.String getTypeName()
              Returns the string representation of the Java class, which is wrapped by this instance.
     
    Methods inherited from interface org.apache.jdo.jdoql.tree.Node
    arrive, getChildren, getJavaClass, getObject, getParent, getTokenType, leave, setObject, setParent, walkNextChild
     

    Method Detail

    getTypeName

    java.lang.String getTypeName()
    Returns the string representation of the Java class, which is wrapped by this instance.

    Returns:
    the Java type name


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