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

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

public class XmlBeansRestParamsTestPropertyHolder
extends java.lang.Object
implements RestParamsPropertyHolder


Nested Class Summary
 class XmlBeansRestParamsTestPropertyHolder.XmlBeansRestParamProperty
           
 
Nested classes/interfaces inherited from interface com.eviware.soapui.impl.rest.support.RestParamsPropertyHolder
RestParamsPropertyHolder.ParameterStyle
 
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 addParameter(RestParamProperty property)
           
 void addParameters(RestParamsPropertyHolder params)
           
 int addPropertiesFromFile(java.lang.String propFile)
           
protected  XmlBeansRestParamsTestPropertyHolder.XmlBeansRestParamProperty addProperty(com.eviware.soapui.config.RestParameterConfig propertyConfig, boolean notify)
           
 XmlBeansRestParamsTestPropertyHolder.XmlBeansRestParamProperty addProperty(java.lang.String name)
           
 RestParamProperty addProperty(XmlBeansRestParamsTestPropertyHolder.XmlBeansRestParamProperty 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()
           
 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()
           
 RestParamProperty getProperty(java.lang.String name)
           
 RestParamProperty getPropertyAt(int index)
           
 int getPropertyCount()
           
 PropertyExpansion[] getPropertyExpansions()
           
 int getPropertyIndex(java.lang.String name)
           
 java.util.List<TestProperty> getPropertyList()
           
 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)
           
 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.XmlBeansRestParamProperty addProperty(com.eviware.soapui.config.RestParameterConfig propertyConfig,
                                                                                     boolean notify)

addProperty

public XmlBeansRestParamsTestPropertyHolder.XmlBeansRestParamProperty addProperty(java.lang.String name)
Specified by:
addProperty in interface RestParamsPropertyHolder
Specified by:
addProperty in interface MutableTestPropertyHolder

addTestPropertyListener

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

getProperty

public RestParamProperty getProperty(java.lang.String name)
Specified by:
getProperty in interface RestParamsPropertyHolder
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 RestParamProperty removeProperty(java.lang.String propertyName)
Specified by:
removeProperty in interface RestParamsPropertyHolder
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()
Specified by:
resetValues in interface RestParamsPropertyHolder

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)
Specified by:
getPropertyIndex in interface RestParamsPropertyHolder

saveTo

public void saveTo(java.util.Properties props)
Specified by:
saveTo in interface RestParamsPropertyHolder

getPropertyCount

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

getPropertyAt

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

getPropertyList

public java.util.List<TestProperty> getPropertyList()
Specified by:
getPropertyList 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()
Specified by:
getPropertyExpansions in interface RestParamsPropertyHolder

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 RestParamProperty get(java.lang.Object key)
Specified by:
get in interface RestParamsPropertyHolder
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)
Specified by:
setPropertiesLabel in interface RestParamsPropertyHolder

getConfig

public org.apache.xmlbeans.XmlObject getConfig()

addParameters

public void addParameters(RestParamsPropertyHolder params)

addParameter

public void addParameter(RestParamProperty property)
Specified by:
addParameter in interface RestParamsPropertyHolder

release

public void release()

addProperty

public RestParamProperty addProperty(XmlBeansRestParamsTestPropertyHolder.XmlBeansRestParamProperty prop)


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