org.apache.tuscany.sca.interfacedef
Interface Interface

All Known Subinterfaces:
JavaInterface, WSDLInterface

public interface Interface

Represents a service interface. This interface will typically be extended to support concrete interface type systems, such as Java interfaces, WSDL 1.1 portTypes and WSDL 2.0 interfaces.


Method Summary
 java.util.List<Operation> getOperations()
          Returns the operations defined on this interface.
 boolean isConversational()
          Test if the interface is conversational
 boolean isRemotable()
          Returns true if the interface is a remotable interface..
 boolean isUnresolved()
          Returns true if the model element is unresolved.
 void setConversational(boolean conversational)
          Set whether the interface is conversational
 void setDefaultDataBinding(java.lang.String dataBinding)
          Set the databinding for the interface
 void setRemotable(boolean remotable)
          Sets whether the interface is a remotable or local interface.
 void setUnresolved(boolean unresolved)
          Sets whether the model element is unresolved.
 

Method Detail

isRemotable

boolean isRemotable()
Returns true if the interface is a remotable interface..

Returns:
true if the interface is a remotable interface

setRemotable

void setRemotable(boolean remotable)
Sets whether the interface is a remotable or local interface.

Parameters:
remotable - indicates whether the interface is remotable or local

isConversational

boolean isConversational()
Test if the interface is conversational

Returns:

setConversational

void setConversational(boolean conversational)
Set whether the interface is conversational

Parameters:
conversational -

getOperations

java.util.List<Operation> getOperations()
Returns the operations defined on this interface.

Returns:
the operations defined on this interface

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

setDefaultDataBinding

void setDefaultDataBinding(java.lang.String dataBinding)
Set the databinding for the interface

Parameters:
dataBinding -