com.eviware.soapui.impl.wsdl
Class AbstractTestPropertyHolderWsdlModelItem<T extends com.eviware.soapui.config.ModelItemConfig>

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.AbstractWsdlModelItem<T>
              extended by com.eviware.soapui.impl.wsdl.AbstractTestPropertyHolderWsdlModelItem<T>
All Implemented Interfaces:
MutableTestPropertyHolder, ModelItem, TestPropertyHolder, PropertyChangeNotifier
Direct Known Subclasses:
WsdlMockService, WsdlProject, WsdlTestCase, WsdlTestSuite

public abstract class AbstractTestPropertyHolderWsdlModelItem<T extends com.eviware.soapui.config.ModelItemConfig>
extends AbstractWsdlModelItem<T>
implements MutableTestPropertyHolder


Field Summary
 
Fields inherited from interface com.eviware.soapui.model.ModelItem
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
 
Constructor Summary
protected AbstractTestPropertyHolderWsdlModelItem(T config, ModelItem parent, java.lang.String icon)
           
 
Method Summary
 int addPropertiesFromFile(java.lang.String propFile)
           
 TestProperty addProperty(java.lang.String name)
           
 void addTestPropertyListener(TestPropertyListener listener)
           
 ModelItem getModelItem()
           
 java.util.Map<java.lang.String,TestProperty> getProperties()
           
 java.lang.String getPropertiesLabel()
           
 TestProperty getProperty(java.lang.String name)
           
 TestProperty getPropertyAt(int index)
           
 int getPropertyCount()
           
 java.util.List<TestProperty> getPropertyList()
           
 java.lang.String[] getPropertyNames()
           
 java.lang.String getPropertyValue(java.lang.String name)
           
 boolean hasProperty(java.lang.String name)
           
 void moveProperty(java.lang.String propertyName, int targetIndex)
           
 TestProperty removeProperty(java.lang.String propertyName)
           
 void removeTestPropertyListener(TestPropertyListener listener)
           
 boolean renameProperty(java.lang.String name, java.lang.String newName)
           
protected  void setPropertiesConfig(com.eviware.soapui.config.PropertiesTypeConfig config)
           
 void setPropertyValue(java.lang.String name, java.lang.String value)
           
 
Methods inherited from class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem
afterLoad, beforeSave, dependsOn, getConfig, getDescription, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemByName, release, resolve, setConfig, setDescription, setIcon, setName, setSettings
 
Methods inherited from class com.eviware.soapui.model.support.AbstractModelItem
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTestPropertyHolderWsdlModelItem

protected AbstractTestPropertyHolderWsdlModelItem(T config,
                                                  ModelItem parent,
                                                  java.lang.String icon)
Method Detail

setPropertiesConfig

protected void setPropertiesConfig(com.eviware.soapui.config.PropertiesTypeConfig config)

addPropertiesFromFile

public int addPropertiesFromFile(java.lang.String propFile)

addProperty

public TestProperty addProperty(java.lang.String name)
Specified by:
addProperty in interface MutableTestPropertyHolder

addTestPropertyListener

public void addTestPropertyListener(TestPropertyListener listener)
Specified by:
addTestPropertyListener in interface TestPropertyHolder

getProperty

public TestProperty getProperty(java.lang.String name)
Specified by:
getProperty in interface TestPropertyHolder

getPropertyNames

public java.lang.String[] getPropertyNames()
Specified by:
getPropertyNames in interface TestPropertyHolder

getPropertyList

public java.util.List<TestProperty> getPropertyList()
Specified by:
getPropertyList in interface TestPropertyHolder

getPropertyValue

public java.lang.String getPropertyValue(java.lang.String name)
Specified by:
getPropertyValue in interface TestPropertyHolder

removeProperty

public TestProperty removeProperty(java.lang.String propertyName)
Specified by:
removeProperty in interface MutableTestPropertyHolder

removeTestPropertyListener

public void removeTestPropertyListener(TestPropertyListener listener)
Specified by:
removeTestPropertyListener in interface TestPropertyHolder

setPropertyValue

public void setPropertyValue(java.lang.String name,
                             java.lang.String value)
Specified by:
setPropertyValue in interface TestPropertyHolder

renameProperty

public boolean renameProperty(java.lang.String name,
                              java.lang.String newName)
Specified by:
renameProperty in interface MutableTestPropertyHolder

getProperties

public java.util.Map<java.lang.String,TestProperty> getProperties()
Specified by:
getProperties in interface TestPropertyHolder

hasProperty

public boolean hasProperty(java.lang.String name)
Specified by:
hasProperty in interface TestPropertyHolder

getPropertyAt

public TestProperty getPropertyAt(int index)
Specified by:
getPropertyAt in interface TestPropertyHolder

getPropertyCount

public int getPropertyCount()
Specified by:
getPropertyCount in interface TestPropertyHolder

moveProperty

public void moveProperty(java.lang.String propertyName,
                         int targetIndex)
Specified by:
moveProperty in interface MutableTestPropertyHolder

getModelItem

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

getPropertiesLabel

public java.lang.String getPropertiesLabel()
Specified by:
getPropertiesLabel in interface TestPropertyHolder


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