org.apache.tuscany.sca.interfacedef.wsdl.impl
Class WSDLObjectImpl<T extends java.io.Serializable>

java.lang.Object
  extended by org.apache.tuscany.sca.interfacedef.wsdl.impl.WSDLObjectImpl<T>
All Implemented Interfaces:
WSDLObject<T>

public class WSDLObjectImpl<T extends java.io.Serializable>
extends java.lang.Object
implements WSDLObject<T>


Constructor Summary
WSDLObjectImpl()
           
WSDLObjectImpl(Definition definition, T element)
           
 
Method Summary
 Definition getDefinition()
          Get the owning definition where the element is declared
 T getElement()
          Get the WSDL element such as Service, PortType, Binding or Message
 void setDefinition(Definition definition)
          Set the owning definition
 void setElement(T element)
          Set the WSDL element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLObjectImpl

public WSDLObjectImpl()

WSDLObjectImpl

public WSDLObjectImpl(Definition definition,
                      T element)
Method Detail

getDefinition

public Definition getDefinition()
Description copied from interface: WSDLObject
Get the owning definition where the element is declared

Specified by:
getDefinition in interface WSDLObject<T extends java.io.Serializable>
Returns:
The owning definition

setDefinition

public void setDefinition(Definition definition)
Description copied from interface: WSDLObject
Set the owning definition

Specified by:
setDefinition in interface WSDLObject<T extends java.io.Serializable>

getElement

public T getElement()
Description copied from interface: WSDLObject
Get the WSDL element such as Service, PortType, Binding or Message

Specified by:
getElement in interface WSDLObject<T extends java.io.Serializable>
Returns:
The WSDL element

setElement

public void setElement(T element)
Description copied from interface: WSDLObject
Set the WSDL element

Specified by:
setElement in interface WSDLObject<T extends java.io.Serializable>