Skip navigation links

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

E10654-02


oracle.webservices.model
Interface Port

All Superinterfaces:
Component

public interface Port
extends Component

Instances of this interface represent webservice ports in the model.


Field Summary
static QName PORT_COMPONENT_TYPE
          The component type name for ports in the model.

 

Method Summary
 Operation addOperation(BindingOperation operation)
          Creates and adds a new child operation component.
 Operation addOperation(String operationName, String inputName, String outputName)
          Creates and adds a new child operation component with the given operationName, inputName and outputName.
 QName getBindingName()
          Gets the binding QName for this port.
 Operation getOperation(String operationName, String inputName, String outputName)
          Returns a child operation component for the given operationName, inputName and outputName.
 Operation[] getOperations()
          Returns an array of operation components for this port.
 QName getPortTypeName()
          Gets the portType QName for this port.
 Service getService()
          Gets the parent service component for this port.
 void removeOperation(String operationName, String inputName, String outputName)
          Removes an operation from the port based on the provided operationName, inputName and outputName.
 void setBindingName(QName bindingName)
          Gets the binding QName for this port.
 void setPortTypeName(QName portTypeName)
           

 

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

PORT_COMPONENT_TYPE

static final QName PORT_COMPONENT_TYPE
The component type name for ports in the model.

Method Detail

getService

Service getService()
Gets the parent service component for this port.
Returns:
The parent service component for this port.

getBindingName

QName getBindingName()
Gets the binding QName for this port.
Returns:
The binding QName for this port.

setBindingName

void setBindingName(QName bindingName)
Gets the binding QName for this port.
Parameters:
bindingName - The binding QName for this port.

getPortTypeName

QName getPortTypeName()
Gets the portType QName for this port.

setPortTypeName

void setPortTypeName(QName portTypeName)
Parameters:
portTypeName -

getOperations

Operation[] getOperations()
Returns an array of operation components for this port. Will never be null but may be empty.
Returns:
An array of operation components for this port.

getOperation

Operation getOperation(String operationName,
                       String inputName,
                       String outputName)
Returns a child operation component for the given operationName, inputName and outputName. May be null if no matching child operation exists.
Parameters:
operationName - The name of the operation to return.
inputName - The input name of the operation to return. Should not be null but the empty string is valid.
outputName - The output name of the operation to return. Should not be null but the empty string is valid.
Returns:
Child operation component for the given operationName, inputName and outputName.

addOperation

Operation addOperation(String operationName,
                       String inputName,
                       String outputName)
Creates and adds a new child operation component with the given operationName, inputName and outputName.
Parameters:
operationName - The name of the operation to create.
inputName - The input name of the operation to create. Should not be null but the empty string is valid.
outputName - The output name of the operation to create. Should not be null but the empty string is valid.
Returns:
A new child operation component for the given operationName, inputName and outputName.

addOperation

Operation addOperation(BindingOperation operation)
Creates and adds a new child operation component. The information to populate the operation is derived from the provided WSDL operation.
Parameters:
operation - The WSDL operation from which to derive the operation component information.
Returns:
A new child operation component populated from the WSDL binding operation.

removeOperation

void removeOperation(String operationName,
                     String inputName,
                     String outputName)
Removes an operation from the port based on the provided operationName, inputName and outputName.
Parameters:
operationName - The name of the operation to remove.
inputName - The input name of the operation to remove. Should not be null but the empty string is valid.
outputName - The output name of the operation to remove. Should not be null but the empty string is valid.

Skip navigation links

Copyright © 2006, 2009 Oracle. All Rights Reserved.