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 NoteType extends PersistableBusinessObjectBase {
025:
026: private String noteTypeCode;
027: private String noteTypeDescription;
028: private boolean noteTypeActiveIndicator;
029:
030: /**
031: * Default constructor.
032: */
033: public NoteType() {
034:
035: }
036:
037: /**
038: * Gets the noteTypeCode attribute.
039: *
040: * @return Returns the noteTypeCode
041: *
042: */
043: public String getNoteTypeCode() {
044: return noteTypeCode;
045: }
046:
047: /**
048: * Sets the noteTypeCode attribute.
049: *
050: * @param noteTypeCode The noteTypeCode to set.
051: *
052: */
053: public void setNoteTypeCode(String noteTypeCode) {
054: this .noteTypeCode = noteTypeCode;
055: }
056:
057: /**
058: * Gets the noteTypeDescription attribute.
059: *
060: * @return Returns the noteTypeDescription
061: *
062: */
063: public String getNoteTypeDescription() {
064: return noteTypeDescription;
065: }
066:
067: /**
068: * Sets the noteTypeDescription attribute.
069: *
070: * @param noteTypeDescription The noteTypeDescription to set.
071: *
072: */
073: public void setNoteTypeDescription(String noteTypeDescription) {
074: this .noteTypeDescription = noteTypeDescription;
075: }
076:
077: /**
078: * Gets the noteTypeActiveIndicator attribute.
079: *
080: * @return Returns the noteTypeActiveIndicator
081: *
082: */
083: public boolean isNoteTypeActiveIndicator() {
084: return noteTypeActiveIndicator;
085: }
086:
087: /**
088: * Sets the noteTypeActiveIndicator attribute.
089: *
090: * @param noteTypeActiveIndicator The noteTypeActiveIndicator to set.
091: *
092: */
093: public void setNoteTypeActiveIndicator(
094: boolean noteTypeActiveIndicator) {
095: this .noteTypeActiveIndicator = noteTypeActiveIndicator;
096: }
097:
098: /**
099: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
100: */
101: protected LinkedHashMap toStringMapper() {
102: LinkedHashMap m = new LinkedHashMap();
103: m.put("noteTypeCode", this.noteTypeCode);
104: return m;
105: }
106: }
|