net.sourceforge.demetrix.properties
Class DemetrixPropertiesStorage

java.lang.Object
  extended bynet.sourceforge.demetrix.properties.DemetrixPropertiesStorage
All Implemented Interfaces:
DemetrixPropertiesHolder, Serializable

public class DemetrixPropertiesStorage
extends Object
implements DemetrixPropertiesHolder, Serializable

Author:
Dimitri Pissarenko *
See Also:
Serialized Form

Field Summary
private  Logger logger
           
private  Hashtable propertiesByName
           
 
Constructor Summary
DemetrixPropertiesStorage()
           
 
Method Summary
 void addProperty(DemetrixProperty property)
           
 boolean equals(Object anotherObject)
           
 Iterator getAllProperties()
           
 Enumeration getAllPropertyNames()
           
static ArrayList getAllPropertyNames(ArrayList propertiesHolders)
           
static Vector getAllPropertyNames(Vector propertiesHolders)
           
 DemetrixPropertiesHolder getPropertiesStorage()
           
 DemetrixProperty getProperty(String name)
           
 int hashCode()
           
 void removeProperty(String propertyName)
           
static void storeAllPropertyNames(Collection propertiesHolders, Collection allPropertyNames)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private Logger logger

propertiesByName

private Hashtable propertiesByName
Constructor Detail

DemetrixPropertiesStorage

public DemetrixPropertiesStorage()
Method Detail

addProperty

public void addProperty(DemetrixProperty property)
Specified by:
addProperty in interface DemetrixPropertiesHolder

getProperty

public DemetrixProperty getProperty(String name)
Specified by:
getProperty in interface DemetrixPropertiesHolder

getAllProperties

public Iterator getAllProperties()
Specified by:
getAllProperties in interface DemetrixPropertiesHolder

getAllPropertyNames

public Enumeration getAllPropertyNames()
Specified by:
getAllPropertyNames in interface DemetrixPropertiesHolder

removeProperty

public void removeProperty(String propertyName)

getAllPropertyNames

public static ArrayList getAllPropertyNames(ArrayList propertiesHolders)

getAllPropertyNames

public static Vector getAllPropertyNames(Vector propertiesHolders)

storeAllPropertyNames

public static void storeAllPropertyNames(Collection propertiesHolders,
                                         Collection allPropertyNames)

equals

public boolean equals(Object anotherObject)

getPropertiesStorage

public DemetrixPropertiesHolder getPropertiesStorage()
Specified by:
getPropertiesStorage in interface DemetrixPropertiesHolder

hashCode

public int hashCode()