org.apache.cxf.tools.common.model
Class JavaInterface
java.lang.Object
org.apache.cxf.tools.common.model.JavaInterface
- All Implemented Interfaces:
- JavaAnnotatable
- Direct Known Subclasses:
- JavaClass
public class JavaInterface
- extends Object
- implements JavaAnnotatable
JavaInterface
public JavaInterface()
JavaInterface
public JavaInterface(JavaModel m)
setWebServiceName
public void setWebServiceName(String wsn)
getWebServiceName
public String getWebServiceName()
setSOAPStyle
public void setSOAPStyle(SOAPBinding.Style s)
getSOAPStyle
public SOAPBinding.Style getSOAPStyle()
setSOAPUse
public void setSOAPUse(SOAPBinding.Use u)
getSOAPUse
public SOAPBinding.Use getSOAPUse()
setSOAPParameterStyle
public void setSOAPParameterStyle(SOAPBinding.ParameterStyle p)
getSOAPParameterStyle
public SOAPBinding.ParameterStyle getSOAPParameterStyle()
getJavaModel
public JavaModel getJavaModel()
setName
public void setName(String n)
getName
public String getName()
setLocation
public void setLocation(String l)
getLocation
public String getLocation()
getMethods
public List<JavaMethod> getMethods()
hasMethod
public boolean hasMethod(JavaMethod method)
indexOf
public int indexOf(JavaMethod method)
removeMethod
public int removeMethod(JavaMethod method)
replaceMethod
public void replaceMethod(JavaMethod method)
addMethod
public void addMethod(JavaMethod method)
throws ToolException
- Throws:
ToolException
getPackageName
public String getPackageName()
setPackageName
public void setPackageName(String pn)
getNamespace
public String getNamespace()
setNamespace
public void setNamespace(String ns)
setPackageJavaDoc
public void setPackageJavaDoc(String doc)
getPackageJavaDoc
public String getPackageJavaDoc()
setClassJavaDoc
public void setClassJavaDoc(String doc)
getClassJavaDoc
public String getClassJavaDoc()
addAnnotation
public void addAnnotation(JAnnotation annotation)
getAnnotations
public List<JAnnotation> getAnnotations()
addImport
public void addImport(String i)
addImports
public void addImports(Collection<String> ii)
getImports
public Iterator<String> getImports()
setJavaModel
public void setJavaModel(JavaModel jm)
annotate
public void annotate(Annotator annotator)
- Specified by:
annotate
in interface JavaAnnotatable
getHandlerChains
public Element getHandlerChains()
setHandlerChains
public void setHandlerChains(Element elem)
setFullClassName
public void setFullClassName(String fullName)
getFullClassName
public String getFullClassName()
toString
public String toString()
- Overrides:
toString
in class Object
Apache CXF