gps.core
Class ExplosionController

java.lang.Object
  extended by gps.core.ExplosionController
All Implemented Interfaces:
java.io.Serializable

public class ExplosionController
extends java.lang.Object
implements java.io.Serializable

Added Compressed Path related codings

See Also:
Serialized Form

Constructor Summary
ExplosionController()
           
 
Method Summary
 void clearLevelHashtable()
           
 void createFlushDataStructure(boolean constructPathsFlag, java.util.Vector pathDisplayAttributesVector)
          Method used to create the flush data structure hashtable.
 void createFlushDataStructure(HierarchyNode node)
           
 java.util.Hashtable getFlushHashtable()
           
 int getLevelsCount()
           
 java.util.Hashtable getLevelsHashtable()
           
 HierarchyModel getModel()
           
 int getNoOfLegsInAPath(java.util.Vector pathHelpers)
          method added by K.M.Prakash Babu on 04222002 method to get the No Of Legs In a Path
 int getNoOfLevelsInAPath(java.util.Vector pathHelpers)
          method added by K.M.Prakash Babu on 04222002 method to get the No Of Levels In a Path
 java.util.Hashtable getPathCompressionHeaderAndDataVectorHashtable(eDynamo.classes.T_GPS_COMPRESSED_PATHS t_gps_compressed_paths)
          Added by ChinnappaRajan Arulmani on 26th Feb 2003 For storing compressed paths
 java.util.Vector getPathsVector()
           
 HierarchyNode getSelectedNode()
           
 java.util.Vector getT_GPS_PATHVector(eDynamo.classes.T_GPS_COMPRESSED_PATHS t_gps_compressed_paths, java.util.Hashtable compressionHeaderAndDataVectorHashtable, java.lang.Double modelId, java.util.Hashtable nodeKeyAndNodeIdHashtable)
          Returns T_GPS_PATH Vector
 void reset()
          resets all instance variables
 void setLevelsHashtable(java.util.Hashtable levelHashtable)
           
 void setModel(HierarchyModel currentModel)
           
 void setORCombination(eDynamo.classes.ORCombination[] orCombination)
          prepares HashMap which contains, node group as key and vector of relations as object
 void setSelectedNode(HierarchyNode selectedNode)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExplosionController

public ExplosionController()
Method Detail

reset

public void reset()
resets all instance variables


setORCombination

public void setORCombination(eDynamo.classes.ORCombination[] orCombination)
prepares HashMap which contains, node group as key and vector of relations as object

Parameters:
ORCombination[] - orCombination

createFlushDataStructure

public void createFlushDataStructure(HierarchyNode node)

getFlushHashtable

public java.util.Hashtable getFlushHashtable()

createFlushDataStructure

public void createFlushDataStructure(boolean constructPathsFlag,
                                     java.util.Vector pathDisplayAttributesVector)
Method used to create the flush data structure hashtable. This hashtable essentially stores the node object as the key and Flush Data Structure as the value

Parameters:
boolean - construct paths through this method or not
Vector - path display attributes

getNoOfLevelsInAPath

public int getNoOfLevelsInAPath(java.util.Vector pathHelpers)
method added by K.M.Prakash Babu on 04222002 method to get the No Of Levels In a Path

Parameters:
Vector - pathHelpers
Returns:
int

getNoOfLegsInAPath

public int getNoOfLegsInAPath(java.util.Vector pathHelpers)
method added by K.M.Prakash Babu on 04222002 method to get the No Of Legs In a Path

Parameters:
Vector - pathHelpers
Returns:
int

setModel

public void setModel(HierarchyModel currentModel)

getModel

public HierarchyModel getModel()

setSelectedNode

public void setSelectedNode(HierarchyNode selectedNode)

getSelectedNode

public HierarchyNode getSelectedNode()

getPathsVector

public java.util.Vector getPathsVector()

clearLevelHashtable

public void clearLevelHashtable()

getLevelsHashtable

public java.util.Hashtable getLevelsHashtable()

setLevelsHashtable

public void setLevelsHashtable(java.util.Hashtable levelHashtable)

getLevelsCount

public int getLevelsCount()

getPathCompressionHeaderAndDataVectorHashtable

public java.util.Hashtable getPathCompressionHeaderAndDataVectorHashtable(eDynamo.classes.T_GPS_COMPRESSED_PATHS t_gps_compressed_paths)
Added by ChinnappaRajan Arulmani on 26th Feb 2003 For storing compressed paths

Parameters:
T_GPS_COMPRESSED_PATHS - t_gps_compressed_paths
Returns:
Hashtable

getT_GPS_PATHVector

public java.util.Vector getT_GPS_PATHVector(eDynamo.classes.T_GPS_COMPRESSED_PATHS t_gps_compressed_paths,
                                            java.util.Hashtable compressionHeaderAndDataVectorHashtable,
                                            java.lang.Double modelId,
                                            java.util.Hashtable nodeKeyAndNodeIdHashtable)
Returns T_GPS_PATH Vector

Parameters:
Hashtable - compressionHeaderAndDataVectorHashtable,Double modelId,Hashtable nodeKeyAndNodeIdHashtable
Returns:
Vector t_gps_pathsVector