View Javadoc

1   /**
2    * Copyright 2005-2014 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package edu.sampleu.bookstore.document.web;
17  
18  import edu.sampleu.bookstore.bo.BookOrder;
19  import edu.sampleu.bookstore.document.BookOrderDocument;
20  import org.kuali.rice.kns.web.struts.form.KualiTransactionalDocumentFormBase;
21  
22  /*
23   * BookOrderForm class file for BookOrder maintenance object
24   */
25  public class BookOrderForm extends KualiTransactionalDocumentFormBase {
26  
27  	private static final long serialVersionUID = -206564464059467788L;
28  
29  	private BookOrder newBookOrder;
30  
31  	public BookOrder getNewBookOrder() {
32  		return newBookOrder;
33  	}
34  
35  	public void setNewBookOrder(BookOrder newBookOrder) {
36  		this.newBookOrder = newBookOrder;
37  	}
38  	
39      public BookOrderDocument getBookOrderDocument() {
40          return (BookOrderDocument) getDocument();
41      }
42  	
43  }