Class OXMJavaMethodImpl
- java.lang.Object
 - 
- org.eclipse.persistence.jaxb.javamodel.oxm.OXMJavaMethodImpl
 
 
- 
- All Implemented Interfaces:
 JavaHasAnnotations,JavaMethod
public class OXMJavaMethodImpl extends java.lang.Object implements JavaMethod
INTERNAL:Purpose:
JavaMethodimplementation used when bootstrapping aDynamicJAXBContextfrom XML Bindings.Responsibilities:
- Provide Method information to the 
JavaModel. 
- See Also:
 JavaMethod- Since:
 - EclipseLink 2.2
 
 
- 
- 
Constructor Summary
Constructors Constructor Description OXMJavaMethodImpl(java.lang.String methodName, JavaClass returnType, JavaClass owner)Construct a new instance ofOXMJavaMethodImpl. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaAnnotationgetAnnotation(JavaClass arg0)java.util.Collection<JavaAnnotation>getAnnotations()JavaAnnotationgetDeclaredAnnotation(JavaClass arg0)java.util.Collection<JavaAnnotation>getDeclaredAnnotations()intgetModifiers()java.lang.StringgetName()JavaClassgetOwningClass()JavaClass[]getParameterTypes()JavaClassgetReturnType()booleanisAbstract()booleanisBridge()booleanisFinal()booleanisPrivate()booleanisProtected()booleanisPublic()booleanisStatic()booleanisSynthetic() 
 - 
 
- 
- 
Constructor Detail
- 
OXMJavaMethodImpl
public OXMJavaMethodImpl(java.lang.String methodName, JavaClass returnType, JavaClass owner)Construct a new instance ofOXMJavaMethodImpl.- Parameters:
 methodName- - this method's namereturnType- - this method's return type as aJavaClass.owner- - theJavaClassthis method belongs to.
 
 - 
 
- 
Method Detail
- 
getModifiers
public int getModifiers()
- Specified by:
 getModifiersin interfaceJavaMethod
 
- 
getName
public java.lang.String getName()
- Specified by:
 getNamein interfaceJavaMethod
 
- 
getOwningClass
public JavaClass getOwningClass()
- Specified by:
 getOwningClassin interfaceJavaMethod
 
- 
getParameterTypes
public JavaClass[] getParameterTypes()
- Specified by:
 getParameterTypesin interfaceJavaMethod
 
- 
getReturnType
public JavaClass getReturnType()
- Specified by:
 getReturnTypein interfaceJavaMethod
 
- 
isAbstract
public boolean isAbstract()
- Specified by:
 isAbstractin interfaceJavaMethod
 
- 
isFinal
public boolean isFinal()
- Specified by:
 isFinalin interfaceJavaMethod
 
- 
isPrivate
public boolean isPrivate()
- Specified by:
 isPrivatein interfaceJavaMethod
 
- 
isProtected
public boolean isProtected()
- Specified by:
 isProtectedin interfaceJavaMethod
 
- 
isPublic
public boolean isPublic()
- Specified by:
 isPublicin interfaceJavaMethod
 
- 
isStatic
public boolean isStatic()
- Specified by:
 isStaticin interfaceJavaMethod
 
- 
isSynthetic
public boolean isSynthetic()
- Specified by:
 isSyntheticin interfaceJavaMethod
 
- 
getAnnotation
public JavaAnnotation getAnnotation(JavaClass arg0)
- Specified by:
 getAnnotationin interfaceJavaHasAnnotations
 
- 
getAnnotations
public java.util.Collection<JavaAnnotation> getAnnotations()
- Specified by:
 getAnnotationsin interfaceJavaHasAnnotations
 
- 
getDeclaredAnnotation
public JavaAnnotation getDeclaredAnnotation(JavaClass arg0)
- Specified by:
 getDeclaredAnnotationin interfaceJavaHasAnnotations
 
- 
getDeclaredAnnotations
public java.util.Collection<JavaAnnotation> getDeclaredAnnotations()
- Specified by:
 getDeclaredAnnotationsin interfaceJavaHasAnnotations
 
- 
isBridge
public boolean isBridge()
- Specified by:
 isBridgein interfaceJavaMethod
 
 - 
 
 -