com.eviware.soapui.impl.rest.support
Class XmlBeansRestParamsTestPropertyHolder

java.lang.Object
  extended by com.eviware.soapui.impl.rest.support.XmlBeansRestParamsTestPropertyHolder
All Implemented Interfaces:
MutableTestPropertyHolder, TestPropertyHolder, java.util.Map<java.lang.String,TestProperty>

public class XmlBeansRestParamsTestPropertyHolder
extends java.lang.Object
implements MutableTestPropertyHolder, java.util.Map<java.lang.String,TestProperty>


Nested Class Summary
static class XmlBeansRestParamsTestPropertyHolder.ParameterStyle
          Internal property class
 class XmlBeansRestParamsTestPropertyHolder.RestParamProperty
           
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
XmlBeansRestParamsTestPropertyHolder(ModelItem modelItem, com.eviware.soapui.config.RestParametersConfig config)
           
 
Method Summary
 void addParameters(XmlBeansRestParamsTestPropertyHolder params)
           
 int addPropertiesFromFile(java.lang.String propFile)
           
protected  XmlBeansRestParamsTestPropertyHolder.RestParamProperty addProperty(com.eviware.soapui.config.RestParameterConfig propertyConfig, boolean notify)
           
 XmlBeansRestParamsTestPropertyHolder.RestParamProperty addProperty(java.lang.String name)
           
 XmlBeansRestParamsTestPropertyHolder.RestParamProperty addProperty(XmlBeansRestParamsTestPropertyHolder.RestParamProperty prop)
           
 void addTestPropertyListener(TestPropertyListener listener)
           
 void clear()
           
 boolean containsKey(java.lang.Object key)
           
 boolean containsValue(java.lang.Object value)
           
 java.util.Set<java.util.Map.Entry<java.lang.String,TestProperty>> entrySet()
           
 XmlBeansRestParamsTestPropertyHolder.RestParamProperty get(java.lang.Object key)
           
 org.apache.xmlbeans.XmlObject getConfig()
           
 ModelItem getModelItem()
           
 java.util.Map<java.lang.String,TestProperty> getProperties()
           
 java.lang.String getPropertiesLabel()
           
 XmlBeansRestParamsTestPropertyHolder.RestParamProperty getProperty(java.lang.String name)
           
 XmlBeansRestParamsTestPropertyHolder.RestParamProperty getPropertyAt(int index)
           
 int getPropertyCount()
           
 PropertyExpansion[] getPropertyExpansions()
           
 int getPropertyIndex(java.lang.String name)
           
 java.lang.String[] getPropertyNames()
           
 java.lang.String getPropertyValue(java.lang.String name)
           
 boolean hasProperty(java.lang.String name)
           
 boolean isEmpty()
           
 java.util.Set<java.lang.String> keySet()
           
 void moveProperty(java.lang.String propertyName, int targetIndex)
           
 TestProperty put(java.lang.String key, TestProperty value)
           
 void putAll(java.util.Map<? extends java.lang.String,? extends TestProperty> m)
           
 void release()
           
 TestProperty remove(java.lang.Object key)
           
 XmlBeansRestParamsTestPropertyHolder.RestParamProperty removeProperty(java.lang.String propertyName)
           
 void removeTestPropertyListener(TestPropertyListener listener)
           
 boolean renameProperty(java.lang.String name, java.lang.String newName)
           
 void resetPropertiesConfig(com.eviware.soapui.config.RestParametersConfig config)
           
 void resetValues()
           
 void saveTo(java.util.Properties props)
           
 void setPropertiesLabel(java.lang.String propertiesLabel)
           
 void setPropertyValue(java.lang.String name, java.lang.String value)
           
 int size()
           
 java.util.Collection<TestProperty> values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

XmlBeansRestParamsTestPropertyHolder

public XmlBeansRestParamsTestPropertyHolder(ModelItem modelItem,
                                            com.eviware.soapui.config.RestParametersConfig config)
Method Detail

addProperty

protected XmlBeansRestParamsTestPropertyHolder.RestParamProperty addProperty(com.eviware.soapui.config.RestParameterConfig propertyConfig,
                                                                             boolean notify)

addProperty

public XmlBeansRestParamsTestPropertyHolder.RestParamProperty 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 XmlBeansRestParamsTestPropertyHolder.RestParamProperty getProperty(java.lang.String name)
Specified by:
getProperty in interface TestPropertyHolder

getPropertyNames

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

getPropertyValue

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

removeProperty

public XmlBeansRestParamsTestPropertyHolder.RestParamProperty 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

resetValues

public void resetValues()

resetPropertiesConfig

public void resetPropertiesConfig(com.eviware.soapui.config.RestParametersConfig config)

renameProperty

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

getPropertyIndex

public int getPropertyIndex(java.lang.String name)

saveTo

public void saveTo(java.util.Properties props)

getPropertyCount

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

getPropertyAt

public XmlBeansRestParamsTestPropertyHolder.RestParamProperty getPropertyAt(int index)
Specified by:
getPropertyAt in interface TestPropertyHolder

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

addPropertiesFromFile

public int addPropertiesFromFile(java.lang.String propFile)

getModelItem

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

getPropertyExpansions

public PropertyExpansion[] getPropertyExpansions()

moveProperty

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

clear

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

containsKey

public boolean containsKey(java.lang.Object key)
Specified by:
containsKey in interface java.util.Map<java.lang.String,TestProperty>

containsValue

public boolean containsValue(java.lang.Object value)
Specified by:
containsValue in interface java.util.Map<java.lang.String,TestProperty>

entrySet

public java.util.Set<java.util.Map.Entry<java.lang.String,TestProperty>> entrySet()
Specified by:
entrySet in interface java.util.Map<java.lang.String,TestProperty>

get

public XmlBeansRestParamsTestPropertyHolder.RestParamProperty get(java.lang.Object key)
Specified by:
get in interface java.util.Map<java.lang.String,TestProperty>

isEmpty

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

keySet

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

put

public TestProperty put(java.lang.String key,
                        TestProperty value)
Specified by:
put in interface java.util.Map<java.lang.String,TestProperty>

putAll

public void putAll(java.util.Map<? extends java.lang.String,? extends TestProperty> m)
Specified by:
putAll in interface java.util.Map<java.lang.String,TestProperty>

remove

public TestProperty remove(java.lang.Object key)
Specified by:
remove in interface java.util.Map<java.lang.String,TestProperty>

size

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

values

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

getPropertiesLabel

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

setPropertiesLabel

public void setPropertiesLabel(java.lang.String propertiesLabel)

getConfig

public org.apache.xmlbeans.XmlObject getConfig()

addParameters

public void addParameters(XmlBeansRestParamsTestPropertyHolder params)

release

public void release()

addProperty

public XmlBeansRestParamsTestPropertyHolder.RestParamProperty addProperty(XmlBeansRestParamsTestPropertyHolder.RestParamProperty prop)


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