|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mdm.index.survivor.SystemFieldListMap
The SystemFieldListMap class represents a mapping of a system key (that is, a system code and local ID pair) to a corresponding list of system fields. This class is used by the Survivor Strategy Interface when evaluating which field values should populate the Single Best Record (SBR).
Nested Class Summary | |
class |
SystemFieldListMap.SystemKey
The SystemKey class is an inner class representing a system code and local ID pair mapped to a corresponding list of system fields in an instance of SystemFieldListMap. |
Constructor Summary | |
SystemFieldListMap()
Creates a new instance of the SystemFieldListMap class. |
Method Summary | |
java.util.Set |
entrySet()
Retrieves the initial set of objects in the map. |
java.util.Collection |
get(java.lang.String systemCode)
Retrieves a collection of system field lists mapped to a specific system code. |
SystemFieldList |
get(SystemFieldListMap.SystemKey key)
Retrieves the list of fields mapped to a specific system key. |
java.util.Set |
keySet()
Retrieves the list of system keys from the mapping. |
java.util.Set |
keySet(java.lang.String systemCode)
Retrieves the set of system keys that correspond to the given system code. |
void |
put(java.lang.String systemCode,
java.lang.String lid,
SystemFieldList list)
Places a system field list in the map using the specified system code and local ID. |
void |
put(SystemFieldListMap.SystemKey key,
SystemFieldList list)
Places a system field list in the map, associating the list with the specified system key. |
int |
size()
Returns the number of entries in the map. |
java.lang.String |
toString()
Retrieves a string representation of the system field list map. |
java.util.Collection |
values()
Retrieves all the SystemFieldList objects in the map. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SystemFieldListMap()
Method Detail |
public java.util.Set entrySet()
Set
- A set of system key objects.
public java.util.Collection get(java.lang.String systemCode)
systemCode
- The system code for the field list to retrieve.
Collection
- A collection of system field lists
corresponding to the given system code.
public SystemFieldList get(SystemFieldListMap.SystemKey key)
key
- The system key for the field list to retrieve.
SystemFieldList
- The system field list
corresponding to the given key.
public java.util.Set keySet()
Set
- A set of system keys.
public java.util.Set keySet(java.lang.String systemCode)
systemCode
- The system code for the system keys to retrieve.
Set
- A set of system keys.
public void put(java.lang.String systemCode, java.lang.String lid, SystemFieldList list)
systemCode
- The system code.lid
- The local ID corresponding to the given system code.list
- The list of system fields to be mapped to the specified
system and local ID.
void
- None.
public void put(SystemFieldListMap.SystemKey key, SystemFieldList list)
key
- The system key.list
- The list of system fields to be mapped to the specified
system key.
void
- None.
public int size()
int
- The number of map entries.
public java.lang.String toString()
String
- A string representation of the map.
public java.util.Collection values()
Collection
- A collection of system field lists.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.