UML.Semantic
Class Dictionary

java.lang.Object
  |
  +--UML.Semantic.Dictionary

public final class Dictionary
extends java.lang.Object

This class implements a Data Dictionary where all the Uml Elements are stored. The Data Dictionary uses a Hashtable which collects any type of Ulm Element provided it has an identifier.


Method Summary
static java.util.Enumeration elements()
           
static java.lang.Object get(java.lang.Object key)
          Gets an object from the dictionary.
static Dictionary Instance()
           
static java.lang.String nextKey()
          Returns a local universal key.
static void put(java.lang.Object key, java.lang.Object value)
          Puts an object into the hashtable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

Instance

public static Dictionary Instance()

put

public static void put(java.lang.Object key,
                       java.lang.Object value)
Puts an object into the hashtable.


get

public static java.lang.Object get(java.lang.Object key)
Gets an object from the dictionary.

Returns:
The object corresponding to given key

elements

public static java.util.Enumeration elements()

nextKey

public static java.lang.String nextKey()
Returns a local universal key.

Returns:
a key string.