org.millscript.millscript.datatypes
Class DatabaseRecord

java.lang.Object
  extended by org.millscript.commons.util.map.AbstractIMap<K,V>
      extended by org.millscript.commons.util.map.AbstractUMap<K,V>
          extended by org.millscript.commons.util.map.AbstractEMap<K,V>
              extended by org.millscript.commons.util.map.EHashMap<java.lang.Object,java.lang.Object>
                  extended by org.millscript.millscript.datatypes.DatabaseRecord
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.millscript.commons.alert.AlertDecorator, org.millscript.commons.util.EMap<java.lang.Object,java.lang.Object>, org.millscript.commons.util.IMap<java.lang.Object,java.lang.Object>, org.millscript.commons.util.UMap<java.lang.Object,java.lang.Object>

public final class DatabaseRecord
extends org.millscript.commons.util.map.EHashMap<java.lang.Object,java.lang.Object>

This class implements a database record, which is map with restrictions on the type of keys allowed.

Since:
9.6.4
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.millscript.commons.util.map.EHashMap
org.millscript.commons.util.map.EHashMap.HashMapIterator<K,V>, org.millscript.commons.util.map.EHashMap.HashMapKeysIterator<K>, org.millscript.commons.util.map.EHashMap.HashMapKeysList<K>, org.millscript.commons.util.map.EHashMap.HashMapMapletIterator<K,V>, org.millscript.commons.util.map.EHashMap.HashMapMapletList<K,V>, org.millscript.commons.util.map.EHashMap.HashMapValuesIterator<V>, org.millscript.commons.util.map.EHashMap.HashMapValuesList<V>
 
Constructor Summary
DatabaseRecord()
          Construct a new database record.
 
Method Summary
 void insert(java.lang.Object key, java.lang.Object value)
          Associates the supplied value with the supplied key, in this map.
 void lock()
          Locks this database record.
 void unlock()
          Unlocks this database record
 
Methods inherited from class org.millscript.commons.util.map.EHashMap
clone, contains, containsKey, containsValue, get, insertWithRehash, iterator, remove, removeAll, removeKey, removeValue, sharedKeyList, sharedMapletList, sharedValueList, size, update
 
Methods inherited from class org.millscript.commons.util.map.AbstractEMap
insert, insertAll, remove, removeAll
 
Methods inherited from class org.millscript.commons.util.map.AbstractUMap
update, updateAll
 
Methods inherited from class org.millscript.commons.util.map.AbstractIMap
contains, containsAll, decorate, equals, getDefault, hashCode, isEmtpy, keyList, mapletList, setDefault, toString, valueList
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.millscript.commons.util.UMap
update, updateAll
 
Methods inherited from interface org.millscript.commons.util.IMap
contains, containsAll, equals, getDefault, hashCode, isEmtpy, keyList, mapletList, setDefault, valueList
 

Constructor Detail

DatabaseRecord

public DatabaseRecord()
Construct a new database record.

Method Detail

lock

public void lock()
Locks this database record.


unlock

public void unlock()
Unlocks this database record


insert

public void insert(java.lang.Object key,
                   java.lang.Object value)
Associates the supplied value with the supplied key, in this map.

Specified by:
insert in interface org.millscript.commons.util.EMap<java.lang.Object,java.lang.Object>
Overrides:
insert in class org.millscript.commons.util.map.EHashMap<java.lang.Object,java.lang.Object>
Parameters:
key - the key
value - the value


Copyright © 2001-2007 Open World Ltd. All Rights Reserved.