001: /**********************************************************************************
002: * $URL:https://source.sakaiproject.org/svn/osp/trunk/matrix/tool/src/java/org/theospi/portfolio/matrix/control/MatrixGridBean.java $
003: * $Id:MatrixGridBean.java 9134 2006-05-08 20:28:42Z chmaurer@iupui.edu $
004: ***********************************************************************************
005: *
006: * Copyright (c) 2005, 2006 The Sakai Foundation.
007: *
008: * Licensed under the Educational Community License, Version 1.0 (the "License");
009: * you may not use this file except in compliance with the License.
010: * You may obtain a copy of the License at
011: *
012: * http://www.opensource.org/licenses/ecl1.php
013: *
014: * Unless required by applicable law or agreed to in writing, software
015: * distributed under the License is distributed on an "AS IS" BASIS,
016: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
017: * See the License for the specific language governing permissions and
018: * limitations under the License.
019: *
020: **********************************************************************************/package org.theospi.portfolio.matrix.control;
021:
022: import java.util.List;
023:
024: import org.sakaiproject.metaobj.shared.model.Agent;
025: import org.sakaiproject.metaobj.shared.model.Id;
026: import org.theospi.portfolio.matrix.model.Scaffolding;
027:
028: /**
029: * @author chmaurer
030: */
031: public class MatrixGridBean {
032:
033: private List columnLabels;
034: private List rowLabels;
035: private List matrixContents;
036: private Id matrixId;
037: private Scaffolding scaffolding;
038: private Agent matrixOwner;
039:
040: /**
041: * @return
042: */
043: public List getColumnLabels() {
044: return columnLabels;
045: }
046:
047: /**
048: * @return
049: */
050: public List getMatrixContents() {
051: return matrixContents;
052: }
053:
054: /**
055: * @return
056: */
057: public List getRowLabels() {
058: return rowLabels;
059: }
060:
061: /**
062: * @param list
063: */
064: public void setColumnLabels(List list) {
065: columnLabels = list;
066: }
067:
068: /**
069: * @param list
070: */
071: public void setMatrixContents(List list) {
072: matrixContents = list;
073: }
074:
075: /**
076: * @param list
077: */
078: public void setRowLabels(List list) {
079: rowLabels = list;
080: }
081:
082: /**
083: * @return Returns the matrix.
084: */
085: public Id getMatrixId() {
086: return matrixId;
087: }
088:
089: /**
090: * @param matrix The matrix to set.
091: */
092: public void setMatrixId(Id matrixId) {
093: this .matrixId = matrixId;
094: }
095:
096: /**
097: * @return Returns the scaffolding.
098: */
099: public Scaffolding getScaffolding() {
100: return scaffolding;
101: }
102:
103: /**
104: * @param scaffolding The scaffolding to set.
105: */
106: public void setScaffolding(Scaffolding scaffolding) {
107: this .scaffolding = scaffolding;
108: }
109:
110: /**
111: * @return Returns the matrixOwner.
112: */
113: public Agent getMatrixOwner() {
114: return matrixOwner;
115: }
116:
117: /**
118: * @param matrixOwner The matrixOwner to set.
119: */
120: public void setMatrixOwner(Agent matrixOwner) {
121: this.matrixOwner = matrixOwner;
122: }
123: }
|