Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.0.0.Beta1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.optaplanner.examples.nqueens.domain
Class Queen

    java.lang.Object
      org.optaplanner.examples.common.domain.AbstractPersistable
          org.optaplanner.examples.nqueens.domain.Queen

All Implemented Interfaces:
  Serializable, Comparable<AbstractPersistable>

    public class Queen

extends AbstractPersistable

See Also:
  Serialized Form

Field Summary

Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
`id`

Constructor Summary
`Queen()`

Method Summary
`int` | `getAscendingDiagonalIndex()`
`Column` | `getColumn()`
`int` | `getColumnIndex()`
`int` | `getDescendingDiagonalIndex()`
`Row` | `getRow()`
`int` | `getRowIndex()`
`void` | `setColumn(Column column)`
`void` | `setRow(Row row)`
`String` | `toString()`

Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
`compareTo, getId, setId`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Queen

    public Queen()

Method Detail

### getColumn

    public Column getColumn()

### setColumn

    public void setColumn(Column column)

### getRow

    public Row getRow()

### setRow

    public void setRow(Row row)

### getColumnIndex

    public int getColumnIndex()

### getRowIndex

    public int getRowIndex()

### getAscendingDiagonalIndex

    public int getAscendingDiagonalIndex()

### getDescendingDiagonalIndex

    public int getDescendingDiagonalIndex()

### toString

    public String toString()

  Overrides:
    `toString` in class `AbstractPersistable`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.0.0.Beta1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.