org.apache.cxf.tools.common.model
Class JavaMethod
java.lang.Object
org.apache.cxf.tools.common.model.JavaMethod
- All Implemented Interfaces:
- JavaAnnotatable
public class JavaMethod
- extends Object
- implements JavaAnnotatable
JavaMethod
public JavaMethod()
JavaMethod
public JavaMethod(JavaInterface i)
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(SOAPBinding.Style sty)
getSoapStyle
public SOAPBinding.Style getSoapStyle()
setSoapAction
public void setSoapAction(String action)
getSoapAction
public String getSoapAction()
setSoapUse
public void setSoapUse(SOAPBinding.Use u)
getSoapUse
public 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