Guest User

Untitled

a guest
Oct 16th, 2011
112
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.slyvr.pojo;
  2.  
  3. import javax.persistence.Column;
  4. import javax.persistence.GeneratedValue;
  5. import javax.persistence.Id;
  6. import javax.persistence.Table;
  7.  
  8. import org.hibernate.annotations.Entity;
  9.  
  10. @Entity
  11. @javax.persistence.Entity(name="Person")
  12. @Table(name="PERSON")
  13. public class Person {
  14.  
  15.     @Id @GeneratedValue
  16.     @Column(name="PERSON_ID")
  17.     private String personId;
  18.     @Column(name="FIRST_NAME")
  19.     private String firstName;
  20.     @Column(name="LAST_NAME")
  21.     private String lastName;
  22.     @Column(name="USER_NAME")
  23.     private String userName;
  24.     @Column(name="PASSWORD")
  25.     private String password;
  26.     @Column(name="IP_ADDRESS")
  27.     private String ipAddress;
  28.     @Column(name="EMAIL_ADDRESS")
  29.     private String emailAddress;
  30.    
  31.     public Person(){
  32.        
  33.     }
  34.  
  35.     public String getPersonId() {
  36.         return personId;
  37.     }
  38.  
  39.     public void setPersonId(String personId) {
  40.         this.personId = personId;
  41.     }
  42.  
  43.     public String getFirstName() {
  44.         return firstName;
  45.     }
  46.  
  47.     public void setFirstName(String firstName) {
  48.         this.firstName = firstName;
  49.     }
  50.  
  51.     public String getLastName() {
  52.         return lastName;
  53.     }
  54.  
  55.     public void setLastName(String lastName) {
  56.         this.lastName = lastName;
  57.     }
  58.  
  59.     public String getUserName() {
  60.         return userName;
  61.     }
  62.  
  63.     public void setUserName(String userName) {
  64.         this.userName = userName;
  65.     }
  66.  
  67.     public String getPassword() {
  68.         return password;
  69.     }
  70.  
  71.     public void setPassword(String password) {
  72.         this.password = password;
  73.     }
  74.  
  75.     public String getIpAddress() {
  76.         return ipAddress;
  77.     }
  78.  
  79.     public void setIpAddress(String ipAddress) {
  80.         this.ipAddress = ipAddress;
  81.     }
  82.  
  83.     public String getEmailAddress() {
  84.         return emailAddress;
  85.     }
  86.  
  87.     public void setEmailAddress(String emailAddress) {
  88.         this.emailAddress = emailAddress;
  89.     }
  90.    
  91.    
  92. }
  93.  
  94.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×