001 /** 002 * Copyright 2005-2014 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 /** 017 * 018 */ 019 package edu.sampleu.bookstore.bo; 020 021 import java.util.LinkedHashMap; 022 023 import org.kuali.rice.kim.bo.impl.KimAttributes; 024 025 /** 026 * Class to hold all Bookstore application specific KIM attributes 027 * 028 */ 029 public class BookstoreKimAttributes extends KimAttributes { 030 031 private static final long serialVersionUID = -1095291722496057450L; 032 033 public static final String BOOK_TYPE_CODE = "bookTypeCode"; 034 035 protected String bookTypeCode; 036 037 protected BookType bookType; 038 039 040 041 public String getBookTypeCode() { 042 return bookTypeCode; 043 } 044 045 public void setBookTypeCode(String bookTypeCode) { 046 this.bookTypeCode = bookTypeCode; 047 } 048 049 public BookType getBookType() { 050 return bookType; 051 } 052 053 public void setBookType(BookType bookType) { 054 this.bookType = bookType; 055 } 056 057 }