001    /*
002     * Copyright 2011 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    package org.kuali.kfs.sys.document.web;
017    
018    /**
019     * A class that represents an action that can be taken on an accounting line.
020     */
021    public class AccountingLineViewAction {
022        private String actionMethod;
023        private String actionLabel;
024        private String imageName;
025        
026        public AccountingLineViewAction(String actionMethod, String actionLabel, String imageName) {
027            this.actionMethod = actionMethod;
028            this.actionLabel = actionLabel;
029            this.imageName = imageName;
030        }
031        
032        /**
033         * Gets the actionLabel attribute. 
034         * @return Returns the actionLabel.
035         */
036        public String getActionLabel() {
037            return actionLabel;
038        }
039        /**
040         * Sets the actionLabel attribute value.
041         * @param actionLabel The actionLabel to set.
042         */
043        public void setActionLabel(String actionLabel) {
044            this.actionLabel = actionLabel;
045        }
046        /**
047         * Gets the actionMethod attribute. 
048         * @return Returns the actionMethod.
049         */
050        public String getActionMethod() {
051            return actionMethod;
052        }
053        /**
054         * Sets the actionMethod attribute value.
055         * @param actionMethod The actionMethod to set.
056         */
057        public void setActionMethod(String actionMethod) {
058            this.actionMethod = actionMethod;
059        }
060        /**
061         * Gets the imageName attribute. 
062         * @return Returns the imageName.
063         */
064        public String getImageName() {
065            return imageName;
066        }
067        /**
068         * Sets the imageName attribute value.
069         * @param imageName The imageName to set.
070         */
071        public void setImageName(String imageName) {
072            this.imageName = imageName;
073        }
074    }