EclipseLink 2.3.2, build 'v20111125-r10461' API Reference

org.eclipse.persistence.jaxb.javamodel.reflection
Class JavaModelInputImpl

java.lang.Object
  extended by org.eclipse.persistence.jaxb.javamodel.reflection.JavaModelInputImpl
All Implemented Interfaces:
JavaModelInput

public class JavaModelInputImpl
extends java.lang.Object
implements JavaModelInput

INTERNAL:

Purpose:Provide access to an array of JavaClass instances and their associated JavaModel. This class will transform an array of Class objects to an array of JavaClasses.

Responsibilities:

See Also:
JavaClass, JavaModel, JavaModelInput
Since:
Oracle TopLink 11.1.1.0.0

Constructor Summary
JavaModelInputImpl(java.lang.Class[] classes, JavaModel javaModel)
           
JavaModelInputImpl(java.lang.reflect.Type[] types, JavaModel javaModel)
          This constructor builds an array of JavaClass objects from an array of Types.
JavaModelInputImpl(TypeMappingInfo[] types, JavaModel javaModel)
           
 
Method Summary
 JavaClass[] getJavaClasses()
           
 JavaModel getJavaModel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaModelInputImpl

public JavaModelInputImpl(java.lang.reflect.Type[] types,
                          JavaModel javaModel)
This constructor builds an array of JavaClass objects from an array of Types. The JavaModel instance to be used is also set here. This constructor assumes that the a given type in the list will either be a Class or ParameterizedType.

Parameters:
types -
javaModel -

JavaModelInputImpl

public JavaModelInputImpl(TypeMappingInfo[] types,
                          JavaModel javaModel)

JavaModelInputImpl

public JavaModelInputImpl(java.lang.Class[] classes,
                          JavaModel javaModel)
Method Detail

getJavaClasses

public JavaClass[] getJavaClasses()
Specified by:
getJavaClasses in interface JavaModelInput

getJavaModel

public JavaModel getJavaModel()
Specified by:
getJavaModel in interface JavaModelInput

EclipseLink 2.3.2, build 'v20111125-r10461' API Reference