/Users/johnr/Dropbox/johnrayworth.info/largeFilesOutsideJSR/__IB-Other/Other/IA-Solutions-2019/Gabriel/Product/Code2/src/code2/Person.java
  1 /*
  2  * To change this license header, choose License Headers in Project Properties.
  3  * To change this template file, choose Tools | Templates
  4  * and open the template in the editor.
  5  */
  6 package code2;
  7 
  8 import java.util.ArrayList;
  9 
 10 /**
 11  *
 12  * @author apotheosis
 13  */
 14 public class Person {
 15     //template class
 16     private String name = "not set yet";
 17     private String age = "not set yet";
 18     private String date = "not set yet";
 19     private String month = "not set yet";
 20     private String year = "not set yet";
 21     private String[] email = {"not set yet"}; 
 22     private String[] phone = {"not set yet"}; 
 23     private String organization = "not set yet";
 24     //private String[] category = {"not set yet"}; 
 25     private String category = "not set yet";
 26     //Address homeAddress = new Address();
 27     private String street = "not set yet";
 28     private String state = "not set yet";
 29     private String country = "not set yet";
 30     private String zip = "not set yet";
 31     private String notes = "not set yet";
 32     
 33     
 34     
 35     public Person (){
 36         
 37     }
 38     
 39     
 40     
 41     public Person (String name, String age, String date, String month, String year, String[] email, String[] phone, String organization, String categoryArrayList, String street, String state, String country, String zip, String notes){
 42         this.name = name;
 43         this.age = age;
 44         this.date = date;
 45         this.month = month;
 46         this.year = year;
 47         this.email = email;
 48         this.phone = phone;
 49         this.organization = organization;
 50         this.category = categoryArrayList;
 51         //this.homeAddress = homeAddress;
 52         this.street = street;
 53         this.state = state;
 54         this.country = country;
 55         this.zip = zip;
 56         this.notes = notes;
 57         
 58     }
 59    
 60 
 61 
 62     
 63     
 64     public void setName (String name){
 65         this.name = name;
 66     }
 67     public void setAge (String age){
 68         this.age = age;
 69     }
 70     
 71     public void setDate (String date){
 72         this.date = date;
 73     }
 74     public void setMonth (String month){
 75         this.month = month;
 76     }
 77     public void setYear (String year){
 78         this.year = year;
 79     }
 80     public void setEmail (String[] email){
 81         this.email = email;
 82     }
 83     public void setPhone (String[] phone){
 84         this.phone = phone;
 85     }
 86     public void setOrganization (String organization){
 87         this.organization = organization;
 88     }
 89     public void setCategory (String categoryArrayList){
 90         this.category = categoryArrayList;
 91     }
 92     public void setDescription (String notes){
 93         this.notes = notes;
 94     }
 95     public void setStreet (String street){
 96         this.street = street;
 97     }
 98     public void setState (String state){
 99         this.state = state;
100     }
101     public void setCountry (String country){
102         this.country = country;
103     }
104     public void setZip (String zip){
105         this.zip = zip;
106     }
107     
108     
109     
110     public String getName(){
111         return name;
112     }
113     public String getAge (){
114         return age;
115     }
116     
117     public String getDate (){
118         return date;
119     }
120     public String getMonth (){
121         return month;
122     }
123     public String getYear(){
124         return year;
125     }
126     public String[] getEmail (){
127         return email;
128     }
129     public String[] getPhone (){
130         return phone;
131     }
132     public String getOrganization (){
133         return organization;
134     }
135     public String getCategory (){
136         return category;
137     }
138     public String getNotes (){
139         return notes;
140     }
141     public String getStreet (){
142         return street;
143     }
144     public String getState (){
145         return state;
146     }
147     public String getCountry (){
148         return country;
149     }
150     public String getZip(){
151         return zip;
152     }
153     
154 
155 }
156