public class XmlBeansRestParamsTestPropertyHolder extends Object implements RestParamsPropertyHolder
Modifier and Type | Class and Description |
---|---|
class |
XmlBeansRestParamsTestPropertyHolder.XmlBeansRestParamProperty |
RestParamsPropertyHolder.ParameterStyle
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_LOCATION |
static String |
PROPERTY_STYLE |
Constructor and Description |
---|
XmlBeansRestParamsTestPropertyHolder(ModelItem modelItem,
RestParametersConfig config) |
XmlBeansRestParamsTestPropertyHolder(ModelItem modelItem,
RestParametersConfig config,
NewRestResourceActionBase.ParamLocation defaultParamLocation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public static final String PROPERTY_STYLE
public static final String PARAM_LOCATION
public XmlBeansRestParamsTestPropertyHolder(ModelItem modelItem, RestParametersConfig config)
public XmlBeansRestParamsTestPropertyHolder(ModelItem modelItem, RestParametersConfig config, NewRestResourceActionBase.ParamLocation defaultParamLocation)
protected XmlBeansRestParamsTestPropertyHolder.XmlBeansRestParamProperty addProperty(RestParameterConfig propertyConfig, boolean notify)
public RestParamProperty addProperty(String name)
addProperty
in interface RestParamsPropertyHolder
addProperty
in interface MutableTestPropertyHolder
public void addTestPropertyListener(TestPropertyListener listener)
addTestPropertyListener
in interface TestPropertyHolder
public RestParamProperty getProperty(String name)
getProperty
in interface RestParamsPropertyHolder
getProperty
in interface TestPropertyHolder
public String[] getPropertyNames()
getPropertyNames
in interface TestPropertyHolder
public String getPropertyValue(String name)
getPropertyValue
in interface TestPropertyHolder
public RestParamProperty removeProperty(String propertyName)
removeProperty
in interface RestParamsPropertyHolder
removeProperty
in interface MutableTestPropertyHolder
public void removeTestPropertyListener(TestPropertyListener listener)
removeTestPropertyListener
in interface TestPropertyHolder
public void setPropertyValue(String name, String value)
setPropertyValue
in interface TestPropertyHolder
public void resetValues()
resetValues
in interface RestParamsPropertyHolder
public void resetPropertiesConfig(RestParametersConfig config)
public boolean renameProperty(String name, String newName)
renameProperty
in interface MutableTestPropertyHolder
public int getPropertyIndex(String name)
getPropertyIndex
in interface RestParamsPropertyHolder
public void saveTo(Properties props)
saveTo
in interface RestParamsPropertyHolder
public int getPropertyCount()
getPropertyCount
in interface TestPropertyHolder
public RestParamProperty getPropertyAt(int index)
getPropertyAt
in interface RestParamsPropertyHolder
getPropertyAt
in interface TestPropertyHolder
public List<TestProperty> getPropertyList()
getPropertyList
in interface TestPropertyHolder
public Map<String,TestProperty> getProperties()
getProperties
in interface TestPropertyHolder
public boolean hasProperty(String name)
hasProperty
in interface TestPropertyHolder
public int addPropertiesFromFile(String propFile)
public ModelItem getModelItem()
getModelItem
in interface TestPropertyHolder
public PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions
in interface RestParamsPropertyHolder
public void moveProperty(String propertyName, int targetIndex)
moveProperty
in interface MutableTestPropertyHolder
public void clear()
clear
in interface Map<String,TestProperty>
public boolean containsKey(Object key)
containsKey
in interface Map<String,TestProperty>
public boolean containsValue(Object value)
containsValue
in interface Map<String,TestProperty>
public Set<Map.Entry<String,TestProperty>> entrySet()
entrySet
in interface Map<String,TestProperty>
public RestParamProperty get(Object key)
get
in interface RestParamsPropertyHolder
get
in interface Map<String,TestProperty>
public boolean isEmpty()
isEmpty
in interface Map<String,TestProperty>
public TestProperty put(String key, TestProperty value)
put
in interface Map<String,TestProperty>
public void putAll(Map<? extends String,? extends TestProperty> m)
putAll
in interface Map<String,TestProperty>
public TestProperty remove(Object key)
remove
in interface Map<String,TestProperty>
public int size()
size
in interface Map<String,TestProperty>
public Collection<TestProperty> values()
values
in interface Map<String,TestProperty>
public String getPropertiesLabel()
getPropertiesLabel
in interface TestPropertyHolder
public void setPropertiesLabel(String propertiesLabel)
setPropertiesLabel
in interface RestParamsPropertyHolder
public org.apache.xmlbeans.XmlObject getConfig()
public void addParameters(RestParamsPropertyHolder params)
public void addParameter(RestParamProperty property)
addParameter
in interface RestParamsPropertyHolder
public void setParameterLocation(RestParamProperty parameter, NewRestResourceActionBase.ParamLocation newLocation)
setParameterLocation
in interface RestParamsPropertyHolder
public void release()
public RestParamProperty addProperty(XmlBeansRestParamsTestPropertyHolder.XmlBeansRestParamProperty prop)
Copyright © 2019. All Rights Reserved.