Module org.eclipse.persistence.moxy
Class JavaModelInputImpl
java.lang.Object
org.eclipse.persistence.jaxb.javamodel.reflection.JavaModelInputImpl
- All Implemented Interfaces:
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:
- Create an array of JavaClass instances from an array of Classes
- Return an array of JavaClass objects to be used by the generator
- Return the JavaModel to be used during generation
- Since:
- Oracle TopLink 11.1.1.0.0
- See Also:
-
Constructor Summary
ConstructorDescriptionJavaModelInputImpl
(Class<?>[] classes, JavaModel javaModel) JavaModelInputImpl
(Type[] types, JavaModel javaModel) This constructor builds an array of JavaClass objects from an array of Types.JavaModelInputImpl
(TypeMappingInfo[] types, JavaModel javaModel) -
Method Summary
-
Constructor Details
-
JavaModelInputImpl
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. -
JavaModelInputImpl
-
JavaModelInputImpl
-
-
Method Details
-
getJavaClasses
- Specified by:
getJavaClasses
in interfaceJavaModelInput
-
getJavaModel
- Specified by:
getJavaModel
in interfaceJavaModelInput
-
isFacets
public boolean isFacets() -
setFacets
public void setFacets(boolean facets)
-