001: /*
002: * Copyright 2005-2006 The Kuali Foundation.
003: *
004: *
005: * Licensed under the Educational Community License, Version 1.0 (the "License");
006: * you may not use this file except in compliance with the License.
007: * You may obtain a copy of the License at
008: *
009: * http://www.opensource.org/licenses/ecl1.php
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017: package edu.iu.uis.eden.lookupable;
018:
019: import java.util.ArrayList;
020: import java.util.List;
021: import java.util.Map;
022:
023: import org.apache.struts.action.ActionForm;
024:
025: /**
026: * Struts ActionForm for the {@link LookupAction}.
027: *
028: * @author jhopf
029: * @author bmcgough
030: */
031: public class LookupForm extends ActionForm {
032:
033: private static final long serialVersionUID = -4397265394670795140L;
034: private String formKey;
035: private String backLocation;
036: private Map fields;
037: private String methodToCall = "";
038: private String lookupableImplServiceName;
039: private String conversionFields;
040: private Map fieldConversions;
041: private String noReturnParams;
042: private List supportedExportFormats = new ArrayList();
043:
044: /**
045: * @return Returns the lookupableImplServiceName.
046: */
047: public String getLookupableImplServiceName() {
048: return lookupableImplServiceName;
049: }
050:
051: /**
052: * @param lookupableImplServiceName
053: * The lookupableImplServiceName to set.
054: */
055: public void setLookupableImplServiceName(
056: String lookupableImplServiceName) {
057: this .lookupableImplServiceName = lookupableImplServiceName;
058: }
059:
060: /**
061: * @return Returns the methodToCall.
062: */
063: public String getMethodToCall() {
064: return methodToCall;
065: }
066:
067: /**
068: * @param methodToCall
069: * The methodToCall to set.
070: */
071: public void setMethodToCall(String methodToCall) {
072: this .methodToCall = methodToCall;
073: }
074:
075: /**
076: * @return Returns the backLocation.
077: */
078: public String getBackLocation() {
079: return backLocation;
080: }
081:
082: /**
083: * @param backLocation
084: * The backLocation to set.
085: */
086: public void setBackLocation(String backLocation) {
087: this .backLocation = backLocation;
088: }
089:
090: /**
091: * @return Returns the formKey.
092: */
093: public String getFormKey() {
094: return formKey;
095: }
096:
097: /**
098: * @param formKey
099: * The formKey to set.
100: */
101: public void setFormKey(String formKey) {
102: this .formKey = formKey;
103: }
104:
105: /**
106: * @return Returns the fields.
107: */
108: public Map getFields() {
109: return fields;
110: }
111:
112: /**
113: * @param fields
114: * The fields to set.
115: */
116: public void setFields(Map fields) {
117: this .fields = fields;
118: }
119:
120: public String getConversionFields() {
121: return conversionFields;
122: }
123:
124: public void setConversionFields(String conversionFields) {
125: this .conversionFields = conversionFields;
126: }
127:
128: public String getNoReturnParams() {
129: return noReturnParams;
130: }
131:
132: public void setNoReturnParams(String noReturnParams) {
133: this .noReturnParams = noReturnParams;
134: }
135:
136: public Map getFieldConversions() {
137: return fieldConversions;
138: }
139:
140: public void setFieldConversions(Map fieldConversions) {
141: this .fieldConversions = fieldConversions;
142: }
143:
144: public List getSupportedExportFormats() {
145: return supportedExportFormats;
146: }
147:
148: public void setSupportedExportFormats(List supportedExportFormats) {
149: this.supportedExportFormats = supportedExportFormats;
150: }
151:
152: }
|