Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

oracle.apps.fnd.applseed.rt.extract.util.taxonomy
Class PartitionKeyMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<java.lang.String,PartitionKeyValue>
          extended by oracle.apps.fnd.applseed.rt.extract.util.taxonomy.PartitionKeyMap
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,PartitionKeyValue>

public class PartitionKeyMap
extends java.util.HashMap<java.lang.String,PartitionKeyValue>

This class holds the map of partition Id to PartitionKey values. Id is the partition key id value, eg ModuleId or AppId value PartitionKeyValue is data object holding user name, product name, module type.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
PartitionKeyMap(int initialCapacity, java.lang.String keyAttrName)
          Constructor for setting an initial capacity.
PartitionKeyMap(PartitionKeyMap map)
          Constructs a new PartitionKeyMap containing same mappings as map, sorted by name key order.
PartitionKeyMap(java.lang.String keyAttrName)
          Default constructor.
 
Method Summary
 boolean containsIdValue(java.lang.String Id)
          Returns true if map contains the Id value.
 java.lang.String getDisplayNameForId(java.lang.String Id)
          Get the display name value for the Partition Key Value of the given Id.
 java.util.Collection<java.lang.String> getDisplayNames()
          Get the collection of display names for this map, sorted by name.
 java.util.Collection<java.lang.String> getIdValues()
          Get the collection of Id values in the map.
 java.lang.String getKeyAttributeName()
          Get the key attribute name whose values are being mapped.
 PartitionKeyMap getSelectedAsMap()
          Get a map of the selected values.
 void resetSelected()
          Reset the selected property for all values in map to false.
 void setAllSelected()
          Set the selected property to true for all values in map.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

PartitionKeyMap

public PartitionKeyMap(java.lang.String keyAttrName)
Default constructor.


PartitionKeyMap

public PartitionKeyMap(PartitionKeyMap map)
Constructs a new PartitionKeyMap containing same mappings as map, sorted by name key order.

Parameters:
map - Map

PartitionKeyMap

public PartitionKeyMap(int initialCapacity,
                       java.lang.String keyAttrName)
Constructor for setting an initial capacity.

Method Detail

getIdValues

public java.util.Collection<java.lang.String> getIdValues()
Get the collection of Id values in the map.

Returns:
Collection of String id values

getDisplayNameForId

public java.lang.String getDisplayNameForId(java.lang.String Id)
Get the display name value for the Partition Key Value of the given Id.

Parameters:
Id - partition key value id, eg ModuleId or AppId value
Returns:
String display name of a given id, showing any parents

getDisplayNames

public java.util.Collection<java.lang.String> getDisplayNames()
Get the collection of display names for this map, sorted by name.

Returns:
collection of display name strings

containsIdValue

public boolean containsIdValue(java.lang.String Id)
Returns true if map contains the Id value.

Parameters:
Id - String value
Returns:
boolean

getKeyAttributeName

public java.lang.String getKeyAttributeName()
Get the key attribute name whose values are being mapped.

Returns:
String

resetSelected

public void resetSelected()
Reset the selected property for all values in map to false.


setAllSelected

public void setAllSelected()
Set the selected property to true for all values in map.


getSelectedAsMap

public PartitionKeyMap getSelectedAsMap()
Get a map of the selected values.

Returns:
PartitionKeyMap of the selected values from this map.

Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

Copyright © 2011 Oracle. All Rights Reserved.