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

java.lang.Object
  extended by org.apache.tuscany.sca.interfacedef.impl.InterfaceImpl
      extended by org.apache.tuscany.sca.interfacedef.java.impl.JavaInterfaceImpl
All Implemented Interfaces:
java.lang.Cloneable, Base, Interface, JavaInterface, IntentAttachPoint, PolicySetAttachPoint

public class JavaInterfaceImpl
extends InterfaceImpl
implements JavaInterface

Represents a Java interface.


Constructor Summary
protected JavaInterfaceImpl()
           
 
Method Summary
 java.lang.Object clone()
          Implementations must support cloning.
 boolean equals(java.lang.Object obj)
           
 java.lang.Class<?> getCallbackClass()
          Returns the callback class specified in an @Callback annotation.
 java.lang.Class<?> getJavaClass()
          Returns the Java interface class.
 java.lang.String getName()
          Returns the name of the Java interface class.
 javax.xml.namespace.QName getQName()
          Returns the QName of the JAX-WS interface.
 int hashCode()
           
 void setCallbackClass(java.lang.Class<?> callbackClass)
          Sets the callback class specified in an @Callback annotation.
 void setJavaClass(java.lang.Class<?> javaClass)
          Sets the Java interface class.
 void setName(java.lang.String className)
          Sets the name of the Java interface class.
 void setQName(javax.xml.namespace.QName interfacename)
          Sets the QName of the JAX-WS interface.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.tuscany.sca.interfacedef.impl.InterfaceImpl
getApplicablePolicySets, getOperations, getPolicySets, getRequiredIntents, getType, isConversational, isDynamic, isRemotable, isUnresolved, resetDataBinding, setConversational, setDefaultDataBinding, setRemotable, setType, setUnresolved
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tuscany.sca.interfacedef.Interface
getOperations, isConversational, isDynamic, isRemotable, resetDataBinding, setConversational, setDefaultDataBinding, setRemotable
 
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
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
isUnresolved, setUnresolved
 

Constructor Detail

JavaInterfaceImpl

protected JavaInterfaceImpl()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: JavaInterface
Returns the name of the Java interface class.

Specified by:
getName in interface JavaInterface
Returns:
the name of the Java interface class

setName

public void setName(java.lang.String className)
Description copied from interface: JavaInterface
Sets the name of the Java interface class.

Specified by:
setName in interface JavaInterface
Parameters:
className - the name of the Java interface class

getQName

public javax.xml.namespace.QName getQName()
Description copied from interface: JavaInterface
Returns the QName of the JAX-WS interface.

Specified by:
getQName in interface JavaInterface
Returns:
the QName of the JAX-WS interface

setQName

public void setQName(javax.xml.namespace.QName interfacename)
Description copied from interface: JavaInterface
Sets the QName of the JAX-WS interface.

Specified by:
setQName in interface JavaInterface
Parameters:
interfacename - the QName of the JAX-WS interface

getJavaClass

public java.lang.Class<?> getJavaClass()
Description copied from interface: JavaInterface
Returns the Java interface class.

Specified by:
getJavaClass in interface JavaInterface
Returns:
the Java interface class

setJavaClass

public void setJavaClass(java.lang.Class<?> javaClass)
Description copied from interface: JavaInterface
Sets the Java interface class.

Specified by:
setJavaClass in interface JavaInterface
Parameters:
javaClass - the Java interface class

getCallbackClass

public java.lang.Class<?> getCallbackClass()
Description copied from interface: JavaInterface
Returns the callback class specified in an @Callback annotation.

Specified by:
getCallbackClass in interface JavaInterface
Returns:
the callback class specified in an @Callback annotation

setCallbackClass

public void setCallbackClass(java.lang.Class<?> callbackClass)
Description copied from interface: JavaInterface
Sets the callback class specified in an @Callback annotation.

Specified by:
setCallbackClass in interface JavaInterface
Parameters:
callbackClass - the callback class specified in an @Callback annotation

toString

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

hashCode

public int hashCode()
Overrides:
hashCode in class InterfaceImpl
See Also:
Object.hashCode()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class InterfaceImpl
See Also:
Object.equals(java.lang.Object)

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Description copied from interface: Interface
Implementations must support cloning.

Specified by:
clone in interface Interface
Overrides:
clone in class InterfaceImpl
Throws:
java.lang.CloneNotSupportedException