Skip navigation links

Java API Reference for Oracle Infrastructure Web Services
11
Release 1 (11.1.1)

E10654-02


oracle.webservices.model
Interface Model

All Superinterfaces:
Component

public interface Model
extends Component

This is the root component of a model. The component manages a set of unique services.


Field Summary
static QName MODEL_COMPONENT_TYPE
          The component type name for the model.
static String WSADDR_NS
          The namespace for WS-Addressing
static String WSADDR_WSDL_NS
          The namespace for WS-Addressing WSDL extension elements

 

Method Summary
 Service addService(QName name)
          Adds and returns a new service component that has the provided QName.
 Service addService(Service service)
          Adds and returns a new service component which is modeled from the information in a WSDL service.
 Service getService(QName name)
          Returns a service based on the service QName.
 Service[] getServices()
          Returns an array of service components.
 void removeService(QName name)
          Removes a service from the model.

 

Methods inherited from interface oracle.webservices.model.Component
addComponent, addExtension, addExtensionAttribute, createExtension, getAllExtensions, getComponent, getComponents, getComponents, getExtension, getExtension, getExtensionAttribute, getExtensionAttributeTypes, getExtensionTypes, getFactory, getModel, getName, getParent, getType, removeComponent, removeExtension, removeExtensionAttribute

 

Field Detail

MODEL_COMPONENT_TYPE

static final QName MODEL_COMPONENT_TYPE
The component type name for the model.

WSADDR_WSDL_NS

static final String WSADDR_WSDL_NS
The namespace for WS-Addressing WSDL extension elements
See Also:
Constant Field Values

WSADDR_NS

static final String WSADDR_NS
The namespace for WS-Addressing
See Also:
Constant Field Values

Method Detail

getServices

Service[] getServices()
Returns an array of service components.
Returns:

getService

Service getService(QName name)
Returns a service based on the service QName.
Parameters:
name - The QName of the service.
Returns:
The service component for the provided QName. May be null if a service with the QName cannot be found.

addService

Service addService(QName name)
Adds and returns a new service component that has the provided QName. This will replace any existing service with that QName.
Parameters:
name - The QName of the new service to add to the model.
Returns:
A service component with the provided QName.

addService

Service addService(Service service)
Adds and returns a new service component which is modeled from the information in a WSDL service.
Parameters:
service - The WSDL service to create the service component from.
Returns:
A service component populated from the WSDL service.

removeService

void removeService(QName name)
Removes a service from the model.
Parameters:
name - The name of the service to be removed.

Skip navigation links

Copyright © 2006, 2009 Oracle. All Rights Reserved.