com.eviware.soapui.impl.wsdl.panels.teststeps
Class JdbcRequest

java.lang.Object
  extended by com.eviware.soapui.model.support.AbstractModelItem
      extended by com.eviware.soapui.model.support.AbstractAnimatableModelItem<com.eviware.soapui.config.ModelItemConfig>
          extended by com.eviware.soapui.impl.wsdl.panels.teststeps.JdbcRequest
All Implemented Interfaces:
TestRequest, Request, ModelItem, Assertable, PropertyChangeNotifier

public class JdbcRequest
extends AbstractAnimatableModelItem<com.eviware.soapui.config.ModelItemConfig>
implements Assertable, TestRequest


Nested Class Summary
static class JdbcRequest.RequestIconAnimator<T extends JdbcRequest>
           
 
Nested classes/interfaces inherited from interface com.eviware.soapui.model.iface.Request
Request.SubmitException
 
Nested classes/interfaces inherited from interface com.eviware.soapui.model.testsuite.Assertable
Assertable.AssertionStatus
 
Field Summary
 
Fields inherited from interface com.eviware.soapui.model.iface.Request
ENCODING_PROPERTY, ENDPOINT_PROPERTY, REQUEST_PROPERTY
 
Fields inherited from interface com.eviware.soapui.model.ModelItem
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
 
Constructor Summary
JdbcRequest(JdbcRequestTestStep testStep)
           
 
Method Summary
 TestAssertion addAssertion(java.lang.String selection)
           
 void addAssertionsListener(AssertionsListener listener)
           
 void addSubmitListener(SubmitListener listener)
           
 TestAssertion cloneAssertion(TestAssertion source, java.lang.String name)
           
 boolean dependsOn(ModelItem modelItem)
           
 java.lang.String getAssertableContent()
           
 TestAssertionRegistry.AssertableType getAssertableType()
           
 TestAssertion getAssertionAt(int c)
           
 TestAssertion getAssertionByName(java.lang.String name)
           
 int getAssertionCount()
           
 java.util.List<TestAssertion> getAssertionList()
           
 java.util.Map<java.lang.String,TestAssertion> getAssertions()
           
 Assertable.AssertionStatus getAssertionStatus()
           
 Attachment[] getAttachments()
           
 java.util.List<? extends ModelItem> getChildren()
           
 java.lang.String getDefaultAssertableContent()
           
 java.lang.String getDescription()
           
 java.lang.String getEncoding()
           
 java.lang.String getEndpoint()
           
 javax.swing.ImageIcon getIcon()
           
 JdbcRequest.RequestIconAnimator<?> getIconAnimator()
           
 java.lang.String getId()
           
 Interface getInterface()
           
 ModelItem getModelItem()
           
 java.lang.String getName()
           
 Operation getOperation()
           
 ModelItem getParent()
           
 java.lang.String getPassword()
           
 java.lang.String getRequestContent()
           
 MessagePart[] getRequestParts()
           
 JdbcResponse getResponse()
           
 MessagePart[] getResponseParts()
           
 Settings getSettings()
           
 SubmitListener[] getSubmitListeners()
           
 JdbcRequestTestStep getTestStep()
           
 java.lang.String getTimeout()
           
 java.lang.String getUsername()
           
 WsdlMessageAssertion importAssertion(WsdlMessageAssertion source, boolean overwrite, boolean createCopy)
           
protected  JdbcRequest.RequestIconAnimator<?> initIconAnimator()
           
 void initIcons()
           
 TestAssertion moveAssertion(int ix, int offset)
           
 void removeAssertion(TestAssertion assertion)
           
 void removeAssertionsListener(AssertionsListener listener)
           
 void removeSubmitListener(SubmitListener listener)
           
 void setEncoding(java.lang.String string)
           
 void setEndpoint(java.lang.String string)
           
 void setIcon(javax.swing.ImageIcon icon)
           
 void setIconAnimator(JdbcRequest.RequestIconAnimator<?> iconAnimator)
           
 void setResponse(JdbcResponse response)
           
 JdbcSubmit submit(SubmitContext submitContext, boolean async)
           
 
Methods inherited from class com.eviware.soapui.model.support.AbstractModelItem
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, 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.support.PropertyChangeNotifier
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

JdbcRequest

public JdbcRequest(JdbcRequestTestStep testStep)
Method Detail

addSubmitListener

public void addSubmitListener(SubmitListener listener)
Specified by:
addSubmitListener in interface Request

dependsOn

public boolean dependsOn(ModelItem modelItem)
Specified by:
dependsOn in interface Request

getAttachments

public Attachment[] getAttachments()
Specified by:
getAttachments in interface Request

getEncoding

public java.lang.String getEncoding()
Specified by:
getEncoding in interface Request

getEndpoint

public java.lang.String getEndpoint()
Specified by:
getEndpoint in interface Request

