validate
Class TopologyValidater

java.lang.Object
  extended by validate.TopologyValidater

public class TopologyValidater
extends java.lang.Object

Class for verifying qualitative topology constraints.


Constructor Summary
TopologyValidater()
           
 
Method Summary
static void checkConstraints(MapImporter importer, Map map, java.util.ArrayList<Constraint> constraints)
          Checks the topology constraints from the specified set of constraints.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopologyValidater

public TopologyValidater()
Method Detail

checkConstraints

public static void checkConstraints(MapImporter importer,
                                    Map map,
                                    java.util.ArrayList<Constraint> constraints)
Checks the topology constraints from the specified set of constraints. Also, if a topology relation does not exist bewteen two constrained objects, then a new relation is constructed.

Parameters:
importer - - the map loaded
map - - the map to verify
constraints - - the constraints to check