001: /*
002: * Copyright 2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.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/ecl1.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:
017: package org.kuali.core.bo;
018:
019: import java.util.LinkedHashMap;
020:
021: /**
022: *
023: */
024: public class CampusType extends PersistableBusinessObjectBase {
025:
026: private String campusTypeCode;
027: private boolean dataObjectMaintenanceCodeActiveIndicator;
028: private String campusTypeName;
029:
030: /**
031: * Default constructor.
032: */
033: public CampusType() {
034: dataObjectMaintenanceCodeActiveIndicator = true;
035: }
036:
037: /**
038: * Gets the campusTypeCode attribute.
039: *
040: * @return Returns the campusTypeCode
041: *
042: */
043: public String getCampusTypeCode() {
044: return campusTypeCode;
045: }
046:
047: /**
048: * Sets the campusTypeCode attribute.
049: *
050: * @param campusTypeCode The campusTypeCode to set.
051: *
052: */
053: public void setCampusTypeCode(String campusTypeCode) {
054: this .campusTypeCode = campusTypeCode;
055: }
056:
057: /**
058: * Gets the dataObjectMaintenanceCodeActiveIndicator attribute.
059: *
060: * @return Returns the dataObjectMaintenanceCodeActiveIndicator
061: *
062: */
063: public boolean getDataObjectMaintenanceCodeActiveIndicator() {
064: return dataObjectMaintenanceCodeActiveIndicator;
065: }
066:
067: /**
068: * Sets the dataObjectMaintenanceCodeActiveIndicator attribute.
069: *
070: * @param dataObjectMaintenanceCodeActiveIndicator The dataObjectMaintenanceCodeActiveIndicator to set.
071: *
072: */
073: public void setDataObjectMaintenanceCodeActiveIndicator(
074: boolean dataObjectMaintenanceCodeActiveIndicator) {
075: this .dataObjectMaintenanceCodeActiveIndicator = dataObjectMaintenanceCodeActiveIndicator;
076: }
077:
078: /**
079: * Gets the campusTypeName attribute.
080: *
081: * @return Returns the campusTypeName
082: *
083: */
084: public String getCampusTypeName() {
085: return campusTypeName;
086: }
087:
088: /**
089: * Sets the campusTypeName attribute.
090: *
091: * @param campusTypeName The campusTypeName to set.
092: *
093: */
094: public void setCampusTypeName(String campusTypeName) {
095: this .campusTypeName = campusTypeName;
096: }
097:
098: /**
099: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
100: */
101: protected LinkedHashMap toStringMapper() {
102: LinkedHashMap m = new LinkedHashMap();
103: m.put("campusTypeCode", this.campusTypeCode);
104: return m;
105: }
106: }
|