org.apache.tuscany.sca.interfacedef.wsdl
Interface WSDLObject<T extends java.io.Serializable>

All Known Implementing Classes:
WSDLObjectImpl

public interface WSDLObject<T extends java.io.Serializable>

Model for objects in a WSDL definition


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
 

Method Detail

getDefinition

Definition getDefinition()
Get the owning definition where the element is declared

Returns:
The owning definition

setDefinition

void setDefinition(Definition definition)
Set the owning definition

Parameters:
definition -

getElement

T getElement()
Get the WSDL element such as Service, PortType, Binding or Message

Returns:
The WSDL element

setElement

void setElement(T element)
Set the WSDL element

Parameters:
element -