public class XmlBeansPropertiesTestPropertyHolder extends Object implements MutableTestPropertyHolder, Map<String,TestProperty>
Modifier and Type | Class and Description |
---|---|
class |
XmlBeansPropertiesTestPropertyHolder.PropertiesStepProperty
Internal property class
|
Constructor and Description |
---|
XmlBeansPropertiesTestPropertyHolder(ModelItem modelItem,
PropertiesTypeConfig config) |
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 XmlBeansPropertiesTestPropertyHolder(ModelItem modelItem, PropertiesTypeConfig config)
protected XmlBeansPropertiesTestPropertyHolder.PropertiesStepProperty addProperty(PropertyConfig propertyConfig, boolean notify, TestProperty virtualProperty)
public TestProperty addProperty(String name)
addProperty
in interface MutableTestPropertyHolder
public TestProperty addVirtualProperty(String key, TestProperty virtualProperty)
public void addTestPropertyListener(TestPropertyListener listener)
addTestPropertyListener
in interface TestPropertyHolder
public XmlBeansPropertiesTestPropertyHolder.PropertiesStepProperty getProperty(String name)
getProperty
in interface TestPropertyHolder
public String[] getPropertyNames()
getPropertyNames
in interface TestPropertyHolder
public List<TestProperty> getPropertyList()
getPropertyList
in interface TestPropertyHolder
public String getPropertyValue(String name)
getPropertyValue
in interface TestPropertyHolder
public TestProperty removeProperty(String propertyName)
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 resetPropertiesConfig(PropertiesTypeConfig config)
public boolean renameProperty(String name, String newName)
renameProperty
in interface MutableTestPropertyHolder
public void firePropertyValueChanged(String name, String oldValue, String newValue)
public int saveTo(String fileName) throws IOException
IOException
public int getPropertyCount()
getPropertyCount
in interface TestPropertyHolder
public TestProperty getPropertyAt(int index)
getPropertyAt
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()
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 TestProperty get(Object key)
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)
Copyright © 2019. All Rights Reserved.