edu.jhu.tmaj.beans.data
Class SubMap
java.lang.Object
edu.jhu.tmaj.beans.data.SubMap
- All Implemented Interfaces:
- java.io.Serializable
final class SubMap
- extends java.lang.Object
- implements java.io.Serializable
A Map that links a primary key to a map of values for that primary key. See ExpandingMap for
more details.
Constructor Summary |
SubMap(java.lang.Object fieldName)
|
Method Summary |
void |
addValue(int id,
java.lang.Object extraField,
java.lang.Object value)
|
void |
expand(java.util.Map<java.lang.Object,java.lang.Object> field_value)
|
java.lang.Object |
getReferringKey()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubMap
public SubMap(java.lang.Object fieldName)
addValue
public void addValue(int id,
java.lang.Object extraField,
java.lang.Object value)
getReferringKey
public java.lang.Object getReferringKey()
expand
public void expand(java.util.Map<java.lang.Object,java.lang.Object> field_value)