Save This Page
Home » jdo2-tck-2.3-ea-src » org.apache.jdo.tck.pc.companyAnnotatedJPA » [javadoc | source]
org.apache.jdo.tck.pc.companyAnnotatedJPA
public class: JPAAppPartTimeEmployee [javadoc | source]
java.lang.Object
   org.apache.jdo.tck.pc.companyAnnotatedJPA.JPAAppPerson
      org.apache.jdo.tck.pc.companyAnnotatedJPA.JPAAppEmployee
         org.apache.jdo.tck.pc.companyAnnotatedJPA.JPAAppPartTimeEmployee

All Implemented Interfaces:
    IPartTimeEmployee, IEmployee, DeepEquality, IPerson, Comparator, Serializable, Comparable

This class represents a part-time employee.
Fields inherited from org.apache.jdo.tck.pc.companyAnnotatedJPA.JPAAppPerson:
formatter
Constructor:
 public JPAAppPartTimeEmployee() 
 public JPAAppPartTimeEmployee(long personid,
    String first,
    String last,
    String middle,
    Date born,
    Date hired,
    double wage) 
    Construct a part-time employee.
    Parameters:
    personid - The identifier for the person.
    first - The person's first name.
    last - The person's last name.
    middle - The person's middle name.
    born - The person's birthdate.
    hired - The date the person was hired.
    wage - The person's wage.
 public JPAAppPartTimeEmployee(long personid,
    String first,
    String last,
    String middle,
    Date born,
    JPAAppAddress addr,
    Date hired,
    double wage) 
    Construct a part-time employee.
    Parameters:
    personid - The identifier for the person.
    first - The person's first name.
    last - The person's last name.
    middle - The person's middle name.
    born - The person's birthdate.
    addr - The person's address.
    hired - The date the person was hired.
    wage - The person's wage.
Method from org.apache.jdo.tck.pc.companyAnnotatedJPA.JPAAppPartTimeEmployee Summary:
deepCompareFields,   getFieldRepr,   getWage,   setWage,   toString
Methods from org.apache.jdo.tck.pc.companyAnnotatedJPA.JPAAppEmployee:
addAdvisee,   addProject,   addReviewedProjects,   addToTeam,   deepCompareFields,   getDentalInsurance,   getDepartment,   getFieldRepr,   getFundingDept,   getHiredate,   getHradvisees,   getHradvisor,   getManager,   getMedicalInsurance,   getMentor,   getProjects,   getProtege,   getReviewedProjects,   getTeam,   getWeeklyhours,   removeAdvisee,   removeFromTeam,   removeProject,   removeReviewedProject,   setDentalInsurance,   setDepartment,   setFundingDept,   setHiredate,   setHradvisees,   setHradvisor,   setManager,   setMedicalInsurance,   setMentor,   setProjects,   setProtege,   setReviewedProjects,   setTeam,   setWeeklyhours,   toString
Methods from org.apache.jdo.tck.pc.companyAnnotatedJPA.JPAAppPerson:
compare,   compare,   compareTo,   compareTo,   convertPhone2String,   convertString2Phone,   deepCompareFields,   equals,   getAddress,   getBirthdate,   getFieldRepr,   getFirstname,   getLastname,   getMiddlename,   getPersonid,   getPhoneNumber,   getPhoneNumbers,   hashCode,   putPhoneNumber,   removePhoneNumber,   setAddress,   setBirthdate,   setFirstname,   setLastname,   setMiddlename,   setPersonid,   setPhoneNumbers,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jdo.tck.pc.companyAnnotatedJPA.JPAAppPartTimeEmployee Detail:
 public boolean deepCompareFields(Object other,
    EqualityHelper helper) 
    Returns true if all the fields of this instance are deep equal to the coresponding fields of the specified JPAAppPartTimeEmployee.
 public String getFieldRepr() 
    Returns a String representation of the non-relationship fields.
 public double getWage() 
    Get the wage of the part-time employee.
 public  void setWage(double wage) 
    Set the wage of the part-time employee.
 public String toString() 
    Returns a String representation of a JPAAppPartTimeEmployee object.