1 16 17 18 package org.apache.commons.betwixt.dotbetwixt; 19 20 24 public class PersonWithNamespace { 25 26 private String forename; 27 private String middlename; 28 private String lastname; 29 30 public PersonWithNamespace () {} 31 32 public PersonWithNamespace (String forename, String middlename, String lastname) { 33 setForename(forename); 34 setMiddlename(middlename); 35 setLastname(lastname); 36 } 37 38 39 public String getForename() { 40 return forename; 41 } 42 43 44 public String getLastname() { 45 return lastname; 46 } 47 48 49 public String getMiddlename() { 50 return middlename; 51 } 52 53 54 public void setForename(String string) { 55 forename = string; 56 } 57 58 public void setLastname(String string) { 59 lastname = string; 60 } 61 62 public void setMiddlename(String string) { 63 middlename = string; 64 } 65 66 } 67 | Popular Tags |