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

java.lang.Object
  extended by org.drools.planner.examples.common.domain.AbstractPersistable
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AdmissionPart, Assignment, Bed, BedDesignation, City, CityAssignment, CloudAssignment, CloudBalance, CloudComputer, CloudProcess, Contract, ContractLine, Course, Curriculum, CurriculumCourseSchedule, Day, Day, DayOffRequest, DayOnRequest, Department, DepartmentSpecialism, Employee, Equipment, Exam, Examination, Guest, HobbyPractician, InstitutionalWeighting, Job, Lecture, Manners2009, Match, Night, NQueens, NurseRoster, Patient, PatientAdmissionSchedule, Pattern, PatternContractLine, Period, Period, PeriodHardConstraint, PreferredPatientEquipment, Queen, RequiredPatientEquipment, Room, Room, Room, RoomEquipment, RoomHardConstraint, RoomSpecialism, RosterInfo, Seat, SeatDesignation, Shift, ShiftDate, ShiftOffRequest, ShiftOnRequest, ShiftType, ShiftTypeSkillRequirement, Skill, SkillProficiency, Specialism, Student, Table, Teacher, Team, Timeslot, Topic, TravelingSalesmanTour, TravelingTournament, UnavailablePeriodConstraint

public abstract class AbstractPersistable
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
protected  Long id
           
 
Constructor Summary
AbstractPersistable()
           
 
Method Summary
 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)

toString

public String toString()
Overrides:
toString in class Object


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