|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.interfacedef.impl.OperationImpl
public class OperationImpl
Represents an operation on a service interface.
| Constructor Summary | |
|---|---|
OperationImpl()
|
|
| Method Summary | |
|---|---|
OperationImpl |
clone()
Implementations must support cloning. |
boolean |
equals(java.lang.Object obj)
|
java.util.List<PolicySet> |
getApplicablePolicySets()
Returns a list of policy sets defined in the domain, that are applicable to this PolicySetAttachPoint. |
ConversationSequence |
getConversationSequence()
Get the sequence of the conversation |
java.lang.String |
getDataBinding()
|
java.util.Map<javax.xml.namespace.QName,java.util.List<DataType<XMLType>>> |
getFaultBeans()
Get the synthesized fault beans for this 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 |
java.util.List<PolicySet> |
getPolicySets()
Returns a list of policy sets. |
java.util.List<Intent> |
getRequiredIntents()
Returns a list of policy intents. |
IntentAttachPointType |
getType()
Returns the type of the attach point such as a BindingType or an ImplementationType and so on |
WrapperInfo |
getWrapper()
|
int |
hashCode()
|
boolean |
isDynamic()
Returns true if the operation is dynamic. |
boolean |
isNonBlocking()
Indicate if the operation is non-blocking |
boolean |
isUnresolved()
Returns true if the model element is unresolved. |
boolean |
isWrapperStyle()
|
void |
setConversationSequence(ConversationSequence conversationSequence)
Set the sequence of conversation for the operation |
void |
setDataBinding(java.lang.String dataBinding)
|
void |
setDynamic(boolean b)
Set if the operation is dynamic |
void |
setFaultBeans(java.util.Map<javax.xml.namespace.QName,java.util.List<DataType<XMLType>>> faultBeans)
Set the synthesized fault beans for this 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 |
setType(IntentAttachPointType type)
Sets the type of the attach point such as a BindingType or an ImplementationType and so on |
void |
setUnresolved(boolean undefined)
Sets whether the model element is unresolved. |
void |
setWrapper(WrapperInfo wrapperInfo)
|
void |
setWrapperStyle(boolean wrapperStyle)
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OperationImpl()
name - | Method Detail |
|---|
public java.lang.String getName()
Operation
getName in interface Operationpublic void setName(java.lang.String name)
Operation
setName in interface Operationname - the name of the operationpublic boolean isUnresolved()
Operation
isUnresolved in interface Operationpublic void setUnresolved(boolean undefined)
Operation
setUnresolved in interface Operationundefined - whether the model element is unresolvedpublic java.util.List<DataType> getFaultTypes()
Operation
getFaultTypes in interface Operationpublic void setFaultTypes(java.util.List<DataType> faultTypes)
setFaultTypes in interface OperationfaultTypes - the faultTypes to setpublic DataType<java.util.List<DataType>> getInputType()
Operation
getInputType in interface Operationpublic void setInputType(DataType<java.util.List<DataType>> inputType)
setInputType in interface OperationinputType - the inputType to setpublic DataType getOutputType()
Operation
getOutputType in interface Operationpublic void setOutputType(DataType outputType)
setOutputType in interface OperationoutputType - the outputType to setpublic Interface getInterface()
Operation
getInterface in interface Operationpublic void setInterface(Interface interfaze)
Operation
setInterface in interface Operationinterfaze - the interface to setpublic ConversationSequence getConversationSequence()
Operation
getConversationSequence in interface Operationpublic void setConversationSequence(ConversationSequence conversationSequence)
Operation
setConversationSequence in interface OperationconversationSequence - the conversationSequence to setpublic boolean isNonBlocking()
Operation
isNonBlocking in interface Operationpublic void setNonBlocking(boolean nonBlocking)
Operation
setNonBlocking in interface OperationnonBlocking - the nonBlocking to setpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic WrapperInfo getWrapper()
getWrapper in interface Operationpublic void setWrapper(WrapperInfo wrapperInfo)
setWrapper in interface OperationwrapperInfo - the wrapperInfo to setpublic boolean isWrapperStyle()
isWrapperStyle in interface Operationpublic void setWrapperStyle(boolean wrapperStyle)
setWrapperStyle in interface OperationwrapperStyle - the wrapperStyle to setpublic java.lang.String getDataBinding()
getDataBinding in interface Operationpublic void setDataBinding(java.lang.String dataBinding)
setDataBinding in interface Operationpublic boolean isDynamic()
Operation
isDynamic in interface Operationpublic void setDynamic(boolean b)
Operation
setDynamic in interface Operationpublic java.util.Map<javax.xml.namespace.QName,java.util.List<DataType<XMLType>>> getFaultBeans()
Operation
getFaultBeans in interface Operationpublic void setFaultBeans(java.util.Map<javax.xml.namespace.QName,java.util.List<DataType<XMLType>>> faultBeans)
Operation
setFaultBeans in interface Operation
public OperationImpl clone()
throws java.lang.CloneNotSupportedException
Operation
clone in interface Operationclone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic java.util.List<PolicySet> getApplicablePolicySets()
PolicySetAttachPoint
getApplicablePolicySets in interface PolicySetAttachPointpublic java.util.List<PolicySet> getPolicySets()
PolicySetAttachPoint
getPolicySets in interface PolicySetAttachPointpublic java.util.List<Intent> getRequiredIntents()
IntentAttachPoint
getRequiredIntents in interface IntentAttachPointpublic IntentAttachPointType getType()
IntentAttachPoint
getType in interface IntentAttachPointpublic void setType(IntentAttachPointType type)
IntentAttachPoint
setType in interface IntentAttachPoint
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||