com.sodius.mdw.core.util
Class DefaultPropertySet

java.lang.Object
  extended by com.sodius.mdw.core.util.AbstractPropertySet
      extended by com.sodius.mdw.core.util.DefaultPropertySet
All Implemented Interfaces:
PropertySet

public class DefaultPropertySet
extends AbstractPropertySet


Constructor Summary
DefaultPropertySet()
           
 
Method Summary
 Object getProperty(String name)
          Returns the value mapped to the specified property name.
 Set<String> getPropertyNames()
          Returns the actual property names defined in this set.
 void setProperty(String name, Object value)
          Associates the specified value with a property name.
 
Methods inherited from class com.sodius.mdw.core.util.AbstractPropertySet
getProperty, getProperty, getProperty, getProperty, setProperty, setProperty, setProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPropertySet

public DefaultPropertySet()
Method Detail

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)