validate
Class OrientationValidater

java.lang.Object
  extended by validate.OrientationValidater

public class OrientationValidater
extends java.lang.Object

Class for verifying qualitative orientation constraints.


Constructor Summary
OrientationValidater()
           
 
Method Summary
static void checkConstraints(MapImporter importer, Map map, java.util.ArrayList<Constraint> constraints)
          Checks the orientation 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

OrientationValidater

public OrientationValidater()
Method Detail

checkConstraints

public static void checkConstraints(MapImporter importer,
                                    Map map,
                                    java.util.ArrayList<Constraint> constraints)
Checks the orientation constraints from the specified set of constraints. Also, if an orientation 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