translate
Class DataImporter

java.lang.Object
  extended by translate.DataImporter

Deprecated. Class for loading an object model from an XML file and loading a map from an XML file.

public class DataImporter
extends java.lang.Object


Field Summary
private  java.util.HashMap<java.lang.String,DecisionPoint> decisionPoints
          Deprecated.  
private  java.util.HashMap<java.lang.String,Edge> edgePointMap
          Deprecated. Map of ID of first decision point contatenated with '_' and the ID of the second decision point.
private  java.util.HashMap<java.lang.String,java.util.HashSet<java.lang.String>> edgePoints
          Deprecated. Key = edge ID.
private  java.util.HashMap<java.lang.String,Edge> edges
          Deprecated. Map of edge ID to the edge.
 
Constructor Summary
DataImporter(java.lang.String ontologyFile)
          Deprecated. Loads the object model from a specified file.
 
Method Summary
 java.util.HashMap<java.lang.String,DecisionPoint> getDecisionPoints()
          Deprecated.  
 java.util.HashMap<java.lang.String,Edge> getEdgePointMap()
          Deprecated.  
 java.util.HashMap<java.lang.String,java.util.HashSet<java.lang.String>> getEdgePoints()
          Deprecated.  
 java.util.HashMap<java.lang.String,Edge> getEdges()
          Deprecated.  
 void setDecisionPoints(java.util.HashMap<java.lang.String,DecisionPoint> decisionPoints)
          Deprecated.  
 void setEdgePointMap(java.util.HashMap<java.lang.String,Edge> edgePointMap)
          Deprecated.  
 void setEdgePoints(java.util.HashMap<java.lang.String,java.util.HashSet<java.lang.String>> edgePoints)
          Deprecated.  
 void setEdges(java.util.HashMap<java.lang.String,Edge> edges)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

decisionPoints

private java.util.HashMap<java.lang.String,DecisionPoint> decisionPoints
Deprecated. 

edgePointMap

private java.util.HashMap<java.lang.String,Edge> edgePointMap
Deprecated. 
Map of ID of first decision point contatenated with '_' and the ID of the second decision point.

Example:

ID of First Point: 13
ID of Second Point: 37
Key Value: 13_37

It should be noted that the order of the two points should not matter, since the keys should be there for any order.


edgePoints

private java.util.HashMap<java.lang.String,java.util.HashSet<java.lang.String>> edgePoints
Deprecated. 
Key = edge ID. Value = Set of DecisionPoint IDs.


edges

private java.util.HashMap<java.lang.String,Edge> edges
Deprecated. 
Map of edge ID to the edge.

Constructor Detail

DataImporter

public DataImporter(java.lang.String ontologyFile)
             throws java.lang.Exception
Deprecated. 
Loads the object model from a specified file.

Parameters:
ontologyFile - - the ontology file
Throws:
java.lang.Exception - - Exceptions that occur from parsing the model
Method Detail

getDecisionPoints

public java.util.HashMap<java.lang.String,DecisionPoint> getDecisionPoints()
Deprecated. 
Returns:
Returns the decisionPoints.

getEdgePoints

public java.util.HashMap<java.lang.String,java.util.HashSet<java.lang.String>> getEdgePoints()
Deprecated. 
Returns:
Returns the edgePoints.

getEdges

public java.util.HashMap<java.lang.String,Edge> getEdges()
Deprecated. 
Returns:
Returns the edges.

setDecisionPoints

public void setDecisionPoints(java.util.HashMap<java.lang.String,DecisionPoint> decisionPoints)
Deprecated. 
Parameters:
decisionPoints - The decisionPoints to set.

setEdgePoints

public void setEdgePoints(java.util.HashMap<java.lang.String,java.util.HashSet<java.lang.String>> edgePoints)
Deprecated. 
Parameters:
edgePoints - The edgePoints to set.

setEdges

public void setEdges(java.util.HashMap<java.lang.String,Edge> edges)
Deprecated. 
Parameters:
edges - The edges to set.

getEdgePointMap

public java.util.HashMap<java.lang.String,Edge> getEdgePointMap()
Deprecated. 
Returns:
Returns the edgePointMap.

setEdgePointMap

public void setEdgePointMap(java.util.HashMap<java.lang.String,Edge> edgePointMap)
Deprecated. 
Parameters:
edgePointMap - The edgePointMap to set.