1 21 22 package org.apache.commons.validator; 23 24 27 public class NameBean { 28 29 protected String firstName = null; 30 31 protected String middleName = null; 32 33 protected String lastName = null; 34 35 public String getFirstName() { 36 return firstName; 37 } 38 39 public void setFirstName(String firstName) { 40 this.firstName = firstName; 41 } 42 43 public String getMiddleName() { 44 return middleName; 45 } 46 47 public void setMiddleName(String middleName) { 48 this.middleName = middleName; 49 } 50 51 public String getLastName() { 52 return lastName; 53 } 54 55 public void setLastName(String lastName) { 56 this.lastName = lastName; 57 } 58 59 } | Popular Tags |