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

java.lang.Object
  extended by org.eclipse.persistence.jaxb.javamodel.reflection.JavaPackageImpl
All Implemented Interfaces:
JavaHasAnnotations, JavaPackage

public class JavaPackageImpl
extends Object
implements JavaPackage

INTERNAL:

Purpose:A wrapper class for a JDK Package. This implementation of the TopLink JAXB 2.0 Java model simply makes reflective calls on the underlying JDK object.

Responsibilities:

Since:
Oracle TopLink 11.1.1.0.0
See Also:
JavaPackage, Package

Constructor Summary
JavaPackageImpl(Package javaPackage, JavaModelImpl javaModelImpl)
           
 
Method Summary
 AnnotatedElement getAnnotatedElement()
           
 JavaAnnotation getAnnotation(JavaClass arg0)
          Assumes JavaType is a JavaClassImpl instance
 Collection getAnnotations()
           
 JavaAnnotation getDeclaredAnnotation(JavaClass arg0)
           
 Collection getDeclaredAnnotations()
           
 String getName()
           
 String getQualifiedName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaPackageImpl

public JavaPackageImpl(Package javaPackage,
                       JavaModelImpl javaModelImpl)
Method Detail

getAnnotation

public JavaAnnotation getAnnotation(JavaClass arg0)
Assumes JavaType is a JavaClassImpl instance

Specified by:
getAnnotation in interface JavaHasAnnotations

getAnnotations

public Collection getAnnotations()
Specified by:
getAnnotations in interface JavaHasAnnotations

getName

public String getName()

getQualifiedName

public String getQualifiedName()
Specified by:
getQualifiedName in interface JavaPackage

getAnnotatedElement

public AnnotatedElement getAnnotatedElement()

getDeclaredAnnotation

public JavaAnnotation getDeclaredAnnotation(JavaClass arg0)
Specified by:
getDeclaredAnnotation in interface JavaHasAnnotations

getDeclaredAnnotations

public Collection getDeclaredAnnotations()
Specified by:
getDeclaredAnnotations in interface JavaHasAnnotations