com.eviware.soapui.impl.wsdl
Class WsdlInterface

java.lang.Object
  extended by com.eviware.soapui.model.support.AbstractModelItem
      extended by com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem
          extended by com.eviware.soapui.impl.wsdl.WsdlInterface
All Implemented Interfaces:
Interface, ModelItem

public class WsdlInterface
extends AbstractWsdlModelItem
implements Interface

WSDL implementation of Interface, maps to a WSDL Binding

Author:
Ole.Matzura

Field Summary
 
Fields inherited from interface com.eviware.soapui.model.iface.Interface
DEFINITION_PROPERTY, ENDPOINTS_PROPERTY
 
Fields inherited from interface com.eviware.soapui.model.ModelItem
ACTIONS_PROPERTY, DESCRIPTION_PROPERTY, ICON_PROPERTY, NAME_PROPERTY
 
Constructor Summary
WsdlInterface(WsdlProject project, com.eviware.soapui.config.InterfaceConfig interfaceConfig)
           
 
Method Summary
 void addEndpoint(java.lang.String endpoint)
           
 void addInterfaceListener(InterfaceListener listener)
           
 WsdlOperation addNewOperation()
           
 void clearEndpoints()
           
protected  SoapUITreeNode createTreeNode()
           
 javax.xml.namespace.QName getBindingName()
           
 java.lang.String getDefinition()
           
 java.lang.String[] getEndpoints()
           
 javax.swing.ImageIcon getIcon()
           
 com.eviware.soapui.config.InterfaceConfig getInterfaceConfig()
           
 java.lang.String getName()
           
 Operation getOperationAt(int index)
           
 int getOperationCount()
           
 PanelBuilder getPanelBuilder()
           
 Project getProject()
           
 RequestBuilder getRequestBuilder()
           
 WsdlContext getWsdlContext()
           
 void notifyOperationAdded(WsdlOperation operation)
           
 void notifyOperationRemoved(WsdlOperation operation)
           
 void notifyRequestAdded(WsdlRequest request)
           
 void notifyRequestRemoved(WsdlRequest request)
           
 void removeInterfaceListener(InterfaceListener listener)
           
 void setBindingName(javax.xml.namespace.QName name)
           
 void setDefinition(java.lang.String wsdlUrl)
           
 void setName(java.lang.String name)
           
 void setSoapRequestBuilder(SoapRequestBuilder builder)
           
 void updateDefinition(java.lang.String url)
           
 
Methods inherited from class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem
getDescription
 
Methods inherited from class com.eviware.soapui.model.support.AbstractModelItem
addAction, addPropertyChangeListener, addPropertyChangeListener, getActions, getTreeModel, getTreeNode, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, release, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.eviware.soapui.model.ModelItem
addPropertyChangeListener, addPropertyChangeListener, getActions, getDescription, getTreeNode, removePropertyChangeListener
 

Constructor Detail

WsdlInterface

public WsdlInterface(WsdlProject project,
                     com.eviware.soapui.config.InterfaceConfig interfaceConfig)
Method Detail

getPanelBuilder

public PanelBuilder getPanelBuilder()
Specified by:
getPanelBuilder in interface ModelItem
Overrides:
getPanelBuilder in class AbstractModelItem

getEndpoints

public java.lang.String[] getEndpoints()
Specified by:
getEndpoints in interface Interface

getOperationAt

public Operation getOperationAt(int index)
Specified by:
getOperationAt in interface Interface

getOperationCount

public int getOperationCount()
Specified by:
getOperationCount in interface Interface

getName

public java.lang.String getName()
Specified by:
getName in interface ModelItem

setName

public void setName(java.lang.String name)

getInterfaceConfig

public com.eviware.soapui.config.InterfaceConfig getInterfaceConfig()

addNewOperation

public WsdlOperation addNewOperation()

getProject

public Project getProject()
Specified by:
getProject in interface Interface

addEndpoint

public void addEndpoint(java.lang.String endpoint)

setDefinition

public void setDefinition(java.lang.String wsdlUrl)

getDefinition

public java.lang.String getDefinition()
Specified by:
getDefinition in interface Interface

getWsdlContext

public WsdlContext getWsdlContext()

clearEndpoints

public void clearEndpoints()

getRequestBuilder

public RequestBuilder getRequestBuilder()
Specified by:
getRequestBuilder in interface Interface

setSoapRequestBuilder

public void setSoapRequestBuilder(SoapRequestBuilder builder)

getBindingName

public javax.xml.namespace.QName getBindingName()

setBindingName

public void setBindingName(javax.xml.namespace.QName name)

getIcon

public javax.swing.ImageIcon getIcon()
Specified by:
getIcon in interface ModelItem

createTreeNode

protected SoapUITreeNode createTreeNode()
Specified by:
createTreeNode in class AbstractModelItem

updateDefinition

public void updateDefinition(java.lang.String url)
                      throws java.lang.Exception
Throws:
java.lang.Exception

notifyOperationAdded

public void notifyOperationAdded(WsdlOperation operation)

notifyOperationRemoved

public void notifyOperationRemoved(WsdlOperation operation)

notifyRequestAdded

public void notifyRequestAdded(WsdlRequest request)

notifyRequestRemoved

public void notifyRequestRemoved(WsdlRequest request)

addInterfaceListener

public void addInterfaceListener(InterfaceListener listener)
Specified by:
addInterfaceListener in interface Interface

removeInterfaceListener

public void removeInterfaceListener(InterfaceListener listener)
Specified by:
removeInterfaceListener in interface Interface


Copyright © 2005 eviware.com. All Rights Reserved.