org.eclipse.persistence.jaxb.javamodel.reflection
Class JavaPackageImpl
java.lang.Object
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:
- Provide access to the underlying package's qualified name, annotations, etc.
- See Also:
JavaPackage
,
Package
- Since:
- Oracle TopLink 11.1.1.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jPkg
protected java.lang.Package jPkg
jModelImpl
protected JavaModelImpl jModelImpl
isMetadataComplete
protected java.lang.Boolean isMetadataComplete
JavaPackageImpl
public JavaPackageImpl(java.lang.Package javaPackage,
JavaModelImpl javaModelImpl)
JavaPackageImpl
public JavaPackageImpl(java.lang.Package javaPackage,
JavaModelImpl javaModelImpl,
java.lang.Boolean isMetadataComplete)
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