Return-Path: Delivered-To: apmail-db-jdo-commits-archive@www.apache.org Received: (qmail 63579 invoked from network); 17 Jun 2005 21:15:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Jun 2005 21:15:19 -0000 Received: (qmail 29541 invoked by uid 500); 17 Jun 2005 21:14:52 -0000 Mailing-List: contact jdo-commits-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-commits@db.apache.org Received: (qmail 29494 invoked by uid 99); 17 Jun 2005 21:14:52 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 17 Jun 2005 14:14:51 -0700 Received: (qmail 63255 invoked by uid 65534); 17 Jun 2005 21:14:33 -0000 Message-ID: <20050617211433.63254.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: svn commit: r191206 - in /incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company: Company.java Employee.java FullTimeEmployee.java PartTimeEmployee.java Person.java Date: Fri, 17 Jun 2005 21:14:32 -0000 To: jdo-commits@db.apache.org From: clr@apache.org X-Mailer: svnmailer-1.0.0-dev X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: clr Date: Fri Jun 17 14:14:31 2005 New Revision: 191206 URL: http://svn.apache.org/viewcvs?rev=3D191206&view=3Drev Log: JDO-73 added constructors that don't require Address Modified: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company/Compa= ny.java incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company/Emplo= yee.java incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company/FullT= imeEmployee.java incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company/PartT= imeEmployee.java incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company/Perso= n=2Ejava Modified: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company= /Company.java URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/= apache/jdo/tck/pc/company/Company.java?rev=3D191206&r1=3D191205&r2=3D191206= &view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company/Compa= ny.java (original) +++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company/Compa= ny.java Fri Jun 17 14:14:31 2005 @@ -48,12 +48,22 @@ * @param companyid The company id. * @param name The company name. * @param founded The date the company was founded. - * @param addr The company's address. */ - public Company(long companyid, String name, Date founded, Address addr= ) { + public Company(long companyid, String name, Date founded) { this.companyid =3D companyid; this.name =3D name; this.founded =3D founded; + } + + /**=20 + * Initialize the Company instance. + * @param companyid The company id. + * @param name The company name. + * @param founded The date the company was founded. + * @param addr The company's address. + */ + public Company(long companyid, String name, Date founded, Address addr= ) { + this(companyid, name, founded); this.address =3D addr; } =20 Modified: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company= /Employee.java URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/= apache/jdo/tck/pc/company/Employee.java?rev=3D191206&r1=3D191205&r2=3D19120= 6&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company/Emplo= yee.java (original) +++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company/Emplo= yee.java Fri Jun 17 14:14:31 2005 @@ -57,6 +57,22 @@ * @param lastname The last name of the employee. * @param middlename The middle name of the employee. * @param birthdate The birth date of the employee. + * @param hiredate The date that the employee was hired. + */ + public Employee(long personid, String firstname, String lastname,=20 + String middlename, Date birthdate, + Date hiredate) { + super(personid, firstname, lastname, middlename, birthdate); + this.hiredate =3D hiredate; + } + + /** + * Initialize an Employee instance. + * @param personid The identifier for the person. + * @param firstname The first name of the employee. + * @param lastname The last name of the employee. + * @param middlename The middle name of the employee. + * @param birthdate The birth date of the employee. * @param address The address of the employee. * @param hiredate The date that the employee was hired. */ Modified: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company= /FullTimeEmployee.java URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/= apache/jdo/tck/pc/company/FullTimeEmployee.java?rev=3D191206&r1=3D191205&r2= =3D191206&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company/FullT= imeEmployee.java (original) +++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company/FullT= imeEmployee.java Fri Jun 17 14:14:31 2005 @@ -38,6 +38,23 @@ * @param last The person's last name. * @param middle The person's middle name. * @param born The person's birthdate. + * @param hired The date that the person was hired. + * @param sal The salary of the full-time employee. + */ + public FullTimeEmployee(long personid, String first, String last, + String middle, Date born, + Date hired, double sal) { + super(personid, first, last, middle, born, hired); + salary =3D sal; + } + + /** + * Initialize a full-time employee. + * @param personid The person identifier. + * @param first The person's first name. + * @param last The person's last name. + * @param middle The person's middle name. + * @param born The person's birthdate. * @param addr The person's address. * @param hired The date that the person was hired. * @param sal The salary of the full-time employee. Modified: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company= /PartTimeEmployee.java URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/= apache/jdo/tck/pc/company/PartTimeEmployee.java?rev=3D191206&r1=3D191205&r2= =3D191206&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company/PartT= imeEmployee.java (original) +++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company/PartT= imeEmployee.java Fri Jun 17 14:14:31 2005 @@ -37,6 +37,23 @@ * @param last The person's last name. * @param middle The person's middle name. * @param born The person's birthdate. + * @param hired The date the person was hired. + * @param wage The person's wage. + */ + public PartTimeEmployee(long personid, String first, String last, + String middle, Date born, + Date hired, double wage ) { + super(personid, first, last, middle, born, hired); + this.wage =3D wage; + } + + /** + * Initialize a part-time employee. + * @param personid The identifier for the person. + * @param first The person's first name. + * @param last The person's last name. + * @param middle The person's middle name. + * @param born The person's birthdate. * @param addr The person's address. * @param hired The date the person was hired. * @param wage The person's wage. Modified: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company= /Person.java URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/= apache/jdo/tck/pc/company/Person.java?rev=3D191206&r1=3D191205&r2=3D191206&= view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company/Perso= n=2Ejava (original) +++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/company/Perso= n=2Ejava Fri Jun 17 14:14:31 2005 @@ -59,16 +59,29 @@ * @param lastname The person's last name. * @param middlename The person's middle name. * @param birthdate The person's birthdate. - * @param address The person's address. */ public Person(long personid, String firstname, String lastname,=20 - String middlename, Date birthdate, Address address) { + String middlename, Date birthdate) { this.personid =3D personid; this.firstname =3D firstname; this.lastname =3D lastname; this.middlename =3D middlename; - this.address =3D address; this.birthdate =3D birthdate; + } + + /** + * Initialize a Person instance. + * @param personid The person identifier. + * @param firstname The person's first name. + * @param lastname The person's last name. + * @param middlename The person's middle name. + * @param birthdate The person's birthdate. + * @param address The person's address. + */ + public Person(long personid, String firstname, String lastname,=20 + String middlename, Date birthdate, Address address) { + this(personid, firstname, lastname, middlename, birthdate); + this.address =3D address; } =20 /**