org.apache.jdo.model.java
Interface JavaElement

All Known Subinterfaces:
JavaField, JavaMember, JavaMethod, JavaProperty, JavaType
All Known Implementing Classes:
AbstractJavaMember, AbstractJavaType, BaseReflectionJavaField, JavaPropertyImpl, ReflectionJavaMethod

public interface JavaElement

This is the super interface for all the JavaModel elements, such as JavaField, JavaType, etc.

Since:
JDO 2.0
Author:
Michael Bouschen

Method Summary
 java.lang.Object getUnderlyingObject()
          Returns the environment specific instance wrapped by this JavaModel element.
 

Method Detail

getUnderlyingObject

public java.lang.Object getUnderlyingObject()
Returns the environment specific instance wrapped by this JavaModel element. E.g. a runtime implementation of JavaField might use a java.lang.reflect.Field instance as the underlying object.

Returns:
the environment specific instance wrapped by this JavaModel element.


Copyright © 2005 Apache Software Foundation. All Rights Reserved.