1 /*
2 * Copyright 2008 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 org.kuali.ole.sys.document.web;
17
18 /**
19 * A class that represents an action that can be taken on an accounting line.
20 */
21 public class AccountingLineViewAction {
22 private String actionMethod;
23 private String actionLabel;
24 private String imageName;
25
26 public AccountingLineViewAction(String actionMethod, String actionLabel, String imageName) {
27 this.actionMethod = actionMethod;
28 this.actionLabel = actionLabel;
29 this.imageName = imageName;
30 }
31
32 /**
33 * Gets the actionLabel attribute.
34 * @return Returns the actionLabel.
35 */
36 public String getActionLabel() {
37 return actionLabel;
38 }
39 /**
40 * Sets the actionLabel attribute value.
41 * @param actionLabel The actionLabel to set.
42 */
43 public void setActionLabel(String actionLabel) {
44 this.actionLabel = actionLabel;
45 }
46 /**
47 * Gets the actionMethod attribute.
48 * @return Returns the actionMethod.
49 */
50 public String getActionMethod() {
51 return actionMethod;
52 }
53 /**
54 * Sets the actionMethod attribute value.
55 * @param actionMethod The actionMethod to set.
56 */
57 public void setActionMethod(String actionMethod) {
58 this.actionMethod = actionMethod;
59 }
60 /**
61 * Gets the imageName attribute.
62 * @return Returns the imageName.
63 */
64 public String getImageName() {
65 return imageName;
66 }
67 /**
68 * Sets the imageName attribute value.
69 * @param imageName The imageName to set.
70 */
71 public void setImageName(String imageName) {
72 this.imageName = imageName;
73 }
74 }