org.kahina.core.gui.breakpoint
Class NodeConstraintOptions

java.lang.Object
  extended by org.kahina.core.gui.breakpoint.NodeConstraintOptions

public class NodeConstraintOptions
extends Object

This class controls the possible settings for elementary constraints in a node constraint editor. It stores a set of constraint types as well as maps from such types to possible relations and values. Implementations can either inherit from this method and reimplement addStandardOptions() or add their additional options to the standard set via addType(), addRelationForType() etc.


Constructor Summary
NodeConstraintOptions()
           
 
Method Summary
 void addRelationToType(String type, String relation)
           
 void addType(String type)
           
 List<String> getRelationsForType(String typeID)
           
 List<String> getTypes()
           
 List<String> getValuesForType(String typeID)
           
 void setStandardOptions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeConstraintOptions

public NodeConstraintOptions()
Method Detail

setStandardOptions

public void setStandardOptions()

getTypes

public List<String> getTypes()

getRelationsForType

public List<String> getRelationsForType(String typeID)

getValuesForType

public List<String> getValuesForType(String typeID)

addType

public void addType(String type)

addRelationToType

public void addRelationToType(String type,
                              String relation)