com.sun.tools.ws.processor.model
Class Service

java.lang.Object
  extended by com.sun.tools.ws.processor.model.ModelObject
      extended by com.sun.tools.ws.processor.model.Service

public class Service
extends ModelObject


Field Summary
 
Fields inherited from class com.sun.tools.ws.processor.model.ModelObject
errorReceiver
 
Constructor Summary
Service(Entity entity)
           
Service(QName name, JavaInterface javaInterface, Entity entity)
           
 
Method Summary
 void accept(ModelVisitor visitor)
           
 void addPort(Port port)
           
 JavaInterface getJavaInterface()
           
 JavaInterface getJavaIntf()
           
 QName getName()
           
 Port getPortByName(QName n)
           
 List<Port> getPorts()
           
 void setJavaInterface(JavaInterface i)
           
 void setName(QName n)
           
 void setPorts(List<Port> m)
           
 
Methods inherited from class com.sun.tools.ws.processor.model.ModelObject
getEntity, getJavaDoc, getLocator, getProperties, getPropertiesMap, getProperty, removeProperty, setErrorReceiver, setJavaDoc, setPropertiesMap, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Service

public Service(Entity entity)

Service

public Service(QName name,
               JavaInterface javaInterface,
               Entity entity)
Method Detail

getName

public QName getName()

setName

public void setName(QName n)

addPort

public void addPort(Port port)

getPortByName

public Port getPortByName(QName n)

getPorts

public List<Port> getPorts()

setPorts

public void setPorts(List<Port> m)

getJavaIntf

public JavaInterface getJavaIntf()

getJavaInterface

public JavaInterface getJavaInterface()

setJavaInterface

public void setJavaInterface(JavaInterface i)

accept

public void accept(ModelVisitor visitor)
            throws Exception
Specified by:
accept in class ModelObject
Throws:
Exception