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