com.ibm.websphere.sca.scdl

Interface OperationType


  1. public interface OperationType
The OperationType interface represents an operation on a service interface. Service interfaces can be described using either the Java or the WSDL language. An InterfaceType provides a language independent view of an interface, OperationType provides a language independent view of an operation (a Java method or a WSDL operation). OperationType provides methods to get the operation name as well as the SDO type of the input, output, and the exceptions that can be thrown by the operation.

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT
  1. static
  2. commonj.sdo.Type
MULTIPART_TYPE
Used to indicate a Multipart type.

Method Summary

Modifier and Type Method and Description
  1. commonj.sdo.Type
getExceptionType(java.lang.String uri,java.lang.String name)
Returns an SDO type describing the named exception type.
  1. java.util.List
getExceptionTypes()
Returns the list of SDO types describing the exceptions that can be thrown by the operation.
  1. commonj.sdo.Type
getInputType()
Returns the SDO type describing the operation input type.
  1. java.lang.String
getName()
Returns the operation name.
  1. commonj.sdo.Type
getOutputType()
Returns the SDO type describing the operation output type.
  1. boolean
isWrapperType(commonj.sdo.Type type)
Returns true if the given type represents a wrapper for the parameters to the operation.

Field Detail

  1. static final java.lang.String COPYRIGHT
See Also:

MULTIPART_TYPE

  1. static final commonj.sdo.Type MULTIPART_TYPE
Used to indicate a Multipart type. Types that extend the Multipart type represent wrappers for multiple WSDL parts or parameters on a java method.

Method Detail

getName

  1. java.lang.String getName()
Returns the operation name.
Returns:
The operation name.

getInputType

  1. commonj.sdo.Type getInputType()
Returns the SDO type describing the operation input type.
Returns:
The operation input type.

getOutputType

  1. commonj.sdo.Type getOutputType( )
Returns the SDO type describing the operation output type.
Returns:
The operation output type.

getExceptionTypes

  1. java.util.List getExceptionTypes( )
Returns the list of SDO types describing the exceptions that can be thrown by the operation.
Returns:
the List of SDO types describing the exceptions thrown by the operation.

getExceptionType

  1. commonj.sdo.Type getExceptionType( java.lang.String uri,
  2. java.lang.String name)
Returns an SDO type describing the named exception type.
Parameters:
uri - The namespace URI of the exception type.
name - The name of the exception type.
Returns:
The SDO type describing the exception.

isWrapperType

  1. boolean isWrapperType(commonj.sdo.Type type)
Returns true if the given type represents a wrapper for the parameters to the operation.
Parameters:
type - The SDO type.
Returns:
True if the given type represents a wrapper for multiple parameters.