View Javadoc

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