net.sourceforge.toscanaj.view.scales
Class NominalScaleGenerator

java.lang.Object
  extended bynet.sourceforge.toscanaj.view.scales.NominalScaleGenerator
All Implemented Interfaces:
ScaleGenerator

public class NominalScaleGenerator
extends java.lang.Object
implements ScaleGenerator

To do:
this generator can easily generate scales which are not nominal, and then in succession not valid -- objects can appear multiple times if you use ORs or multiple columns where they share values

Constructor Summary
NominalScaleGenerator(java.awt.Frame parent)
           
 
Method Summary
 boolean canHandleColumns(TableColumnPair[] columns)
           
 org.tockit.context.model.Context generateScale(ConceptualSchema scheme, DatabaseConnection databaseConnection)
           
 java.lang.String getScaleName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NominalScaleGenerator

public NominalScaleGenerator(java.awt.Frame parent)
Method Detail

getScaleName

public java.lang.String getScaleName()
Specified by:
getScaleName in interface ScaleGenerator

canHandleColumns

public boolean canHandleColumns(TableColumnPair[] columns)
Specified by:
canHandleColumns in interface ScaleGenerator

generateScale

public org.tockit.context.model.Context generateScale(ConceptualSchema scheme,
                                                      DatabaseConnection databaseConnection)
Specified by:
generateScale in interface ScaleGenerator


The ToscanaJ project