1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.datadictionary.validation;
17
18 import java.util.Date;
19
20
21
22
23
24 public class Address {
25 private String street1, street2, city, state, postalCode, country;
26 private Date effectiveDate;
27
28
29 public Address(){
30 }
31
32 public Address(String street1, String street2, String city, String state, String postalCode, String country, Date effectiveDate) {
33 this.street1 = street1;
34 this.street2 = street2;
35 this.city = city;
36 this.state = state;
37 this.postalCode = postalCode;
38 this.country = country;
39 this.effectiveDate = effectiveDate;
40 }
41
42
43
44
45 public String getStreet1() {
46 return this.street1;
47 }
48
49
50
51
52 public void setStreet1(String street1) {
53 this.street1 = street1;
54 }
55
56
57
58
59 public String getStreet2() {
60 return this.street2;
61 }
62
63
64
65
66 public void setStreet2(String street2) {
67 this.street2 = street2;
68 }
69
70
71
72
73 public String getCity() {
74 return this.city;
75 }
76
77
78
79
80 public void setCity(String city) {
81 this.city = city;
82 }
83
84
85
86
87 public String getState() {
88 return this.state;
89 }
90
91
92
93
94 public void setState(String state) {
95 this.state = state;
96 }
97
98
99
100
101 public String getPostalCode() {
102 return this.postalCode;
103 }
104
105
106
107
108 public void setPostalCode(String postalCode) {
109 this.postalCode = postalCode;
110 }
111
112
113
114
115 public String getCountry() {
116 return this.country;
117 }
118
119
120
121
122 public void setCountry(String country) {
123 this.country = country;
124 }
125
126
127
128
129 public Date getEffectiveDate() {
130 return this.effectiveDate;
131 }
132
133
134
135
136 public void setEffectiveDate(Date effectiveDate) {
137 this.effectiveDate = effectiveDate;
138 }
139 }