dsto.dfc.databeans
Class DataObjectDictionary

java.lang.Object
  extended by java.util.Dictionary
      extended by dsto.dfc.databeans.DataObjectDictionary

public class DataObjectDictionary
extends Dictionary

Adapts a data object as a java.util.Dictionary.

Author:
Matthew Phillips

Constructor Summary
DataObjectDictionary(IDataObject object)
           
 
Method Summary
 Enumeration elements()
           
 Object get(Object key)
           
 boolean isEmpty()
           
 Enumeration keys()
           
 Object put(Object key, Object value)
           
 Object remove(Object key)
           
 int size()
          NOTE: this is relatively inefficient since it iterates through the property set on each call.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataObjectDictionary

public DataObjectDictionary(IDataObject object)
Method Detail

size

public int size()
NOTE: this is relatively inefficient since it iterates through the property set on each call.

Specified by:
size in class Dictionary

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in class Dictionary

elements

public Enumeration elements()
Specified by:
elements in class Dictionary

keys

public Enumeration keys()
Specified by:
keys in class Dictionary

get

public Object get(Object key)
Specified by:
get in class Dictionary

remove

public Object remove(Object key)
Specified by:
remove in class Dictionary

put

public Object put(Object key,
                  Object value)
Specified by:
put in class Dictionary


Copyright © 2008 Commonwealth of Australia