1 /**
2 * Copyright 2005-2012 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.travel.approval;
17
18 import org.kuali.rice.krad.web.form.TransactionalDocumentFormBase;
19
20 /**
21 * Transactional doc form implementation for the travel authorization document.
22 *
23 * <p>
24 * Holds properties necessary to determine the {@code View} instance that
25 * will be used to render the UI for the travel authorization document.
26 * </p>
27 *
28 * @author Kuali Rice Team (rice.collab@kuali.org)
29 */
30 public class TravelAuthorizationForm extends TransactionalDocumentFormBase {
31
32 public TravelAuthorizationForm() {
33 super();
34 }
35
36 /**
37 * Determines the default type name.
38 *
39 * <p>
40 * The default document type name is specific for each type of KRAD transactional
41 * document and manually set.
42 * </p>
43 *
44 * @link TravelAuthorizationForm#getDefaultDocumentTypeName()
45 * @return String - default document type name
46 */
47 @Override
48 protected String getDefaultDocumentTypeName() {
49 return "TravelAuthorization";
50 }
51 }