EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

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 java.lang.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:

See Also:
JavaPackage, Package
Since:
Oracle TopLink 11.1.1.0.0

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

Field Detail

jPkg

protected java.lang.Package jPkg

jModelImpl

protected JavaModelImpl jModelImpl

isMetadataComplete

protected java.lang.Boolean isMetadataComplete
Constructor Detail

JavaPackageImpl

public JavaPackageImpl(java.lang.Package javaPackage,
                       JavaModelImpl javaModelImpl)

JavaPackageImpl

public JavaPackageImpl(java.lang.Package javaPackage,
                       JavaModelImpl javaModelImpl,
                       java.lang.Boolean isMetadataComplete)
Method Detail

getAnnotation

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

Specified by:
getAnnotation in interface JavaHasAnnotations

getAnnotations

public java.util.Collection getAnnotations()
Specified by:
getAnnotations in interface JavaHasAnnotations

getName

public java.lang.String getName()

getQualifiedName

public java.lang.String getQualifiedName()
Specified by:
getQualifiedName in interface JavaPackage

getAnnotatedElement

public java.lang.reflect.AnnotatedElement getAnnotatedElement()

getDeclaredAnnotation

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

getDeclaredAnnotations

public java.util.Collection getDeclaredAnnotations()
Specified by:
getDeclaredAnnotations in interface JavaHasAnnotations

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference