| 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 | 0 | 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 | 0 | private boolean active = true; |
| 38 | |
|
| 39 | |
private BSAddressType addressType; |
| 40 | |
|
| 41 | |
|
| 42 | |
|
| 43 | |
|
| 44 | |
|
| 45 | |
|
| 46 | |
|
| 47 | |
public boolean isActive() { |
| 48 | 0 | return this.active; |
| 49 | |
} |
| 50 | |
|
| 51 | |
|
| 52 | |
|
| 53 | |
|
| 54 | |
public void setActive(boolean active) { |
| 55 | 0 | this.active = active; |
| 56 | 0 | } |
| 57 | |
|
| 58 | |
public Long getAuthorId() { |
| 59 | 0 | return authorId; |
| 60 | |
} |
| 61 | |
|
| 62 | |
public void setAuthorId(Long authorId) { |
| 63 | 0 | this.authorId = authorId; |
| 64 | 0 | } |
| 65 | |
|
| 66 | |
public Long getAddressId() { |
| 67 | 0 | return addressId; |
| 68 | |
} |
| 69 | |
|
| 70 | |
public void setAddressId(Long addressId) { |
| 71 | 0 | this.addressId = addressId; |
| 72 | 0 | } |
| 73 | |
|
| 74 | |
public String getType() { |
| 75 | 0 | return type; |
| 76 | |
} |
| 77 | |
|
| 78 | |
public void setType(String type) { |
| 79 | 0 | this.type = type; |
| 80 | 0 | } |
| 81 | |
|
| 82 | |
public BSAddressType getAddressType() { |
| 83 | 0 | return addressType; |
| 84 | |
} |
| 85 | |
|
| 86 | |
public void setAddressType(BSAddressType addressType) { |
| 87 | 0 | this.addressType = addressType; |
| 88 | 0 | } |
| 89 | |
|
| 90 | |
public String getStreet1() { |
| 91 | 0 | return street1; |
| 92 | |
} |
| 93 | |
|
| 94 | |
public void setStreet1(String street1) { |
| 95 | 0 | this.street1 = street1; |
| 96 | 0 | } |
| 97 | |
|
| 98 | |
public String getStreet2() { |
| 99 | 0 | return street2; |
| 100 | |
} |
| 101 | |
|
| 102 | |
public void setStreet2(String street2) { |
| 103 | 0 | this.street2 = street2; |
| 104 | 0 | } |
| 105 | |
|
| 106 | |
public String getCity() { |
| 107 | 0 | return city; |
| 108 | |
} |
| 109 | |
|
| 110 | |
public void setCity(String city) { |
| 111 | 0 | this.city = city; |
| 112 | 0 | } |
| 113 | |
|
| 114 | |
public String getProvince() { |
| 115 | 0 | return province; |
| 116 | |
} |
| 117 | |
|
| 118 | |
public void setProvince(String province) { |
| 119 | 0 | this.province = province; |
| 120 | 0 | } |
| 121 | |
|
| 122 | |
public String getCountry() { |
| 123 | 0 | return country; |
| 124 | |
} |
| 125 | |
|
| 126 | |
public void setCountry(String country) { |
| 127 | 0 | this.country = country; |
| 128 | 0 | } |
| 129 | |
|
| 130 | |
|
| 131 | |
} |