java.lang.Object
org.eclipse.persistence.jaxb.javamodel.reflection.JavaModelImpl
All Implemented Interfaces:
JavaModel
Direct Known Subclasses:
OXMJavaModelImpl

public class JavaModelImpl extends Object implements JavaModel
INTERNAL:

Purpose:The JavaModel is the central access point to the TopLink JAXB 2.0 Java model implementation's source/class files. A JavaModel has an underlying source/classpath that defines its search path.

Responsibilities:

  • Return a JavaClass based on a Class or Class name
  • Return a JDK Annotation for a given JavaAnnotation
Since:
Oracle TopLink 11.1.1.0.0
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getClass

      public JavaClass getClass(Class<?> jClass)
      Specified by:
      getClass in interface JavaModel
    • getClass

      public JavaClass getClass(String className)
      Specified by:
      getClass in interface JavaModel
    • getClassLoader

      public ClassLoader getClassLoader()
      Specified by:
      getClassLoader in interface JavaModel
    • getAnnotation

      public Annotation getAnnotation(JavaAnnotation janno, Class<?> jClass)
      Specified by:
      getAnnotation in interface JavaModel
    • getAnnotationHelper

      public AnnotationHelper getAnnotationHelper()
    • setMetadataCompletePackageMap

      public void setMetadataCompletePackageMap(Map<String,Boolean> metadataCompletePackageMap)
      Set the Map of package names to metadata complete indicators for this JavaModelInput. If a given package has no entry in this map it is assumed to be metadata incomplete.
    • getCachedJavaClasses

      public Map<String,JavaClassImpl> getCachedJavaClasses()
    • hasXmlBindings

      public boolean hasXmlBindings()
    • setHasXmlBindings

      public void setHasXmlBindings(boolean hasXmlBindings)