EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jaxb.javamodel.oxm
Class OXMJavaMethodImpl

java.lang.Object
  extended by org.eclipse.persistence.jaxb.javamodel.oxm.OXMJavaMethodImpl
All Implemented Interfaces:
JavaHasAnnotations, JavaMethod

public class OXMJavaMethodImpl
extends java.lang.Object
implements JavaMethod

INTERNAL:

Purpose: JavaMethod implementation used when bootstrapping a DynamicJAXBContext from XML Bindings.

Responsibilities:

See Also:
JavaMethod
Since:
EclipseLink 2.2

Constructor Summary
OXMJavaMethodImpl(java.lang.String methodName, JavaClass returnType, JavaClass owner)
          Construct a new instance of OXMJavaMethodImpl.
 
Method Summary
 JavaAnnotation getAnnotation(JavaClass arg0)
           
 java.util.Collection<JavaAnnotation> getAnnotations()
           
 JavaAnnotation getDeclaredAnnotation(JavaClass arg0)
           
 java.util.Collection<JavaAnnotation> getDeclaredAnnotations()
           
 int getModifiers()
           
 java.lang.String getName()
           
 JavaClass getOwningClass()
           
 JavaClass[] getParameterTypes()
           
 JavaClass getReturnType()
           
 boolean isAbstract()
           
 boolean isFinal()
           
 boolean isPrivate()
           
 boolean isProtected()
           
 boolean isPublic()
           
 boolean isStatic()
           
 boolean isSynthetic()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OXMJavaMethodImpl

public OXMJavaMethodImpl(java.lang.String methodName,
                         JavaClass returnType,
                         JavaClass owner)
Construct a new instance of OXMJavaMethodImpl.

Parameters:
methodName - - this method's name
returnType - - this method's return type as a JavaClass.
owner - - the JavaClass this method belongs to.
Method Detail

getModifiers

public int getModifiers()
Specified by:
getModifiers in interface JavaMethod

getName

public java.lang.String getName()
Specified by:
getName in interface JavaMethod

getOwningClass

public JavaClass getOwningClass()
Specified by:
getOwningClass in interface JavaMethod

getParameterTypes

public JavaClass[] getParameterTypes()
Specified by:
getParameterTypes in interface JavaMethod

getReturnType

public JavaClass getReturnType()
Specified by:
getReturnType in interface JavaMethod

isAbstract

public boolean isAbstract()
Specified by:
isAbstract in interface JavaMethod

isFinal

public boolean isFinal()
Specified by:
isFinal in interface JavaMethod

isPrivate

public boolean isPrivate()
Specified by:
isPrivate in interface JavaMethod

isProtected

public boolean isProtected()
Specified by:
isProtected in interface JavaMethod

isPublic

public boolean isPublic()
Specified by:
isPublic in interface JavaMethod

isStatic

public boolean isStatic()
Specified by:
isStatic in interface JavaMethod

isSynthetic

public boolean isSynthetic()
Specified by:
isSynthetic in interface JavaMethod

getAnnotation

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

getAnnotations

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

getDeclaredAnnotation

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

getDeclaredAnnotations

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

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference