01: /*
02: * Copyright 2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
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.core.web.ui;
17:
18: import java.io.Serializable;
19: import java.util.List;
20:
21: /**
22: *
23: */
24: public class ResultRow implements Serializable {
25: private static final long serialVersionUID = 2880508981008533913L;
26: private List<Column> columns;
27: private String returnUrl;
28: private String actionUrls;
29: private String objectId;
30:
31: public ResultRow(List<Column> columns, String returnUrl,
32: String actionUrls) {
33: this .columns = columns;
34: this .returnUrl = returnUrl;
35: this .actionUrls = actionUrls;
36: }
37:
38: /**
39: * @return Returns the returnUrl.
40: */
41: public String getReturnUrl() {
42: return returnUrl;
43: }
44:
45: /**
46: * @param returnUrl The returnUrl to set.
47: */
48: public void setReturnUrl(String returnUrl) {
49: this .returnUrl = returnUrl;
50: }
51:
52: /**
53: * @return Returns the columns.
54: */
55: public List<Column> getColumns() {
56: return columns;
57: }
58:
59: /**
60: * @param columns The columns to set.
61: */
62: public void setColumns(List<Column> columns) {
63: this .columns = columns;
64: }
65:
66: /**
67: * @return Returns the actions url
68: */
69: public String getActionUrls() {
70: return actionUrls;
71: }
72:
73: /**
74: * @param actionsUrl the actions url
75: */
76: public void setActionUrls(String actionUrls) {
77: this .actionUrls = actionUrls;
78: }
79:
80: /**
81: * Gets the Object ID of the BO that this row represents
82: * @return
83: */
84: public String getObjectId() {
85: return objectId;
86: }
87:
88: /**
89: * Sets the Object ID of the BO that this row represents
90: * @param objectId
91: */
92: public void setObjectId(String objectId) {
93: this.objectId = objectId;
94: }
95: }
|