public class MapTestPropertyHolder extends Object implements MutableTestPropertyHolder
| Modifier and Type | Class and Description | 
|---|---|
| class  | MapTestPropertyHolder.InternalTestPropertyInternal property class | 
| Constructor and Description | 
|---|
| MapTestPropertyHolder(ModelItem modelItem) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | addPropertiesFromFile(String propFile) | 
| TestProperty | addProperty(String name) | 
| void | addTestPropertyListener(TestPropertyListener listener) | 
| ModelItem | getModelItem() | 
| Map<String,TestProperty> | getProperties() | 
| String | getPropertiesLabel() | 
| TestProperty | getProperty(String name) | 
| TestProperty | getPropertyAt(int index) | 
| int | getPropertyCount() | 
| List<TestProperty> | getPropertyList() | 
| String[] | getPropertyNames() | 
| String | getPropertyValue(String name) | 
| boolean | hasProperty(String name) | 
| void | moveProperty(String propertyName,
            int targetIndex) | 
| TestProperty | removeProperty(String propertyName) | 
| void | removeTestPropertyListener(TestPropertyListener listener) | 
| boolean | renameProperty(String name,
              String newName) | 
| void | saveTo(Properties props) | 
| void | setPropertiesLabel(String propertiesLabel) | 
| void | setPropertyValue(String name,
                String value) | 
public ModelItem modelItem
public MapTestPropertyHolder(ModelItem modelItem)
public TestProperty addProperty(String name)
addProperty in interface MutableTestPropertyHolderpublic void addTestPropertyListener(TestPropertyListener listener)
addTestPropertyListener in interface TestPropertyHolderpublic TestProperty getProperty(String name)
getProperty in interface TestPropertyHolderpublic String[] getPropertyNames()
getPropertyNames in interface TestPropertyHolderpublic List<TestProperty> getPropertyList()
getPropertyList in interface TestPropertyHolderpublic String getPropertyValue(String name)
getPropertyValue in interface TestPropertyHolderpublic TestProperty removeProperty(String propertyName)
removeProperty in interface MutableTestPropertyHolderpublic void removeTestPropertyListener(TestPropertyListener listener)
removeTestPropertyListener in interface TestPropertyHolderpublic void setPropertyValue(String name, String value)
setPropertyValue in interface TestPropertyHolderpublic boolean renameProperty(String name, String newName)
renameProperty in interface MutableTestPropertyHolderpublic void saveTo(Properties props)
public 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 void moveProperty(String propertyName, int targetIndex)
moveProperty in interface MutableTestPropertyHolderpublic TestProperty getPropertyAt(int index)
getPropertyAt in interface TestPropertyHolderpublic int getPropertyCount()
getPropertyCount in interface TestPropertyHolderpublic void setPropertiesLabel(String propertiesLabel)
public String getPropertiesLabel()
getPropertiesLabel in interface TestPropertyHolderCopyright © 2019. All Rights Reserved.