java.lang.Object
org.schooltool.complextypes.staff.Staff
- All Implemented Interfaces:
- java.io.Serializable
- public class Staff
- extends java.lang.Object
- implements java.io.Serializable
|
Constructor Summary |
Staff()
|
classChanged
protected boolean classChanged
Staff_PrimaryKeyChanged
public boolean Staff_PrimaryKeyChanged
Staff_PrimaryKey
private long Staff_PrimaryKey
PersonDetailsForeignKeyChanged
public boolean PersonDetailsForeignKeyChanged
personDetailsForeignKey
private long personDetailsForeignKey
personDetails
private org.schooltool.complextypes.person.Person personDetails
PersalNumberChanged
public boolean PersalNumberChanged
persalNumber
private java.lang.String persalNumber
AppointedChanged
public boolean AppointedChanged
appointed
private boolean appointed
StaffStatusForeignKeyChanged
public boolean StaffStatusForeignKeyChanged
staffStatusForeignKey
private long staffStatusForeignKey
staffStatus
private org.schooltool.complextypes.lookup.StaffStatus staffStatus
StaffTypeChanged
public boolean StaffTypeChanged
staffType
private long staffType
TaxNoChanged
public boolean TaxNoChanged
taxNo
private java.lang.String taxNo
FurtherStudyFieldChanged
public boolean FurtherStudyFieldChanged
furtherStudyField
private java.lang.String furtherStudyField
RegisterClassForeignKeyChanged
public boolean RegisterClassForeignKeyChanged
registerClassForeignKey
private long registerClassForeignKey
registerClass
private org.schooltool.complextypes.learner.HomeClass registerClass
TravelMethodForeignKeyChanged
public boolean TravelMethodForeignKeyChanged
travelMethodForeignKey
private long travelMethodForeignKey
travelMethod
private org.schooltool.complextypes.lookup.TravelMethod travelMethod
TravelRouteForeignKeyChanged
public boolean TravelRouteForeignKeyChanged
travelRouteForeignKey
private long travelRouteForeignKey
travelRoute
private org.schooltool.complextypes.lookup.TravelRoute travelRoute
HasSubsidySchemeChanged
public boolean HasSubsidySchemeChanged
hasSubsidyScheme
private boolean hasSubsidyScheme
HasStudyBursaryChanged
public boolean HasStudyBursaryChanged
hasStudyBursary
private boolean hasStudyBursary
StateRegistrationDateChanged
public boolean StateRegistrationDateChanged
stateRegistrationDate
private java.util.Date stateRegistrationDate
StateRegistrationDescriptionChanged
public boolean StateRegistrationDescriptionChanged
stateRegistrationDescription
private java.lang.String stateRegistrationDescription
HasBursaryObligationsChanged
public boolean HasBursaryObligationsChanged
hasBursaryObligations
private boolean hasBursaryObligations
BursaryObligationsDeptChanged
public boolean BursaryObligationsDeptChanged
bursaryObligationsDept
private java.lang.String bursaryObligationsDept
LastDateOfServiceChanged
public boolean LastDateOfServiceChanged
lastDateOfService
private java.util.Date lastDateOfService
ReasonForLeavingForeignKeyChanged
public boolean ReasonForLeavingForeignKeyChanged
reasonForLeavingForeignKey
private long reasonForLeavingForeignKey
reasonForLeaving
private org.schooltool.complextypes.lookup.ReasonForLeaving reasonForLeaving
NewEmploymentDateChanged
public boolean NewEmploymentDateChanged
newEmploymentDate
private java.util.Date newEmploymentDate
NewEmployerChanged
public boolean NewEmployerChanged
newEmployer
private java.lang.String newEmployer
SchoolArrivalPointForeignKeyChanged
public boolean SchoolArrivalPointForeignKeyChanged
schoolArrivalPointForeignKey
private long schoolArrivalPointForeignKey
schoolArrivalPoint
private org.schooltool.complextypes.lookup.TravelCollectionPoints schoolArrivalPoint
SchoolDeparturePointForeignKeyChanged
public boolean SchoolDeparturePointForeignKeyChanged
schoolDeparturePointForeignKey
private long schoolDeparturePointForeignKey
schoolDeparturePoint
private org.schooltool.complextypes.lookup.TravelCollectionPoints schoolDeparturePoint
TravelInstructionsChanged
public boolean TravelInstructionsChanged
travelInstructions
private java.lang.String travelInstructions
TravelContactForeignKeyChanged
public boolean TravelContactForeignKeyChanged
travelContactForeignKey
private long travelContactForeignKey
travelContact
private org.schooltool.complextypes.person.Person travelContact
SchoolProfileForeignKeyChanged
public boolean SchoolProfileForeignKeyChanged
schoolProfileForeignKey
private long schoolProfileForeignKey
schoolProfile
private org.schooltool.complextypes.access.SchoolProfile schoolProfile
DateAppointedChanged
public boolean DateAppointedChanged
dateAppointed
private java.util.Date dateAppointed
EmploymentTypeForeignKeyChanged
public boolean EmploymentTypeForeignKeyChanged
employmentTypeForeignKey
private long employmentTypeForeignKey
employmentType
private org.schooltool.complextypes.lookup.EmploymentType employmentType
AppointedByForeignKeyChanged
public boolean AppointedByForeignKeyChanged
appointedByForeignKey
private long appointedByForeignKey
appointedBy
private org.schooltool.complextypes.access.User appointedBy
CitizenshipForeignKeyChanged
public boolean CitizenshipForeignKeyChanged
citizenshipForeignKey
private long citizenshipForeignKey
citizenship
private org.schooltool.complextypes.lookup.Country citizenship
Staff
public Staff()
isClassChanged
public boolean isClassChanged()
clearChangeTracker
public void clearChangeTracker()
getStaff_PrimaryKey
public long getStaff_PrimaryKey()
setStaff_PrimaryKey
public void setStaff_PrimaryKey(long setValue)
getPrimaryKey
public long getPrimaryKey()
getPersonDetailsForeignKey
public long getPersonDetailsForeignKey()
setPersonDetailsForeignKey
public void setPersonDetailsForeignKey(long value)
getPersonDetails
public org.schooltool.complextypes.person.Person getPersonDetails()
setPersonDetails
public void setPersonDetails(org.schooltool.complextypes.person.Person value)
getPersalNumber
public java.lang.String getPersalNumber()
setPersalNumber
public void setPersalNumber(java.lang.String value)
getAppointed
public boolean getAppointed()
setAppointed
public void setAppointed(boolean value)
getStaffStatusForeignKey
public long getStaffStatusForeignKey()
setStaffStatusForeignKey
public void setStaffStatusForeignKey(long value)
getStaffStatus
public org.schooltool.complextypes.lookup.StaffStatus getStaffStatus()
setStaffStatus
public void setStaffStatus(org.schooltool.complextypes.lookup.StaffStatus value)
getStaffType
public long getStaffType()
setStaffType
public void setStaffType(long value)
getTaxNo
public java.lang.String getTaxNo()
setTaxNo
public void setTaxNo(java.lang.String value)
getFurtherStudyField
public java.lang.String getFurtherStudyField()
setFurtherStudyField
public void setFurtherStudyField(java.lang.String value)
getRegisterClassForeignKey
public long getRegisterClassForeignKey()
setRegisterClassForeignKey
public void setRegisterClassForeignKey(long value)
getRegisterClass
public org.schooltool.complextypes.learner.HomeClass getRegisterClass()
setRegisterClass
public void setRegisterClass(org.schooltool.complextypes.learner.HomeClass value)
getTravelMethodForeignKey
public long getTravelMethodForeignKey()
setTravelMethodForeignKey
public void setTravelMethodForeignKey(long value)
getTravelMethod
public org.schooltool.complextypes.lookup.TravelMethod getTravelMethod()
setTravelMethod
public void setTravelMethod(org.schooltool.complextypes.lookup.TravelMethod value)
getTravelRouteForeignKey
public long getTravelRouteForeignKey()
setTravelRouteForeignKey
public void setTravelRouteForeignKey(long value)
getTravelRoute
public org.schooltool.complextypes.lookup.TravelRoute getTravelRoute()
setTravelRoute
public void setTravelRoute(org.schooltool.complextypes.lookup.TravelRoute value)
getHasSubsidyScheme
public boolean getHasSubsidyScheme()
setHasSubsidyScheme
public void setHasSubsidyScheme(boolean value)
getHasStudyBursary
public boolean getHasStudyBursary()
setHasStudyBursary
public void setHasStudyBursary(boolean value)
getStateRegistrationDate
public java.util.Date getStateRegistrationDate()
setStateRegistrationDate
public void setStateRegistrationDate(java.util.Date value)
getStateRegistrationDescription
public java.lang.String getStateRegistrationDescription()
setStateRegistrationDescription
public void setStateRegistrationDescription(java.lang.String value)
getHasBursaryObligations
public boolean getHasBursaryObligations()
setHasBursaryObligations
public void setHasBursaryObligations(boolean value)
getBursaryObligationsDept
public java.lang.String getBursaryObligationsDept()
setBursaryObligationsDept
public void setBursaryObligationsDept(java.lang.String value)
getLastDateOfService
public java.util.Date getLastDateOfService()
setLastDateOfService
public void setLastDateOfService(java.util.Date value)
getReasonForLeavingForeignKey
public long getReasonForLeavingForeignKey()
setReasonForLeavingForeignKey
public void setReasonForLeavingForeignKey(long value)
getReasonForLeaving
public org.schooltool.complextypes.lookup.ReasonForLeaving getReasonForLeaving()
setReasonForLeaving
public void setReasonForLeaving(org.schooltool.complextypes.lookup.ReasonForLeaving value)
getNewEmploymentDate
public java.util.Date getNewEmploymentDate()
setNewEmploymentDate
public void setNewEmploymentDate(java.util.Date value)
getNewEmployer
public java.lang.String getNewEmployer()
setNewEmployer
public void setNewEmployer(java.lang.String value)
getSchoolArrivalPointForeignKey
public long getSchoolArrivalPointForeignKey()
setSchoolArrivalPointForeignKey
public void setSchoolArrivalPointForeignKey(long value)
getSchoolArrivalPoint
public org.schooltool.complextypes.lookup.TravelCollectionPoints getSchoolArrivalPoint()
setSchoolArrivalPoint
public void setSchoolArrivalPoint(org.schooltool.complextypes.lookup.TravelCollectionPoints value)
getSchoolDeparturePointForeignKey
public long getSchoolDeparturePointForeignKey()
setSchoolDeparturePointForeignKey
public void setSchoolDeparturePointForeignKey(long value)
getSchoolDeparturePoint
public org.schooltool.complextypes.lookup.TravelCollectionPoints getSchoolDeparturePoint()
setSchoolDeparturePoint
public void setSchoolDeparturePoint(org.schooltool.complextypes.lookup.TravelCollectionPoints value)
getTravelInstructions
public java.lang.String getTravelInstructions()
setTravelInstructions
public void setTravelInstructions(java.lang.String value)
getTravelContactForeignKey
public long getTravelContactForeignKey()
setTravelContactForeignKey
public void setTravelContactForeignKey(long value)
getTravelContact
public org.schooltool.complextypes.person.Person getTravelContact()
setTravelContact
public void setTravelContact(org.schooltool.complextypes.person.Person value)
getSchoolProfileForeignKey
public long getSchoolProfileForeignKey()
setSchoolProfileForeignKey
public void setSchoolProfileForeignKey(long value)
getSchoolProfile
public org.schooltool.complextypes.access.SchoolProfile getSchoolProfile()
setSchoolProfile
public void setSchoolProfile(org.schooltool.complextypes.access.SchoolProfile value)
getDateAppointed
public java.util.Date getDateAppointed()
setDateAppointed
public void setDateAppointed(java.util.Date value)
getEmploymentTypeForeignKey
public long getEmploymentTypeForeignKey()
setEmploymentTypeForeignKey
public void setEmploymentTypeForeignKey(long value)
getEmploymentType
public org.schooltool.complextypes.lookup.EmploymentType getEmploymentType()
setEmploymentType
public void setEmploymentType(org.schooltool.complextypes.lookup.EmploymentType value)
getAppointedByForeignKey
public long getAppointedByForeignKey()
setAppointedByForeignKey
public void setAppointedByForeignKey(long value)
getAppointedBy
public org.schooltool.complextypes.access.User getAppointedBy()
setAppointedBy
public void setAppointedBy(org.schooltool.complextypes.access.User value)
getCitizenshipForeignKey
public long getCitizenshipForeignKey()
setCitizenshipForeignKey
public void setCitizenshipForeignKey(long value)
getCitizenship
public org.schooltool.complextypes.lookup.Country getCitizenship()
setCitizenship
public void setCitizenship(org.schooltool.complextypes.lookup.Country value)
hashCode
public int hashCode()
- Description copied from class:
java.lang.Object
- Get a value that represents this Object, as uniquely as
possible within the confines of an int.
There are some requirements on this method which
subclasses must follow:
- Semantic equality implies identical hashcodes. In other
words, if
a.equals(b) is true, then
a.hashCode() == b.hashCode() must be as well.
However, the reverse is not necessarily true, and two
objects may have the same hashcode without being equal.
- It must be consistent. Whichever value o.hashCode()
returns on the first invocation must be the value
returned on all later invocations as long as the object
exists. Notice, however, that the result of hashCode may
change between separate executions of a Virtual Machine,
because it is not invoked on the same object.
Notice that since hashCode is used in
java.util.Hashtable and other hashing classes,
a poor implementation will degrade the performance of hashing
(so don't blindly implement it as returning a constant!). Also,
if calculating the hash is time-consuming, a class may consider
caching the results.
The default implementation returns
System.identityHashCode(this)
equals
public boolean equals(java.lang.Object other)
- Description copied from class:
java.lang.Object
- Determine whether this Object is semantically equal
to another Object.
There are some fairly strict requirements on this
method which subclasses must follow:
- It must be transitive. If
a.equals(b) and
b.equals(c), then a.equals(c)
must be true as well.
- It must be symmetric.
a.equals(b) and
b.equals(a) must have the same value.
- It must be reflexive.
a.equals(a) must
always be true.
- It must be consistent. Whichever value a.equals(b)
returns on the first invocation must be the value
returned on all later invocations.
a.equals(null) must be false.
- It must be consistent with hashCode(). That is,
a.equals(b) must imply
a.hashCode() == b.hashCode().
The reverse is not true; two objects that are not
equal may have the same hashcode, but that has
the potential to harm hashing performance.
This is typically overridden to throw a java.lang.ClassCastException
if the argument is not comparable to the class performing
the comparison, but that is not a requirement. It is legal
for a.equals(b) to be true even though
a.getClass() != b.getClass(). Also, it
is typical to never cause a java.lang.NullPointerException.
In general, the Collections API (java.util) use the
equals method rather than the ==
operator to compare objects. However, java.util.IdentityHashMap
is an exception to this rule, for its own good reasons.
The default implementation returns this == o.