1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package edu.sampleu.bookstore.bo;
17
18 import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
19 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
20
21
22
23
24
25 public class Address extends PersistableBusinessObjectBase implements MutableInactivatable {
26
27 private static final long serialVersionUID = -8624654503247320725L;
28
29 private Long addressId;
30 private String type;
31 private String street1;
32 private String street2;
33 private String city;
34 private String province;
35 private String country;
36 private Long authorId;
37 private boolean active = true;
38
39 private BSAddressType addressType;
40
41
42
43
44
45
46
47 public boolean isActive() {
48 return this.active;
49 }
50
51
52
53
54 public void setActive(boolean active) {
55 this.active = active;
56 }
57
58 public Long getAuthorId() {
59 return authorId;
60 }
61
62 public void setAuthorId(Long authorId) {
63 this.authorId = authorId;
64 }
65
66 public Long getAddressId() {
67 return addressId;
68 }
69
70 public void setAddressId(Long addressId) {
71 this.addressId = addressId;
72 }
73
74 public String getType() {
75 return type;
76 }
77
78 public void setType(String type) {
79 this.type = type;
80 }
81
82 public BSAddressType getAddressType() {
83 return addressType;
84 }
85
86 public void setAddressType(BSAddressType addressType) {
87 this.addressType = addressType;
88 }
89
90 public String getStreet1() {
91 return street1;
92 }
93
94 public void setStreet1(String street1) {
95 this.street1 = street1;
96 }
97
98 public String getStreet2() {
99 return street2;
100 }
101
102 public void setStreet2(String street2) {
103 this.street2 = street2;
104 }
105
106 public String getCity() {
107 return city;
108 }
109
110 public void setCity(String city) {
111 this.city = city;
112 }
113
114 public String getProvince() {
115 return province;
116 }
117
118 public void setProvince(String province) {
119 this.province = province;
120 }
121
122 public String getCountry() {
123 return country;
124 }
125
126 public void setCountry(String country) {
127 this.country = country;
128 }
129
130
131 }