001 package edu.sampleu.bookstore.bo; 002 003 import org.kuali.rice.krad.bo.MutableInactivatable; 004 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; 005 006 /** 007 * Address Business Object class file relative to Address maintenance object. 008 */ 009 010 public class Address extends PersistableBusinessObjectBase implements MutableInactivatable { 011 012 private static final long serialVersionUID = -8624654503247320725L; 013 014 private Long addressId; 015 private String type; 016 private String street1; 017 private String street2; 018 private String city; 019 private String province; 020 private String country; 021 private Long authorId; 022 private boolean active = true; 023 024 private BSAddressType addressType; 025 026 027 028 029 /** 030 * @return the active 031 */ 032 public boolean isActive() { 033 return this.active; 034 } 035 036 /** 037 * @param active the active to set 038 */ 039 public void setActive(boolean active) { 040 this.active = active; 041 } 042 043 public Long getAuthorId() { 044 return authorId; 045 } 046 047 public void setAuthorId(Long authorId) { 048 this.authorId = authorId; 049 } 050 051 public Long getAddressId() { 052 return addressId; 053 } 054 055 public void setAddressId(Long addressId) { 056 this.addressId = addressId; 057 } 058 059 public String getType() { 060 return type; 061 } 062 063 public void setType(String type) { 064 this.type = type; 065 } 066 067 public BSAddressType getAddressType() { 068 return addressType; 069 } 070 071 public void setAddressType(BSAddressType addressType) { 072 this.addressType = addressType; 073 } 074 075 public String getStreet1() { 076 return street1; 077 } 078 079 public void setStreet1(String street1) { 080 this.street1 = street1; 081 } 082 083 public String getStreet2() { 084 return street2; 085 } 086 087 public void setStreet2(String street2) { 088 this.street2 = street2; 089 } 090 091 public String getCity() { 092 return city; 093 } 094 095 public void setCity(String city) { 096 this.city = city; 097 } 098 099 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 }