com.sun.tools.ws.processor.model
Class Model
java.lang.Object
com.sun.tools.ws.processor.model.ModelObject
com.sun.tools.ws.processor.model.Model
public class Model
- extends ModelObject
The model is used to represent the entire Web Service. The JAX-WS ProcessorActions can process
this Model to generate Java artifacts such as the service interface.
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 |
Model
public Model(Entity entity)
Model
public Model(QName name,
Entity entity)
getName
public QName getName()
setName
public void setName(QName n)
getTargetNamespaceURI
public String getTargetNamespaceURI()
setTargetNamespaceURI
public void setTargetNamespaceURI(String s)
addService
public void addService(Service service)
getServiceByName
public Service getServiceByName(QName name)
getServices
public List<Service> getServices()
setServices
public void setServices(List<Service> l)
addExtraType
public void addExtraType(AbstractType type)
getExtraTypes
public Iterator getExtraTypes()
getExtraTypesSet
public Set<AbstractType> getExtraTypesSet()
setExtraTypesSet
public void setExtraTypesSet(Set<AbstractType> s)
accept
public void accept(ModelVisitor visitor)
throws Exception
- Specified by:
accept
in class ModelObject
- Throws:
Exception
getSource
public String getSource()
- Returns:
- the source version
setSource
public void setSource(String string)
- Parameters:
string
-
setJAXBModel
public void setJAXBModel(JAXBModel jaxBModel)
getJAXBModel
public JAXBModel getJAXBModel()