Package org.drools.examples.sudoku
Class Setting
- java.lang.Object
-
- org.drools.examples.sudoku.Setting
-
public class Setting extends Object
Represents a temporary fact used for assigning a value to a cell.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColNo()Returns the column number.intgetRowNo()Returns the row number.IntegergetValue()Returns the value.
-
-
-
Constructor Detail
-
Setting
public Setting(int row, int col, Integer value)Constructor.- Parameters:
row- the row number of the Cell to setcol- the column number of the Cell to setvalue- 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
-
-