org.drools.examples.sudoku
Class Setting

java.lang.Object
  extended by org.drools.examples.sudoku.Setting

public class Setting
extends Object

Represents a temporary fact used for assigning a value to a cell.


Constructor Summary
Setting(int row, int col, Integer value)
          Constructor.
 
Method Summary
 int getColNo()
          Returns the column number.
 int getRowNo()
          Returns the row number.
 Integer getValue()
          Returns the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Setting

public Setting(int row,
               int col,
               Integer value)
Constructor.

Parameters:
row - the row number of the Cell to set
col - the column number of the Cell to set
value - the value to set
Method Detail

getRowNo

public int getRowNo()
Returns the row number.

Returns:
an int value

getColNo

public int getColNo()
Returns the column number.

Returns:
an int value

getValue

public Integer getValue()
Returns the value.

Returns:
an Integer object


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.