|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.jaxb.javamodel.oxm.OXMJavaPackageImpl
public class OXMJavaPackageImpl
INTERNAL:
Purpose: JavaPackage
implementation used when bootstrapping
a DynamicJAXBContext
from XML Bindings.
Responsibilities:
JavaModel
.
JavaPackage
Field Summary | |
---|---|
protected java.lang.String |
packageName
|
Constructor Summary | |
---|---|
OXMJavaPackageImpl(java.lang.String aPackage)
Construct a new instance of OXMJavaPackageImpl . |
Method Summary | |
---|---|
JavaAnnotation |
getAnnotation(JavaClass aClass)
If this JavaPackage is annotated with an Annotation matching aClass ,
return its JavaAnnotation representation. |
java.util.Collection<JavaAnnotation> |
getAnnotations()
Return all of the Annotations for this JavaPackage . |
JavaAnnotation |
getDeclaredAnnotation(JavaClass arg0)
Not supported. |
java.util.Collection<JavaAnnotation> |
getDeclaredAnnotations()
Not supported. |
java.lang.String |
getName()
Returns the name of this JavaPackage . |
java.lang.String |
getQualifiedName()
Returns the fully-qualified name of this JavaPackage . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String packageName
Constructor Detail |
---|
public OXMJavaPackageImpl(java.lang.String aPackage)
OXMJavaPackageImpl
.
aPackage
- - the name of this JavaPackage
.Method Detail |
---|
public JavaAnnotation getAnnotation(JavaClass aClass)
JavaPackage
is annotated with an Annotation
matching aClass
,
return its JavaAnnotation
representation.
getAnnotation
in interface JavaHasAnnotations
aClass
- a JavaClass
representing the Annotation
to look for.
null
as JavaTypes
do not have Annotations
.public java.util.Collection<JavaAnnotation> getAnnotations()
Annotations
for this JavaPackage
.
getAnnotations
in interface JavaHasAnnotations
null
as JavaTypes
do not have Annotations
.public java.lang.String getName()
JavaPackage
.
String
name of this JavaPackage
.public java.lang.String getQualifiedName()
JavaPackage
.
getQualifiedName
in interface JavaPackage
String
name of this JavaPackage
.public JavaAnnotation getDeclaredAnnotation(JavaClass arg0)
getDeclaredAnnotation
in interface JavaHasAnnotations
public java.util.Collection<JavaAnnotation> getDeclaredAnnotations()
getDeclaredAnnotations
in interface JavaHasAnnotations
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |