Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.schooltool.complextypes.staff
Class StaffApplication  view StaffApplication download StaffApplication.java

java.lang.Object
  extended byorg.schooltool.complextypes.staff.StaffApplication
All Implemented Interfaces:
java.io.Serializable

public class StaffApplication
extends java.lang.Object
implements java.io.Serializable


Field Summary
private  java.lang.String advertNumber
           
 boolean AdvertNumberChanged
           
private  java.util.Date applicationDate
           
 boolean ApplicationDateChanged
           
private  long applicationStatus
           
 boolean ApplicationStatusChanged
           
private  org.schooltool.complextypes.access.User applicationStatusUpdatedBy
           
private  long applicationStatusUpdatedByForeignKey
           
 boolean ApplicationStatusUpdatedByForeignKeyChanged
           
private  long applicationType
           
 boolean ApplicationTypeChanged
           
protected  boolean classChanged
           
private  java.util.Date commencementDate
           
 boolean CommencementDateChanged
           
private  java.util.Date dateApplicationStatusChanged
           
 boolean DateApplicationStatusChangedChanged
           
private  org.schooltool.complextypes.lookup.Department deptOfPreference1
           
private  long deptOfPreference1ForeignKey
           
 boolean DeptOfPreference1ForeignKeyChanged
           
private  org.schooltool.complextypes.lookup.Department deptOfPreference2
           
private  long deptOfPreference2ForeignKey
           
 boolean DeptOfPreference2ForeignKeyChanged
           
private  org.schooltool.complextypes.lookup.Department deptOfPreference3
           
private  long deptOfPreference3ForeignKey
           
 boolean DeptOfPreference3ForeignKeyChanged
           
private  boolean hasRailWarrant
           
 boolean HasRailWarrantChanged
           
private  boolean hostelApplication
           
 boolean HostelApplicationChanged
           
private  boolean interviewedAtOwnExpense
           
 boolean InterviewedAtOwnExpenseChanged
           
private  org.schooltool.complextypes.lookup.Phase postPhase
           
private  long postPhaseForeignKey
           
 boolean PostPhaseForeignKeyChanged
           
private  org.schooltool.complextypes.lookup.Rank postRank
           
private  long postRankForeignKey
           
 boolean PostRankForeignKeyChanged
           
private  org.schooltool.complextypes.access.SchoolProfile schoolProfile
           
private  long schoolProfileForeignKey
           
 boolean SchoolProfileForeignKeyChanged
           
private  long StaffApplication_PrimaryKey
           
 boolean StaffApplication_PrimaryKeyChanged
           
private  Staff staffDetails
           
private  long staffDetailsForeignKey
           
 boolean StaffDetailsForeignKeyChanged
           
 
