org.apache.jdo.tck.pc.company
Class CompanyFactoryConcreteClass

java.lang.Object
  extended byorg.apache.jdo.tck.pc.company.CompanyFactoryConcreteClass
All Implemented Interfaces:
CompanyFactory

public class CompanyFactoryConcreteClass
extends java.lang.Object
implements CompanyFactory


Field Summary
static java.lang.Class[] tearDownClasses
           
 
Constructor Summary
CompanyFactoryConcreteClass()
           
CompanyFactoryConcreteClass(javax.jdo.PersistenceManager pm)
           
 
Method Summary
 java.lang.Class[] getTearDownClasses()
           
 IAddress newAddress(long addrid, java.lang.String street, java.lang.String city, java.lang.String state, java.lang.String zipcode, java.lang.String country)
           
 ICompany newCompany(long companyid, java.lang.String name, java.util.Date founded)
           
 ICompany newCompany(long companyid, java.lang.String name, java.util.Date founded, IAddress addr)
           
 IDentalInsurance newDentalInsurance(long insid, java.lang.String carrier, java.math.BigDecimal lifetimeOrthoBenefit)
           
 IDentalInsurance newDentalInsurance(long insid, java.lang.String carrier, IEmployee employee, java.math.BigDecimal lifetimeOrthoBenefit)
           
 IDepartment newDepartment(long deptid, java.lang.String name)
           
 IDepartment newDepartment(long deptid, java.lang.String name, ICompany company)
           
 IDepartment newDepartment(long deptid, java.lang.String name, ICompany company, IEmployee employeeOfTheMonth)
           
 IFullTimeEmployee newFullTimeEmployee(long personid, java.lang.String first, java.lang.String last, java.lang.String middle, java.util.Date born, java.util.Date hired, double sal)
           
 IFullTimeEmployee newFullTimeEmployee(long personid, java.lang.String first, java.lang.String last, java.lang.String middle, java.util.Date born, IAddress addr, java.util.Date hired, double sal)
           
 IMedicalInsurance newMedicalInsurance(long insid, java.lang.String carrier, IEmployee employee, java.lang.String planType)
           
 IMedicalInsurance newMedicalInsurance(long insid, java.lang.String carrier, java.lang.String planType)
           
 IPartTimeEmployee newPartTimeEmployee(long personid, java.lang.String first, java.lang.String last, java.lang.String middle, java.util.Date born, java.util.Date hired, double wage)
           
 IPartTimeEmployee newPartTimeEmployee(long personid, java.lang.String first, java.lang.String last, java.lang.String middle, java.util.Date born, IAddress addr, java.util.Date hired, double wage)
           
 IPerson newPerson(long personid, java.lang.String firstname, java.lang.String lastname, java.lang.String middlename, java.util.Date birthdate)
           
 IPerson newPerson(long personid, java.lang.String firstname, java.lang.String lastname, java.lang.String middlename, java.util.Date birthdate, IAddress address)
           
 IProject newProject(long projid, java.lang.String name, java.math.BigDecimal budget)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tearDownClasses

public static final java.lang.Class[] tearDownClasses
Constructor Detail

CompanyFactoryConcreteClass

public CompanyFactoryConcreteClass(javax.jdo.PersistenceManager pm)

CompanyFactoryConcreteClass

public CompanyFactoryConcreteClass()
Method Detail

newCompany

public ICompany newCompany(long companyid,
                           java.lang.String name,
                           java.util.Date founded)
Specified by:
newCompany in interface CompanyFactory

newCompany

public ICompany newCompany(long companyid,
                           java.lang.String name,
                           java.util.Date founded,
                           IAddress addr)
Specified by:
newCompany in interface CompanyFactory

newAddress

public IAddress newAddress(long addrid,
                           java.lang.String street,
                           java.lang.String city,
                           java.lang.String state,
                           java.lang.String zipcode,
                           java.lang.String country)
Specified by:
newAddress in interface CompanyFactory

newDentalInsurance

public IDentalInsurance newDentalInsurance(long insid,
                                           java.lang.String carrier,
                                           java.math.BigDecimal lifetimeOrthoBenefit)
Specified by:
newDentalInsurance in interface CompanyFactory

newDentalInsurance

public IDentalInsurance newDentalInsurance(long insid,
                                           java.lang.String carrier,
                                           IEmployee employee,
                                           java.math.BigDecimal lifetimeOrthoBenefit)
Specified by:
newDentalInsurance in interface CompanyFactory

newDepartment

public IDepartment newDepartment(long deptid,
                                 java.lang.String name)
Specified by:
newDepartment in interface CompanyFactory

newDepartment

public IDepartment newDepartment(long deptid,
                                 java.lang.String name,
                                 ICompany company)
Specified by:
newDepartment in interface CompanyFactory

newDepartment

public IDepartment newDepartment(long deptid,
                                 java.lang.String name,
                                 ICompany company,
                                 IEmployee employeeOfTheMonth)
Specified by:
newDepartment in interface CompanyFactory

newFullTimeEmployee

public IFullTimeEmployee newFullTimeEmployee(long personid,
                                             java.lang.String first,
                                             java.lang.String last,
                                             java.lang.String middle,
                                             java.util.Date born,
                                             java.util.Date hired,
                                             double sal)
Specified by:
newFullTimeEmployee in interface CompanyFactory

newFullTimeEmployee

public IFullTimeEmployee newFullTimeEmployee(long personid,
                                             java.lang.String first,
                                             java.lang.String last,
                                             java.lang.String middle,
                                             java.util.Date born,
                                             IAddress addr,
                                             java.util.Date hired,
                                             double sal)
Specified by:
newFullTimeEmployee in interface CompanyFactory

newMedicalInsurance

public IMedicalInsurance newMedicalInsurance(long insid,
                                             java.lang.String carrier,
                                             java.lang.String planType)
Specified by:
newMedicalInsurance in interface CompanyFactory

newMedicalInsurance

public IMedicalInsurance newMedicalInsurance(long insid,
                                             java.lang.String carrier,
                                             IEmployee employee,
                                             java.lang.String planType)
Specified by:
newMedicalInsurance in interface CompanyFactory

newPartTimeEmployee

public IPartTimeEmployee newPartTimeEmployee(long personid,
                                             java.lang.String first,
                                             java.lang.String last,
                                             java.lang.String middle,
                                             java.util.Date born,
                                             java.util.Date hired,
                                             double wage)
Specified by:
newPartTimeEmployee in interface CompanyFactory

newPartTimeEmployee

public IPartTimeEmployee newPartTimeEmployee(long personid,
                                             java.lang.String first,
                                             java.lang.String last,
                                             java.lang.String middle,
                                             java.util.Date born,
                                             IAddress addr,
                                             java.util.Date hired,
                                             double wage)
Specified by:
newPartTimeEmployee in interface CompanyFactory

newPerson

public IPerson newPerson(long personid,
                         java.lang.String firstname,
                         java.lang.String lastname,
                         java.lang.String middlename,
                         java.util.Date birthdate)

newPerson

public IPerson newPerson(long personid,
                         java.lang.String firstname,
                         java.lang.String lastname,
                         java.lang.String middlename,
                         java.util.Date birthdate,
                         IAddress address)

newProject

public IProject newProject(long projid,
                           java.lang.String name,
                           java.math.BigDecimal budget)
Specified by:
newProject in interface CompanyFactory

getTearDownClasses

public java.lang.Class[] getTearDownClasses()
Specified by:
getTearDownClasses in interface CompanyFactory


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.