001: /*
002: * Copyright 2006-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.module.cg.bo;
018:
019: import java.util.LinkedHashMap;
020:
021: import org.kuali.core.bo.PersistableBusinessObjectBase;
022:
023: /**
024: * The type of {@link Award} associated with a {@link Proposal} instance.
025: */
026: public class ProposalAwardType extends PersistableBusinessObjectBase {
027:
028: private String proposalAwardTypeCode;
029: private String proposalAwardTypeDescription;
030: private boolean rowActiveIndicator;
031:
032: /**
033: * Default constructor.
034: */
035: public ProposalAwardType() {
036: }
037:
038: /**
039: * Gets the proposalAwardTypeCode attribute.
040: *
041: * @return Returns the proposalAwardTypeCode
042: */
043: public String getProposalAwardTypeCode() {
044: return proposalAwardTypeCode;
045: }
046:
047: /**
048: * Sets the proposalAwardTypeCode attribute.
049: *
050: * @param proposalAwardTypeCode The proposalAwardTypeCode to set.
051: */
052: public void setProposalAwardTypeCode(String proposalAwardTypeCode) {
053: this .proposalAwardTypeCode = proposalAwardTypeCode;
054: }
055:
056: /**
057: * Gets the proposalAwardTypeDescription attribute.
058: *
059: * @return Returns the proposalAwardTypeDescription
060: */
061: public String getProposalAwardTypeDescription() {
062: return proposalAwardTypeDescription;
063: }
064:
065: /**
066: * Sets the proposalAwardTypeDescription attribute.
067: *
068: * @param proposalAwardTypeDescription The proposalAwardTypeDescription to set.
069: */
070: public void setProposalAwardTypeDescription(
071: String proposalAwardTypeDescription) {
072: this .proposalAwardTypeDescription = proposalAwardTypeDescription;
073: }
074:
075: /**
076: * Gets the rowActiveIndicator attribute.
077: *
078: * @return Returns the rowActiveIndicator.
079: */
080: public boolean isRowActiveIndicator() {
081: return rowActiveIndicator;
082: }
083:
084: /**
085: * Sets the rowActiveIndicator attribute value.
086: *
087: * @param rowActiveIndicator The rowActiveIndicator to set.
088: */
089: public void setRowActiveIndicator(boolean rowActiveIndicator) {
090: this .rowActiveIndicator = rowActiveIndicator;
091: }
092:
093: /**
094: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
095: */
096: protected LinkedHashMap toStringMapper() {
097: LinkedHashMap m = new LinkedHashMap();
098: m.put("proposalAwardTypeCode", this.proposalAwardTypeCode);
099: return m;
100: }
101: }
|