Apache CXF API

org.apache.cxf.tools.common.model
Class JavaMethod

java.lang.Object
  extended by org.apache.cxf.tools.common.model.JavaMethod
All Implemented Interfaces:
JavaAnnotatable

public class JavaMethod
extends Object
implements JavaAnnotatable


Constructor Summary
JavaMethod()
           
JavaMethod(JavaInterface i)
           
 
Method Summary
 void addAnnotation(String tag, JAnnotation annotation)
           
 void addException(JavaException exception)
           
 void addParameter(JavaParameter param)
           
 void annotate(Annotator annotator)
           
 void clear()
           
 boolean enableMime()
           
 Map<String,JAnnotation> getAnnotationMap()
           
 Collection<JAnnotation> getAnnotations()
           
 List<JavaException> getExceptions()
           
 JavaInterface getInterface()
           
 JavaCodeBlock getJavaCodeBlock()
           
 String getJavaDoc()
           
 String getName()
           
 String getOperationName()
           
 JavaParameter getParameter(String paramName)
           
 int getParameterCount()
           
 List<String> getParameterList()
           
 List<String> getParameterList(boolean includeAnnotation)
           
 List<String> getParameterListWithoutAnnotation()
           
 List<JavaParameter> getParameters()
           
 JavaReturn getReturn()
           
 String getReturnValue()
           
 String getSignature()
           
 String getSoapAction()
           
 javax.jws.soap.SOAPBinding.Style getSoapStyle()
           
 javax.jws.soap.SOAPBinding.Use getSoapUse()
           
 javax.wsdl.OperationType getStyle()
           
 boolean hasException(JavaException exception)
           
 boolean hasParameter(String paramName)
           
 boolean isAsync()
           
 boolean isOneWay()
           
 boolean isWrapperStyle()
           
 void setAsync(boolean newAsync)
           
 void setInterface(JavaInterface intf)
           
 void setJavaCodeBlock(JavaCodeBlock b)
           
 void setJavaDoc(String doc)
           
 void setMimeEnable(boolean arg)
           
 void setName(String n)
           
 void setOperationName(String arg)
           
 void setReturn(JavaReturn rt)
           
 void setSoapAction(String action)
           
 void setSoapStyle(javax.jws.soap.SOAPBinding.Style sty)
           
 void setSoapUse(javax.jws.soap.SOAPBinding.Use u)
           
 void setStyle(javax.wsdl.OperationType ot)
           
 void setWrapperStyle(boolean w)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaMethod

public JavaMethod()

JavaMethod

public JavaMethod(JavaInterface i)
Method Detail

clear

public void clear()

getSignature

public String getSignature()

getInterface

public JavaInterface getInterface()

getName

public String getName()

setName

public void setName(String n)

getOperationName

public String getOperationName()

setOperationName

public void setOperationName(String arg)

getReturn

public JavaReturn getReturn()

getReturnValue

public String getReturnValue()

setReturn

public void setReturn(JavaReturn rt)

hasParameter

public boolean hasParameter(String paramName)

addParameter

public void addParameter(JavaParameter param)

getParameter

public JavaParameter getParameter(String paramName)

getParameters

public List<JavaParameter> getParameters()

getParameterCount

public int getParameterCount()

hasException

public boolean hasException(JavaException exception)

addException

public void addException(JavaException exception)

getExceptions

public List<JavaException> getExceptions()

getStyle

public javax.wsdl.OperationType getStyle()

setStyle

public void setStyle(javax.wsdl.OperationType ot)

isOneWay

public boolean isOneWay()

isWrapperStyle

public boolean isWrapperStyle()

setWrapperStyle

public void setWrapperStyle(boolean w)

enableMime

public boolean enableMime()

setMimeEnable

public void setMimeEnable(boolean arg)

setSoapStyle

public void setSoapStyle(javax.jws.soap.SOAPBinding.Style sty)

getSoapStyle

public javax.jws.soap.SOAPBinding.Style getSoapStyle()

setSoapAction

public void setSoapAction(String action)

getSoapAction

public String getSoapAction()

setSoapUse

public void setSoapUse(javax.jws.soap.SOAPBinding.Use u)

getSoapUse

public javax.jws.soap.SOAPBinding.Use getSoapUse()

addAnnotation

public void addAnnotation(String tag,
                          JAnnotation annotation)

getAnnotations

public Collection<JAnnotation> getAnnotations()

getAnnotationMap

public Map<String,JAnnotation> getAnnotationMap()

getParameterList

public List<String> getParameterList()

getParameterListWithoutAnnotation

public List<String> getParameterListWithoutAnnotation()

getParameterList

public List<String> getParameterList(boolean includeAnnotation)

toString

public String toString()
Overrides:
toString in class Object

setInterface

public void setInterface(JavaInterface intf)

annotate

public void annotate(Annotator annotator)
Specified by:
annotate in interface JavaAnnotatable

setJavaCodeBlock

public void setJavaCodeBlock(JavaCodeBlock b)

getJavaCodeBlock

public JavaCodeBlock getJavaCodeBlock()

isAsync

public final boolean isAsync()

setAsync

public final void setAsync(boolean newAsync)

setJavaDoc

public void setJavaDoc(String doc)

getJavaDoc

public String getJavaDoc()

Apache CXF API

Apache CXF