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, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic 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 RestParamsPropertyHolderaddProperty in interface MutableTestPropertyHolderpublic void addTestPropertyListener(TestPropertyListener listener)
addTestPropertyListener in interface TestPropertyHolderpublic RestParamProperty getProperty(String name)
getProperty in interface RestParamsPropertyHoldergetProperty in interface TestPropertyHolderpublic String[] getPropertyNames()
getPropertyNames in interface TestPropertyHolderpublic String getPropertyValue(String name)
getPropertyValue in interface TestPropertyHolderpublic RestParamProperty removeProperty(String propertyName)
removeProperty in interface RestParamsPropertyHolderremoveProperty in interface MutableTestPropertyHolderpublic void removeTestPropertyListener(TestPropertyListener listener)
removeTestPropertyListener in interface TestPropertyHolderpublic void setPropertyValue(String name, String value)
setPropertyValue in interface TestPropertyHolderpublic void resetValues()
resetValues in interface RestParamsPropertyHolderpublic void resetPropertiesConfig(RestParametersConfig config)
public boolean renameProperty(String name, String newName)
renameProperty in interface MutableTestPropertyHolderpublic int getPropertyIndex(String name)
getPropertyIndex in interface RestParamsPropertyHolderpublic void saveTo(Properties props)
saveTo in interface RestParamsPropertyHolderpublic int getPropertyCount()
getPropertyCount in interface TestPropertyHolderpublic RestParamProperty getPropertyAt(int index)
getPropertyAt in interface RestParamsPropertyHoldergetPropertyAt in interface TestPropertyHolderpublic List<TestProperty> getPropertyList()
getPropertyList in interface TestPropertyHolderpublic Map<String,TestProperty> getProperties()
getProperties in interface TestPropertyHolderpublic boolean hasProperty(String name)
hasProperty in interface TestPropertyHolderpublic int addPropertiesFromFile(String propFile)
public ModelItem getModelItem()
getModelItem in interface TestPropertyHolderpublic PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions in interface RestParamsPropertyHolderpublic void moveProperty(String propertyName, int targetIndex)
moveProperty in interface MutableTestPropertyHolderpublic 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 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 TestPropertyHolderpublic void setPropertiesLabel(String propertiesLabel)
setPropertiesLabel in interface RestParamsPropertyHolderpublic org.apache.xmlbeans.XmlObject getConfig()
public void addParameters(RestParamsPropertyHolder params)
public void addParameter(RestParamProperty property)
addParameter in interface RestParamsPropertyHolderpublic void setParameterLocation(RestParamProperty parameter, NewRestResourceActionBase.ParamLocation newLocation)
setParameterLocation in interface RestParamsPropertyHolderpublic void release()
public RestParamProperty addProperty(XmlBeansRestParamsTestPropertyHolder.XmlBeansRestParamProperty prop)
Copyright © 2019. All Rights Reserved.