org.apache.tuscany.sca.interfacedef.java.impl
Class JavaOperationImpl

java.lang.Object
  extended by org.apache.tuscany.sca.interfacedef.impl.OperationImpl
      extended by org.apache.tuscany.sca.interfacedef.java.impl.JavaOperationImpl
All Implemented Interfaces:
java.lang.Cloneable, JavaOperation, Operation, IntentAttachPoint, PolicySetAttachPoint

public class JavaOperationImpl
extends OperationImpl
implements JavaOperation

Represents a Java operation.


Constructor Summary
JavaOperationImpl()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAction()
          Returns the JAX-WS @WebMethod action parameter.
 java.lang.reflect.Method getJavaMethod()
          Returns the Java method defining the operation.
 int hashCode()
           
 void setAction(java.lang.String action)
          Sets the JAX-WS @WebMethod action parameter.
 void setJavaMethod(java.lang.reflect.Method method)
          Sets the Java method defining the operation.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.tuscany.sca.interfacedef.impl.OperationImpl
clone, getApplicablePolicySets, getConversationSequence, getDataBinding, getFaultBeans, getFaultTypes, getInputType, getInterface, getName, getOutputType, getPolicySets, getRequiredIntents, getType, getWrapper, isDynamic, isNonBlocking, isUnresolved, isWrapperStyle, setConversationSequence, setDataBinding, setDynamic, setFaultBeans, setFaultTypes, setInputType, setInterface, setName, setNonBlocking, setOutputType, setType, setUnresolved, setWrapper, setWrapperStyle
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tuscany.sca.interfacedef.Operation
clone, getConversationSequence, getDataBinding, getFaultBeans, getFaultTypes, getInputType, getInterface, getName, getOutputType, getWrapper, isDynamic, isNonBlocking, isUnresolved, isWrapperStyle, setConversationSequence, setDataBinding, setDynamic, setFaultBeans, setFaultTypes, setInputType, setInterface, setName, setNonBlocking, setOutputType, setUnresolved, setWrapper, setWrapperStyle
 
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
 

Constructor Detail

JavaOperationImpl

public JavaOperationImpl()
Method Detail

getJavaMethod

public java.lang.reflect.Method getJavaMethod()
Description copied from interface: JavaOperation
Returns the Java method defining the operation.

Specified by:
getJavaMethod in interface JavaOperation
Returns:
the Java method

setJavaMethod

public void setJavaMethod(java.lang.reflect.Method method)
Description copied from interface: JavaOperation
Sets the Java method defining the operation.

Specified by:
setJavaMethod in interface JavaOperation
Parameters:
method - the Java method

getAction

public java.lang.String getAction()
Description copied from interface: JavaOperation
Returns the JAX-WS @WebMethod action parameter.

Specified by:
getAction in interface JavaOperation
Returns:
the action value

setAction

public void setAction(java.lang.String action)
Description copied from interface: JavaOperation
Sets the JAX-WS @WebMethod action parameter.

Specified by:
setAction in interface JavaOperation
Parameters:
action - the action value

hashCode

public int hashCode()
Overrides:
hashCode in class OperationImpl

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class OperationImpl

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object