|
|||||||||
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 Operation
public void setName(java.lang.String name)
Operation
setName
in interface Operation
name
- the name of the operationpublic boolean isUnresolved()
Operation
isUnresolved
in interface Operation
public void setUnresolved(boolean undefined)
Operation
setUnresolved
in interface Operation
undefined
- whether the model element is unresolvedpublic java.util.List<DataType> getFaultTypes()
Operation
getFaultTypes
in interface Operation
public void setFaultTypes(java.util.List<DataType> faultTypes)
setFaultTypes
in interface Operation
faultTypes
- the faultTypes to setpublic DataType<java.util.List<DataType>> getInputType()
Operation
getInputType
in interface Operation
public void setInputType(DataType<java.util.List<DataType>> inputType)
setInputType
in interface Operation
inputType
- the inputType to setpublic DataType getOutputType()
Operation
getOutputType
in interface Operation
public void setOutputType(DataType outputType)
setOutputType
in interface Operation
outputType
- the outputType to setpublic Interface getInterface()
Operation
getInterface
in interface Operation
public void setInterface(Interface interfaze)
Operation
setInterface
in interface Operation
interfaze
- the interface to setpublic ConversationSequence getConversationSequence()
Operation
getConversationSequence
in interface Operation
public void setConversationSequence(ConversationSequence conversationSequence)
Operation
setConversationSequence
in interface Operation
conversationSequence
- the conversationSequence to setpublic boolean isNonBlocking()
Operation
isNonBlocking
in interface Operation
public void setNonBlocking(boolean nonBlocking)
Operation
setNonBlocking
in interface Operation
nonBlocking
- the nonBlocking to setpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public WrapperInfo getWrapper()
getWrapper
in interface Operation
public void setWrapper(WrapperInfo wrapperInfo)
setWrapper
in interface Operation
wrapperInfo
- the wrapperInfo to setpublic boolean isWrapperStyle()
isWrapperStyle
in interface Operation
public void setWrapperStyle(boolean wrapperStyle)
setWrapperStyle
in interface Operation
wrapperStyle
- the wrapperStyle to setpublic java.lang.String getDataBinding()
getDataBinding
in interface Operation
public void setDataBinding(java.lang.String dataBinding)
setDataBinding
in interface Operation
public boolean isDynamic()
Operation
isDynamic
in interface Operation
public void setDynamic(boolean b)
Operation
setDynamic
in interface Operation
public java.util.Map<javax.xml.namespace.QName,java.util.List<DataType<XMLType>>> getFaultBeans()
Operation
getFaultBeans
in interface Operation
public 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 Operation
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public java.util.List<PolicySet> getApplicablePolicySets()
PolicySetAttachPoint
getApplicablePolicySets
in interface PolicySetAttachPoint
public java.util.List<PolicySet> getPolicySets()
PolicySetAttachPoint
getPolicySets
in interface PolicySetAttachPoint
public java.util.List<Intent> getRequiredIntents()
IntentAttachPoint
getRequiredIntents
in interface IntentAttachPoint
public IntentAttachPointType getType()
IntentAttachPoint
getType
in interface IntentAttachPoint
public 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 |