Skip navigation links

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

E10654-02


oracle.webservices.model
Interface Operation

All Superinterfaces:
Component

public interface Operation
extends Component

Instances of this interface represent webservice operations in the model.


Field Summary
static QName OPERATION_COMPONENT_TYPE
          The component type name of operations.

 

Method Summary
 void addFaultMessage(Message message)
          Adds a fault message component for this operation.
 Message getFaultMessage(String name)
          Gets the fault message component with the specified local name for this operation.
 Collection<Message> getFaultMessages()
          Gets all fault message components for this operation.
 Message getInputMessage()
          Gets the input message component for this operation.
 String getInputName()
          The name of the input message for this operation.
 String getOperationName()
          The name of this operation.
 Message getOutputMessage()
          Gets the output message component for this operation.
 String getOutputName()
          The name of the output message for this operation.
 Port getPort()
          The parent port component for this operation component.
 void setInputMessage(Message message)
          Sets the input message component for this operation.
 void setOutputMessage(Message message)
          Sets the output message component for this operation.

 

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

OPERATION_COMPONENT_TYPE

static final QName OPERATION_COMPONENT_TYPE
The component type name of operations.

Method Detail

getPort

Port getPort()
The parent port component for this operation component.
Returns:
The parent port component for this operation component.

getOperationName

String getOperationName()
The name of this operation.
Returns:
The name of this operation.

getInputName

String getInputName()
The name of the input message for this operation. Will never be null but may be the empty string if the operation does not specify an input message name.
Returns:
The name of the input message for this operation.

getInputMessage

Message getInputMessage()
Gets the input message component for this operation. May be null if the operation does not specify an input message.
Returns:
The input message component for this operation.

setInputMessage

void setInputMessage(Message message)
Sets the input message component for this operation. Will overwrite any previous input message component.
Parameters:
message - A new input message component for this operation.

getOutputName

String getOutputName()
The name of the output message for this operation. Will never be null but may be the empty string if the operation does not specify an output message name.
Returns:
The name of the output message for this operation.

getOutputMessage

Message getOutputMessage()
Gets the output message component for this operation. May be null if the operation does not specify an output message.
Returns:
The output message component for this operation.

setOutputMessage

void setOutputMessage(Message message)
Sets the output message component for this operation. Will overwrite any previous output message component.
Parameters:
message - A new output message component for this operation.

getFaultMessage

Message getFaultMessage(String name)
Gets the fault message component with the specified local name for this operation. May be null if the operation does not specify a fault message with the given name
Returns:
The matching fault message component for this operation.

getFaultMessages

Collection<Message> getFaultMessages()
Gets all fault message components for this operation. May not be null
Returns:
A collection of all fault message components for this operation.

addFaultMessage

void addFaultMessage(Message message)
Adds a fault message component for this operation. Multiple fault message components with different names may be added to an operation
Parameters:
message - A new fault message component for this operation.

Skip navigation links

Copyright © 2006, 2009 Oracle. All Rights Reserved.