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, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public RestRequestParamsPropertyHolder(RestParamsPropertyHolder methodParams, RestRequest restRequest, StringToStringMap values)
public void reset(RestParamsPropertyHolder methodParams, StringToStringMap values)
public RestParamProperty addProperty(String name)
addProperty
in interface RestParamsPropertyHolder
addProperty
in interface MutableTestPropertyHolder
public void addParameter(RestParamProperty prop)
addParameter
in interface RestParamsPropertyHolder
public void setParameterLocation(RestParamProperty parameter, NewRestResourceActionBase.ParamLocation newLocation)
setParameterLocation
in interface RestParamsPropertyHolder
public void addTestPropertyListener(TestPropertyListener listener)
addTestPropertyListener
in interface TestPropertyHolder
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 ModelItem getModelItem()
getModelItem
in interface TestPropertyHolder
public Map<String,TestProperty> getProperties()
getProperties
in interface TestPropertyHolder
public String getPropertiesLabel()
getPropertiesLabel
in interface TestPropertyHolder
public RestParamProperty getProperty(String name)
getProperty
in interface RestParamsPropertyHolder
getProperty
in interface TestPropertyHolder
public RestParamProperty getPropertyAt(int index)
getPropertyAt
in interface RestParamsPropertyHolder
getPropertyAt
in interface TestPropertyHolder
public int getPropertyCount()
getPropertyCount
in interface TestPropertyHolder
public PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions
in interface RestParamsPropertyHolder
public int getPropertyIndex(String name)
getPropertyIndex
in interface RestParamsPropertyHolder
public String[] getPropertyNames()
getPropertyNames
in interface TestPropertyHolder
public String getPropertyValue(String name)
getPropertyValue
in interface TestPropertyHolder
public boolean hasProperty(String name)
hasProperty
in interface TestPropertyHolder
public boolean isEmpty()
isEmpty
in interface Map<String,TestProperty>
public void moveProperty(String propertyName, int targetIndex)
moveProperty
in interface MutableTestPropertyHolder
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 RestParamProperty removeProperty(String propertyName)
removeProperty
in interface RestParamsPropertyHolder
removeProperty
in interface MutableTestPropertyHolder
public void removeTestPropertyListener(TestPropertyListener listener)
removeTestPropertyListener
in interface TestPropertyHolder
public boolean renameProperty(String name, String newName)
renameProperty
in interface MutableTestPropertyHolder
public void resetValues()
resetValues
in interface RestParamsPropertyHolder
public void release()
public void saveTo(Properties props)
saveTo
in interface RestParamsPropertyHolder
public void setPropertiesLabel(String propertiesLabel)
setPropertiesLabel
in interface RestParamsPropertyHolder
public void setPropertyValue(String name, String value)
setPropertyValue
in interface TestPropertyHolder
public 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 TestPropertyListener
public void propertyMoved(String name, int oldIndex, int newIndex)
propertyMoved
in interface TestPropertyListener
public void propertyRemoved(String name)
propertyRemoved
in interface TestPropertyListener
public void propertyRenamed(String oldName, String newName)
propertyRenamed
in interface TestPropertyListener
public void propertyValueChanged(String name, String oldValue, String newValue)
propertyValueChanged
in interface TestPropertyListener
public List<TestProperty> getPropertyList()
getPropertyList
in interface TestPropertyHolder
Copyright © 2019. All Rights Reserved.