1 33 34 package com.icesoft.icefaces.samples.showcase.common; 35 36 39 public class Person { 40 private String lastName; 41 private String firstName; 42 private String phoneNo; 43 private String email; 44 private Boolean selected = Boolean.FALSE; 45 46 public Person(String firstName, String lastName, String phoneNo, 47 String email) { 48 this.firstName = firstName; 49 this.lastName = lastName; 50 this.phoneNo = phoneNo; 51 this.email = email; 52 } 53 54 public String getFirstName() { 55 return firstName; 56 } 57 58 public String getLastName() { 59 return lastName; 60 } 61 62 public String getPhoneNo() { 63 return phoneNo; 64 } 65 66 public String getEmail() { 67 return email; 68 } 69 70 public Boolean getSelected() { 71 return selected; 72 } 73 74 public void setSelected(Boolean selected) { 75 this.selected = selected; 76 } 77 78 public String toString() { 79 return firstName + " " + lastName + ", " + phoneNo + ", " + email; 80 } 81 } 82 | Popular Tags |