001: /**********************************************************************************
002: * $URL: https://source.sakaiproject.org/svn/osp/tags/sakai_2-4-1/common/api/src/java/org/theospi/portfolio/list/model/ColumnConfig.java $
003: * $Id: ColumnConfig.java 18535 2006-11-29 18:32:53Z chmaurer@iupui.edu $
004: ***********************************************************************************
005: *
006: * Copyright (c) 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: **********************************************************************************/
021:
022: /**
023: *
024: */package org.theospi.portfolio.list.model;
025:
026: /**
027: * @author chrismaurer
028: *
029: */
030: public class ColumnConfig {
031:
032: private String columnName;
033: private boolean defaultSelected;
034: private boolean sortable;
035: private boolean defaultSort;
036: private int defaultSortDirection;
037: private boolean lookupInBundle;
038:
039: /**
040: * @return the columnName
041: */
042: public String getColumnName() {
043: return columnName;
044: }
045:
046: /**
047: * @param columnName the columnName to set
048: */
049: public void setColumnName(String columnName) {
050: this .columnName = columnName;
051: }
052:
053: /**
054: * @return the defaultSelected
055: */
056: public boolean isDefaultSelected() {
057: return defaultSelected;
058: }
059:
060: /**
061: * @param defaultSelected the defaultSelected to set
062: */
063: public void setDefaultSelected(boolean defaultSelected) {
064: this .defaultSelected = defaultSelected;
065: }
066:
067: /**
068: * @return the defaultSort
069: */
070: public boolean isDefaultSort() {
071: return defaultSort;
072: }
073:
074: /**
075: * @param defaultSort the defaultSort to set
076: */
077: public void setDefaultSort(boolean defaultSort) {
078: this .defaultSort = defaultSort;
079: }
080:
081: /**
082: * @return the defaultSortDirection
083: */
084: public int getDefaultSortDirection() {
085: return defaultSortDirection;
086: }
087:
088: /**
089: * @param defaultSortDirection the defaultSortDirection to set
090: */
091: public void setDefaultSortDirection(int defaultSortDirection) {
092: this .defaultSortDirection = defaultSortDirection;
093: }
094:
095: /**
096: * @return the sortable
097: */
098: public boolean isSortable() {
099: return sortable;
100: }
101:
102: /**
103: * @param sortable the sortable to set
104: */
105: public void setSortable(boolean sortable) {
106: this .sortable = sortable;
107: }
108:
109: /**
110: * @return the lookupInBundle
111: */
112: public boolean isLookupInBundle() {
113: return lookupInBundle;
114: }
115:
116: /**
117: * @param lookupInBundle the lookupInBundle to set
118: */
119: public void setLookupInBundle(boolean lookupInBundle) {
120: this.lookupInBundle = lookupInBundle;
121: }
122:
123: }
|