public class RestRequestParamsPropertyHolder extends Object implements RestParamsPropertyHolder, TestPropertyListener
| Modifier and Type | Class and Description |
|---|---|
class |
RestRequestParamsPropertyHolder.InternalRestParamProperty |
RestParamsPropertyHolder.ParameterStyle| Constructor and Description |
|---|
RestRequestParamsPropertyHolder(RestParamsPropertyHolder methodParams,
RestRequest restRequest,
StringToStringMap values) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic RestRequestParamsPropertyHolder(RestParamsPropertyHolder methodParams, RestRequest restRequest, StringToStringMap values)
public void reset(RestParamsPropertyHolder methodParams, StringToStringMap values)
public RestParamProperty addProperty(String name)
addProperty in interface RestParamsPropertyHolderaddProperty in interface MutableTestPropertyHolderpublic void addParameter(RestParamProperty prop)
addParameter in interface RestParamsPropertyHolderpublic void setParameterLocation(RestParamProperty parameter, NewRestResourceActionBase.ParamLocation newLocation)
setParameterLocation in interface RestParamsPropertyHolderpublic void addTestPropertyListener(TestPropertyListener listener)
addTestPropertyListener in interface TestPropertyHolderpublic 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 RestParamsPropertyHolderget in interface Map<String,TestProperty>public ModelItem getModelItem()
getModelItem in interface TestPropertyHolderpublic Map<String,TestProperty> getProperties()
getProperties in interface TestPropertyHolderpublic String getPropertiesLabel()
getPropertiesLabel in interface TestPropertyHolderpublic RestParamProperty getProperty(String name)
getProperty in interface RestParamsPropertyHoldergetProperty in interface TestPropertyHolderpublic RestParamProperty getPropertyAt(int index)
getPropertyAt in interface RestParamsPropertyHoldergetPropertyAt in interface TestPropertyHolderpublic int getPropertyCount()
getPropertyCount in interface TestPropertyHolderpublic PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions in interface RestParamsPropertyHolderpublic int getPropertyIndex(String name)
getPropertyIndex in interface RestParamsPropertyHolderpublic String[] getPropertyNames()
getPropertyNames in interface TestPropertyHolderpublic String getPropertyValue(String name)
getPropertyValue in interface TestPropertyHolderpublic boolean hasProperty(String name)
hasProperty in interface TestPropertyHolderpublic boolean isEmpty()
isEmpty in interface Map<String,TestProperty>public void moveProperty(String propertyName, int targetIndex)
moveProperty in interface MutableTestPropertyHolderpublic 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 RestParamProperty removeProperty(String propertyName)
removeProperty in interface RestParamsPropertyHolderremoveProperty in interface MutableTestPropertyHolderpublic void removeTestPropertyListener(TestPropertyListener listener)
removeTestPropertyListener in interface TestPropertyHolderpublic boolean renameProperty(String name, String newName)
renameProperty in interface MutableTestPropertyHolderpublic void resetValues()
resetValues in interface RestParamsPropertyHolderpublic void release()
public void saveTo(Properties props)
saveTo in interface RestParamsPropertyHolderpublic void setPropertiesLabel(String propertiesLabel)
setPropertiesLabel in interface RestParamsPropertyHolderpublic void setPropertyValue(String name, String value)
setPropertyValue in interface TestPropertyHolderpublic int size()
size in interface Map<String,TestProperty>public Collection<TestProperty> values()
values in interface Map<String,TestProperty>public void propertyAdded(String name)
propertyAdded in interface TestPropertyListenerpublic void propertyMoved(String name, int oldIndex, int newIndex)
propertyMoved in interface TestPropertyListenerpublic void propertyRemoved(String name)
propertyRemoved in interface TestPropertyListenerpublic void propertyRenamed(String oldName, String newName)
propertyRenamed in interface TestPropertyListenerpublic void propertyValueChanged(String name, String oldValue, String newValue)
propertyValueChanged in interface TestPropertyListenerpublic List<TestProperty> getPropertyList()
getPropertyList in interface TestPropertyHolderCopyright © 2019. All Rights Reserved.