org.apache.tuscany.sca.interfacedef
Interface Interface

All Superinterfaces:
java.lang.Cloneable, IntentAttachPoint, PolicySetAttachPoint
All Known Subinterfaces:
JavaInterface, WSDLInterface
All Known Implementing Classes:
InterfaceImpl, JavaInterfaceImpl, WSDLInterfaceImpl

public interface Interface
extends java.lang.Cloneable, PolicySetAttachPoint

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.lang.Object clone()
          Implementations must support cloning.
 java.util.List<Operation> getOperations()
          Returns the operations defined on this interface.
 boolean isConversational()
          Test if the interface is conversational
 boolean isDynamic()
          Returns true if the Interface is dynamic.
 boolean isRemotable()
          Returns true if the interface is a remotable interface..
 void resetDataBinding(java.lang.String dataBinding)
          Reset the databinding for the interface
 void setConversational(boolean conversational)
          Set whether the interface is conversational
 void setDefaultDataBinding(java.lang.String dataBinding)
          Deprecated. Please use resetDataBinding
 void setRemotable(boolean remotable)
          Sets whether the interface is a remotable or local interface.
 
Methods inherited from interface org.apache.tuscany.sca.policy.PolicySetAttachPoint
getApplicablePolicySets, getPolicySets
 
Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint
getRequiredIntents, getType, setType
 

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

setDefaultDataBinding

@Deprecated
void setDefaultDataBinding(java.lang.String dataBinding)
Deprecated. Please use resetDataBinding

Set the databinding for the interface

Parameters:
dataBinding -

resetDataBinding

void resetDataBinding(java.lang.String dataBinding)
Reset the databinding for the interface

Parameters:
dataBinding -

isDynamic

boolean isDynamic()
Returns true if the Interface is dynamic.

Returns:
true if the Interface is dynamic.

clone

java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Implementations must support cloning.

Throws:
java.lang.CloneNotSupportedException