EclipseLink 2.0.0, build 'v20091127-r5931' 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.Package jPkg
           
 
Constructor Summary
JavaPackageImpl(java.lang.Package javaPackage)
           
 
Method Summary
 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
Constructor Detail

JavaPackageImpl

public JavaPackageImpl(java.lang.Package javaPackage)
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

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.0.0, build 'v20091127-r5931' API Reference