JdbcPet.java
Upload User: jiancairen
Upload Date: 2007-08-27
Package Size: 26458k
Code Size: 0k
Category:

Java Develop

Development Platform:

Java

  1. package org.springframework.samples.petclinic.jdbc;
  2. import org.springframework.samples.petclinic.Pet;
  3. /**
  4.  * @author Juergen Hoeller
  5.  */
  6. public class JdbcPet extends Pet {
  7. private int typeId;
  8. private int ownerId;
  9. public void setTypeId(int typeId) {
  10. this.typeId = typeId;
  11. }
  12. public int getTypeId() {
  13. return this.typeId;
  14. }
  15. public void setOwnerId(int ownerId) {
  16. this.ownerId = ownerId;
  17. }
  18. public int getOwnerId() {
  19. return ownerId;
  20. }
  21. }