Drools Planner distribution 6.0.0.Alpha9

org.drools.planner.examples.common.domain
Class AbstractPersistable

java.lang.Object
  extended by org.drools.planner.examples.common.domain.AbstractPersistable
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>
Direct Known Subclasses:
AdmissionPart, Bed, BedDesignation, City, CloudBalance, CloudComputer, CloudProcess, Column, Contract, ContractLine, Course, CourseSchedule, Curriculum, Day, Day, DayOffRequest, DayOnRequest, Department, DepartmentSpecialism, Domicile, Employee, Equipment, Exam, Examination, Guest, HobbyPractician, InstitutionParametrization, Job, Lecture, MachineReassignment, Manners2009, Match, MrBalancePenalty, MrGlobalPenaltyInfo, MrLocation, MrMachine, MrMachineCapacity, MrNeighborhood, MrPenaltyInfo, MrProcess, MrProcessAssignment, MrProcessRequirement, MrResource, MrService, Night, NQueens, NurseRoster, NurseRosterInfo, NurseRosterParametrization, Patient, PatientAdmissionSchedule, Pattern, PatternContractLine, Period, Period, PeriodPenalty, PreferredPatientEquipment, Queen, RequiredPatientEquipment, Room, Room, Room, RoomEquipment, RoomPenalty, RoomSpecialism, Row, Seat, SeatDesignation, Shift, ShiftAssignment, ShiftDate, ShiftOffRequest, ShiftOnRequest, ShiftType, ShiftTypeSkillRequirement, Skill, SkillProficiency, Specialism, Student, Table, Teacher, Team, Timeslot, Topic, TravelingSalesmanTour, TravelingTournament, UnavailablePeriodPenalty, Visit, VrpCustomer, VrpDepot, VrpLocation, VrpSchedule, VrpVehicle

public abstract class AbstractPersistable
extends Object
implements Serializable, Comparable<AbstractPersistable>

See Also:
Serialized Form

Field Summary
protected  Long id
           
 
Constructor Summary
AbstractPersistable()
           
 
Method Summary
 int compareTo(AbstractPersistable other)
           
 Long getId()
           
 void setId(Long id)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected Long id
Constructor Detail

AbstractPersistable

public AbstractPersistable()
Method Detail

getId

public Long getId()

setId

public void setId(Long id)

compareTo

public int compareTo(AbstractPersistable other)
Specified by:
compareTo in interface Comparable<AbstractPersistable>

toString

public String toString()
Overrides:
toString in class Object

Drools Planner distribution 6.0.0.Alpha9

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