getOperation

public Operation getOperation()
Specified by:
getOperation in interface Request

getRequestContent

public java.lang.String getRequestContent()
Specified by:
getRequestContent in interface Request

getRequestParts

public MessagePart[] getRequestParts()
Specified by:
getRequestParts in interface Request

getResponseParts

public MessagePart[] getResponseParts()
Specified by:
getResponseParts in interface Request

getTimeout

public java.lang.String getTimeout()
Specified by:
getTimeout in interface Request

removeSubmitListener

public void removeSubmitListener(SubmitListener listener)
Specified by:
removeSubmitListener in interface Request

setEncoding

public void setEncoding(java.lang.String string)
Specified by:
setEncoding in interface Request

setEndpoint

public void setEndpoint(java.lang.String string)
Specified by:
setEndpoint in interface Request

submit

public JdbcSubmit submit(SubmitContext submitContext,
                         boolean async)
                  throws Request.SubmitException
Specified by:
submit in interface Request
Throws:
Request.SubmitException

getChildren

public java.util.List<? extends ModelItem> getChildren()
Specified by:
getChildren in interface ModelItem
Overrides:
getChildren in class AbstractModelItem

getDescription

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

getId

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

getName

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

getParent

public ModelItem getParent()
Specified by:
getParent in interface ModelItem

getSettings

public Settings getSettings()
Specified by:
getSettings in interface ModelItem

getSubmitListeners

public SubmitListener[] getSubmitListeners()

getTestStep

public JdbcRequestTestStep getTestStep()
Specified by:
getTestStep in interface TestRequest

importAssertion

public WsdlMessageAssertion importAssertion(WsdlMessageAssertion source,
                                            boolean overwrite,
                                            boolean createCopy)
Specified by:
importAssertion in interface TestRequest

addAssertion

public TestAssertion addAssertion(java.lang.String selection)
Specified by:
addAssertion in interface Assertable

addAssertionsListener

public void addAssertionsListener(AssertionsListener listener)
Specified by:
addAssertionsListener in interface Assertable

cloneAssertion

public TestAssertion cloneAssertion(TestAssertion source,
                                    java.lang.String name)
Specified by:
cloneAssertion in interface Assertable

getAssertableContent

public java.lang.String getAssertableContent()
Specified by:
getAssertableContent in interface Assertable

getAssertableType

public TestAssertionRegistry.AssertableType getAssertableType()
Specified by:
getAssertableType in interface Assertable

getAssertionAt

public TestAssertion getAssertionAt(int c)
Specified by:
getAssertionAt in interface Assertable

getAssertionByName

public TestAssertion getAssertionByName(java.lang.String name)
Specified by:
getAssertionByName in interface Assertable

getAssertionCount

public int getAssertionCount()
Specified by:
getAssertionCount in interface Assertable

getAssertionList

public java.util.List<TestAssertion> getAssertionList()
Specified by:
getAssertionList in interface Assertable

getAssertionStatus

public Assertable.AssertionStatus getAssertionStatus()
Specified by:
getAssertionStatus in interface Assertable

getAssertions

public java.util.Map<java.lang.String,TestAssertion> getAssertions()
Specified by:
getAssertions in interface Assertable

getDefaultAssertableContent

public java.lang.String getDefaultAssertableContent()
Specified by:
getDefaultAssertableContent in interface Assertable

getInterface

public Interface getInterface()
Specified by:
getInterface in interface Assertable

getModelItem

public ModelItem getModelItem()
Specified by:
getModelItem in interface Assertable

moveAssertion

public TestAssertion moveAssertion(int ix,
                                   int offset)
Specified by:
moveAssertion in interface Assertable

removeAssertion

public void removeAssertion(TestAssertion assertion)
Specified by:
removeAssertion in interface Assertable

removeAssertionsListener

public void removeAssertionsListener(AssertionsListener listener)
Specified by:
removeAssertionsListener in interface Assertable

setResponse

public void setResponse(JdbcResponse response)

getResponse

public JdbcResponse getResponse()

initIcons

public void initIcons()

initIconAnimator

protected JdbcRequest.RequestIconAnimator<?> initIconAnimator()

getIconAnimator

public JdbcRequest.RequestIconAnimator<?> getIconAnimator()

setIconAnimator

public void setIconAnimator(JdbcRequest.RequestIconAnimator<?> iconAnimator)

getIcon

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

setIcon

public void setIcon(javax.swing.ImageIcon icon)
Specified by:
setIcon in class AbstractAnimatableModelItem<com.eviware.soapui.config.ModelItemConfig>

getPassword

public java.lang.String getPassword()
Specified by:
getPassword in interface Request

getUsername

public java.lang.String getUsername()
Specified by:
getUsername in interface Request


Copyright © 2005-2010 eviware.com. All Rights Reserved.