| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
package edu.sampleu.bookstore.bo; |
| 5 | |
|
| 6 | |
import java.util.ArrayList; |
| 7 | |
import java.util.List; |
| 8 | |
|
| 9 | |
import org.kuali.rice.kns.bo.Inactivateable; |
| 10 | |
import org.kuali.rice.kns.bo.PersistableBusinessObjectBase; |
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | 0 | public class BookType extends PersistableBusinessObjectBase implements Inactivateable{ |
| 17 | |
|
| 18 | |
|
| 19 | |
private static final long serialVersionUID = 8499633675478827977L; |
| 20 | |
private String typeCode; |
| 21 | |
private String name; |
| 22 | |
private String description; |
| 23 | 0 | private boolean active = true; |
| 24 | |
|
| 25 | |
|
| 26 | 0 | private List<Book> books = new ArrayList<Book>(); |
| 27 | |
|
| 28 | |
|
| 29 | |
public List<Book> getBooks() { |
| 30 | 0 | return books; |
| 31 | |
} |
| 32 | |
|
| 33 | |
public void setBooks(List<Book> books) { |
| 34 | 0 | this.books = books; |
| 35 | 0 | } |
| 36 | |
|
| 37 | |
public String getTypeCode() { |
| 38 | 0 | return typeCode; |
| 39 | |
} |
| 40 | |
|
| 41 | |
public void setTypeCode(String typeCode) { |
| 42 | 0 | this.typeCode = typeCode; |
| 43 | 0 | } |
| 44 | |
|
| 45 | |
public String getName() { |
| 46 | 0 | return name; |
| 47 | |
} |
| 48 | |
|
| 49 | |
public void setName(String name) { |
| 50 | 0 | this.name = name; |
| 51 | 0 | } |
| 52 | |
|
| 53 | |
public String getDescription() { |
| 54 | 0 | return description; |
| 55 | |
} |
| 56 | |
|
| 57 | |
public void setDescription(String description) { |
| 58 | 0 | this.description = description; |
| 59 | 0 | } |
| 60 | |
|
| 61 | |
public boolean isActive() { |
| 62 | 0 | return active; |
| 63 | |
} |
| 64 | |
|
| 65 | |
public void setActive(boolean active) { |
| 66 | 0 | this.active = active; |
| 67 | 0 | } |
| 68 | |
|
| 69 | |
|
| 70 | |
} |