com.sodius.mdw.core.util
Class DefaultPropertySet
java.lang.Object
com.sodius.mdw.core.util.AbstractPropertySet
com.sodius.mdw.core.util.DefaultPropertySet
- All Implemented Interfaces:
- PropertySet
public class DefaultPropertySet
- extends AbstractPropertySet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPropertySet
public DefaultPropertySet()
getPropertyNames
public Set<String> getPropertyNames()
- Description copied from interface:
PropertySet
- Returns the actual property names defined in this set.
- Returns:
- an unmodifiable set of registered property names.
getProperty
public Object getProperty(String name)
- Description copied from interface:
PropertySet
- Returns the value mapped to the specified property name.
Returns
null if the property is not defined or if it maps to null.
- Parameters:
name - the property name
- Returns:
- the property value
setProperty
public void setProperty(String name,
Object value)
- Description copied from interface:
PropertySet
- Associates the specified value with a property name.
- Parameters:
name - the property name.value - the property value (can be null)