org.apache.tuscany.sca.interfacedef
Interface Operation


public interface Operation

Represents an operation on a service interface.


Method Summary
 ConversationSequence getConversationSequence()
          Get the sequence of the conversation
 java.lang.String getDataBinding()
          Get the databinding for the operation
 java.util.List<DataType> getFaultTypes()
          Get a list of data types to represent the faults/exceptions
 DataType<java.util.List<DataType>> getInputType()
          Get the data type that represents the input of this operation.
 Interface getInterface()
          Get the owning interface
 java.lang.String getName()
          Returns the name of the operation.
 DataType getOutputType()
          Get the data type for the output
 org.apache.tuscany.sca.interfacedef.util.WrapperInfo getWrapper()
           
 boolean isNonBlocking()
          Indicate if the operation is non-blocking
 boolean isUnresolved()
          Returns true if the model element is unresolved.
 boolean isWrapperStyle()
           
 void setConversationSequence(ConversationSequence sequence)
          Set the sequence of conversation for the operation
 void setDataBinding(java.lang.String dataBinding)
          Set the databinding for the operation
 void setFaultTypes(java.util.List<DataType> faultTypes)
           
 void setInputType(DataType<java.util.List<DataType>> inputType)
           
 void setInterface(Interface interfaze)
          Set the owning interface
 void setName(java.lang.String name)
          Sets the name of the operation.
 void setNonBlocking(boolean nonBlocking)
          Set the operation to be non-blocking
 void setOutputType(DataType outputType)
           
 void setUnresolved(boolean unresolved)
          Sets whether the model element is unresolved.
 void setWrapper(org.apache.tuscany.sca.interfacedef.util.WrapperInfo wrapperInfo)
           
 void setWrapperStyle(boolean wrapperStyle)
           
 

Method Detail

getName

java.lang.String getName()
Returns the name of the operation.

Returns:
the name of the operation

setName

void setName(java.lang.String name)
Sets the name of the operation.

Parameters:
name - the name of the operation

isUnresolved

boolean isUnresolved()
Returns true if the model element is unresolved.

Returns:
true if the model element is unresolved.

setUnresolved

void setUnresolved(boolean unresolved)
Sets whether the model element is unresolved.

Parameters:
unresolved - whether the model element is unresolved

getInputType

DataType<java.util.List<DataType>> getInputType()
Get the data type that represents the input of this operation. The logic type is a list of data types and each element represents a parameter

Returns:
the inputType

setInputType

void setInputType(DataType<java.util.List<DataType>> inputType)
Parameters:
inputType -

getOutputType

DataType getOutputType()
Get the data type for the output

Returns:
the outputType

setOutputType

void setOutputType(DataType outputType)
Parameters:
outputType -

getFaultTypes

java.util.List<DataType> getFaultTypes()
Get a list of data types to represent the faults/exceptions

Returns:
the faultTypes

setFaultTypes

void setFaultTypes(java.util.List<DataType> faultTypes)
Parameters:
faultTypes -

getInterface

Interface getInterface()
Get the owning interface

Returns:

setInterface

void setInterface(Interface interfaze)
Set the owning interface

Parameters:
interfaze -

getConversationSequence

ConversationSequence getConversationSequence()
Get the sequence of the conversation

Returns:

setConversationSequence

void setConversationSequence(ConversationSequence sequence)
Set the sequence of conversation for the operation

Parameters:
sequence -

isNonBlocking

boolean isNonBlocking()
Indicate if the operation is non-blocking

Returns:

setNonBlocking

void setNonBlocking(boolean nonBlocking)
Set the operation to be non-blocking


getWrapper

org.apache.tuscany.sca.interfacedef.util.WrapperInfo getWrapper()
Returns:
the wrapperInfo

setWrapper

void setWrapper(org.apache.tuscany.sca.interfacedef.util.WrapperInfo wrapperInfo)
Parameters:
wrapperInfo - the wrapperInfo to set

isWrapperStyle

boolean isWrapperStyle()
Returns:
the wrapperStyle

setWrapperStyle

void setWrapperStyle(boolean wrapperStyle)
Parameters:
wrapperStyle - the wrapperStyle to set

getDataBinding

java.lang.String getDataBinding()
Get the databinding for the operation

Returns:

setDataBinding

void setDataBinding(java.lang.String dataBinding)
Set the databinding for the operation

Parameters:
dataBinding -