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

## org.optaplanner.examples.nurserostering.domain
Class Pattern

    java.lang.Object
      org.optaplanner.examples.common.domain.AbstractPersistable
          org.optaplanner.examples.nurserostering.domain.Pattern

All Implemented Interfaces:
  Serializable, Comparable<AbstractPersistable>

Direct Known Subclasses:
  FreeBefore2DaysWithAWorkDayPattern, ShiftType2DaysPattern, ShiftType3DaysPattern, WorkBeforeFreeSequencePattern

    public abstract class Pattern

extends AbstractPersistable

See Also:
  Serialized Form

Field Summary
`protected String` | `code`
`protected int` | `weight`

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

Constructor Summary
`Pattern()`

Method Summary
`String` | `getCode()`
`int` | `getWeight()`
`void` | `setCode(String code)`
`void` | `setWeight(int weight)`
`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`

Field Detail

### code

    protected String code

### weight

    protected int weight

Constructor Detail

### Pattern

    public Pattern()

Method Detail

### getCode

    public String getCode()

### setCode

    public void setCode(String code)

### getWeight

    public int getWeight()

### setWeight

    public void setWeight(int weight)

### toString

    public String toString()

  Overrides:
    `toString` in class `AbstractPersistable`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.0.0.CR4-Pre1
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.