Constructor Summary
StaffApplication()
           
 
Method Summary
 void clearChangeTracker()
           
 boolean equals(java.lang.Object other)
          Determine whether this Object is semantically equal to another Object.
 java.lang.String getAdvertNumber()
           
 java.util.Date getApplicationDate()
           
 long getApplicationStatus()
           
 org.schooltool.complextypes.access.User getApplicationStatusUpdatedBy()
           
 long getApplicationStatusUpdatedByForeignKey()
           
 long getApplicationType()
           
 java.util.Date getCommencementDate()
           
 java.util.Date getDateApplicationStatusChanged()
           
 org.schooltool.complextypes.lookup.Department getDeptOfPreference1()
           
 long getDeptOfPreference1ForeignKey()
           
 org.schooltool.complextypes.lookup.Department getDeptOfPreference2()
           
 long getDeptOfPreference2ForeignKey()
           
 org.schooltool.complextypes.lookup.Department getDeptOfPreference3()
           
 long getDeptOfPreference3ForeignKey()
           
 boolean getHasRailWarrant()
           
 boolean getHostelApplication()
           
 boolean getInterviewedAtOwnExpense()
           
 org.schooltool.complextypes.lookup.Phase getPostPhase()
           
 long getPostPhaseForeignKey()
           
 org.schooltool.complextypes.lookup.Rank getPostRank()
           
 long getPostRankForeignKey()
           
 long getPrimaryKey()
           
 org.schooltool.complextypes.access.SchoolProfile getSchoolProfile()
           
 long getSchoolProfileForeignKey()
           
 long getStaffApplication_PrimaryKey()
           
 Staff getStaffDetails()
           
 long getStaffDetailsForeignKey()
           
 int hashCode()
          Get a value that represents this Object, as uniquely as possible within the confines of an int.
 boolean isClassChanged()
           
 void setAdvertNumber(java.lang.String value)
           
 void setApplicationDate(java.util.Date value)
           
 void setApplicationStatus(long value)
           
 void setApplicationStatusUpdatedBy(org.schooltool.complextypes.access.User value)
           
 void setApplicationStatusUpdatedByForeignKey(long value)
           
 void setApplicationType(long value)
           
 void setCommencementDate(java.util.Date value)
           
 void setDateApplicationStatusChanged(java.util.Date value)
           
 void setDeptOfPreference1(org.schooltool.complextypes.lookup.Department value)
           
 void setDeptOfPreference1ForeignKey(long value)
           
 void setDeptOfPreference2(org.schooltool.complextypes.lookup.Department value)
           
 void setDeptOfPreference2ForeignKey(long value)
           
 void setDeptOfPreference3(org.schooltool.complextypes.lookup.Department value)
           
 void setDeptOfPreference3ForeignKey(long value)
           
 void setHasRailWarrant(boolean value)
           
 void setHostelApplication(boolean value)
           
 void setInterviewedAtOwnExpense(boolean value)
           
 void setPostPhase(org.schooltool.complextypes.lookup.Phase value)
           
 void setPostPhaseForeignKey(long value)
           
 void setPostRank(org.schooltool.complextypes.lookup.Rank value)
           
 void setPostRankForeignKey(long value)
           
 void setSchoolProfile(org.schooltool.complextypes.access.SchoolProfile value)
           
 void setSchoolProfileForeignKey(long value)
           
 void setStaffApplication_PrimaryKey(long setValue)
           
 void setStaffDetails(Staff value)
           
 void setStaffDetailsForeignKey(long value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classChanged

protected boolean classChanged

StaffApplication_PrimaryKeyChanged

public boolean StaffApplication_PrimaryKeyChanged

StaffApplication_PrimaryKey

private long StaffApplication_PrimaryKey

AdvertNumberChanged

public boolean AdvertNumberChanged

advertNumber

private java.lang.String advertNumber

ApplicationTypeChanged

public boolean ApplicationTypeChanged

applicationType

private long applicationType

ApplicationDateChanged

public boolean ApplicationDateChanged

applicationDate

private java.util.Date applicationDate

DeptOfPreference1ForeignKeyChanged

public boolean DeptOfPreference1ForeignKeyChanged

deptOfPreference1ForeignKey

private long deptOfPreference1ForeignKey

deptOfPreference1

private org.schooltool.complextypes.lookup.Department deptOfPreference1

DeptOfPreference2ForeignKeyChanged

public boolean DeptOfPreference2ForeignKeyChanged

deptOfPreference2ForeignKey

private long deptOfPreference2ForeignKey

deptOfPreference2

private org.schooltool.complextypes.lookup.Department deptOfPreference2

DeptOfPreference3ForeignKeyChanged

public boolean DeptOfPreference3ForeignKeyChanged

deptOfPreference3ForeignKey

private long deptOfPreference3ForeignKey

deptOfPreference3

private org.schooltool.complextypes.lookup.Department deptOfPreference3

ApplicationStatusChanged

public boolean ApplicationStatusChanged

applicationStatus

private long applicationStatus

CommencementDateChanged

public boolean CommencementDateChanged

commencementDate

private java.util.Date commencementDate

InterviewedAtOwnExpenseChanged

public boolean InterviewedAtOwnExpenseChanged

interviewedAtOwnExpense

private boolean interviewedAtOwnExpense

HasRailWarrantChanged

public boolean HasRailWarrantChanged

hasRailWarrant

private boolean hasRailWarrant

HostelApplicationChanged

public boolean HostelApplicationChanged

hostelApplication

private boolean hostelApplication

StaffDetailsForeignKeyChanged

public boolean StaffDetailsForeignKeyChanged

staffDetailsForeignKey

private long staffDetailsForeignKey

staffDetails

private Staff staffDetails

PostRankForeignKeyChanged

public boolean PostRankForeignKeyChanged

postRankForeignKey

private long postRankForeignKey

postRank

private org.schooltool.complextypes.lookup.Rank postRank

PostPhaseForeignKeyChanged

public boolean PostPhaseForeignKeyChanged

postPhaseForeignKey

private long postPhaseForeignKey

postPhase

private org.schooltool.complextypes.lookup.Phase postPhase

ApplicationStatusUpdatedByForeignKeyChanged

public boolean ApplicationStatusUpdatedByForeignKeyChanged

applicationStatusUpdatedByForeignKey

private long applicationStatusUpdatedByForeignKey

applicationStatusUpdatedBy

private org.schooltool.complextypes.access.User applicationStatusUpdatedBy

DateApplicationStatusChangedChanged

public boolean DateApplicationStatusChangedChanged

dateApplicationStatusChanged

private java.util.Date dateApplicationStatusChanged

SchoolProfileForeignKeyChanged

public boolean SchoolProfileForeignKeyChanged

schoolProfileForeignKey

private long schoolProfileForeignKey

schoolProfile

private org.schooltool.complextypes.access.SchoolProfile schoolProfile
Constructor Detail

StaffApplication

public StaffApplication()
Method Detail

isClassChanged

public boolean isClassChanged()

clearChangeTracker

public void clearChangeTracker()

getStaffApplication_PrimaryKey

public long getStaffApplication_PrimaryKey()

setStaffApplication_PrimaryKey

public void setStaffApplication_PrimaryKey(long setValue)

getPrimaryKey

public long getPrimaryKey()

getAdvertNumber

public java.lang.String getAdvertNumber()

setAdvertNumber

public void setAdvertNumber(java.lang.String value)

getApplicationType

public long getApplicationType()

setApplicationType

public void setApplicationType(long value)

getApplicationDate

public java.util.Date getApplicationDate()

setApplicationDate

public void setApplicationDate(java.util.Date value)

getDeptOfPreference1ForeignKey

public long getDeptOfPreference1ForeignKey()

setDeptOfPreference1ForeignKey

public void setDeptOfPreference1ForeignKey(long value)

getDeptOfPreference1

public org.schooltool.complextypes.lookup.Department getDeptOfPreference1()

setDeptOfPreference1

public void setDeptOfPreference1(org.schooltool.complextypes.lookup.Department value)

getDeptOfPreference2ForeignKey

public long getDeptOfPreference2ForeignKey()

setDeptOfPreference2ForeignKey

public void setDeptOfPreference2ForeignKey(long value)

getDeptOfPreference2

public org.schooltool.complextypes.lookup.Department getDeptOfPreference2()

setDeptOfPreference2

public void setDeptOfPreference2(org.schooltool.complextypes.lookup.Department value)

getDeptOfPreference3ForeignKey

public long getDeptOfPreference3ForeignKey()

setDeptOfPreference3ForeignKey

public void setDeptOfPreference3ForeignKey(long value)

getDeptOfPreference3

public org.schooltool.complextypes.lookup.Department getDeptOfPreference3()

setDeptOfPreference3

public void setDeptOfPreference3(org.schooltool.complextypes.lookup.Department value)

getApplicationStatus

public long getApplicationStatus()

setApplicationStatus

public void setApplicationStatus(long value)

getCommencementDate

public java.util.Date getCommencementDate()

setCommencementDate

public void setCommencementDate(java.util.Date value)

getInterviewedAtOwnExpense

public boolean getInterviewedAtOwnExpense()

setInterviewedAtOwnExpense

public void setInterviewedAtOwnExpense(boolean value)

getHasRailWarrant

public boolean getHasRailWarrant()

setHasRailWarrant

public void setHasRailWarrant(boolean value)

getHostelApplication

public boolean getHostelApplication()

setHostelApplication

public void setHostelApplication(boolean value)

getStaffDetailsForeignKey

public long getStaffDetailsForeignKey()

setStaffDetailsForeignKey

public void setStaffDetailsForeignKey(long value)

getStaffDetails

public Staff getStaffDetails()

setStaffDetails

public void setStaffDetails(Staff value)

getPostRankForeignKey

public long getPostRankForeignKey()

setPostRankForeignKey

public void setPostRankForeignKey(long value)

getPostRank

public org.schooltool.complextypes.lookup.Rank getPostRank()

setPostRank

public void setPostRank(org.schooltool.complextypes.lookup.Rank value)

getPostPhaseForeignKey

public long getPostPhaseForeignKey()

setPostPhaseForeignKey

public void setPostPhaseForeignKey(long value)

getPostPhase

public org.schooltool.complextypes.lookup.Phase getPostPhase()

setPostPhase

public void setPostPhase(org.schooltool.complextypes.lookup.Phase value)

getApplicationStatusUpdatedByForeignKey

public long getApplicationStatusUpdatedByForeignKey()

setApplicationStatusUpdatedByForeignKey

public void setApplicationStatusUpdatedByForeignKey(long value)

getApplicationStatusUpdatedBy

public org.schooltool.complextypes.access.User getApplicationStatusUpdatedBy()

setApplicationStatusUpdatedBy

public void setApplicationStatusUpdatedBy(org.schooltool.complextypes.access.User value)

getDateApplicationStatusChanged

public java.util.Date getDateApplicationStatusChanged()

setDateApplicationStatusChanged

public void setDateApplicationStatusChanged(java.util.Date 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)

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.