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.kra.routingform.bo;
018:
019: import java.sql.Date;
020: import java.util.LinkedHashMap;
021:
022: import org.kuali.core.bo.PersistableBusinessObjectBase;
023: import org.kuali.kfs.KFSPropertyConstants;
024:
025: /**
026: *
027: */
028: public class ContractGrantProposal extends
029: PersistableBusinessObjectBase {
030:
031: private String documentNumber;
032: private Long proposalNumber;
033: private Date proposalCreateDate;
034:
035: /**
036: * Default constructor.
037: */
038: public ContractGrantProposal() {
039:
040: }
041:
042: /**
043: * Gets the documentNumber attribute.
044: *
045: * @return Returns the documentNumber
046: */
047: public String getDocumentNumber() {
048: return documentNumber;
049: }
050:
051: /**
052: * Sets the documentNumber attribute.
053: *
054: * @param documentNumber The documentNumber to set.
055: */
056: public void setDocumentNumber(String documentNumber) {
057: this .documentNumber = documentNumber;
058: }
059:
060: /**
061: * Gets the proposalNumber attribute.
062: *
063: * @return Returns the proposalNumber
064: */
065: public Long getProposalNumber() {
066: return proposalNumber;
067: }
068:
069: /**
070: * Sets the proposalNumber attribute.
071: *
072: * @param proposalNumber The proposalNumber to set.
073: */
074: public void setProposalNumber(Long proposalNumber) {
075: this .proposalNumber = proposalNumber;
076: }
077:
078: /**
079: * Gets the proposalCreateDate attribute.
080: *
081: * @return Returns the proposalCreateDate
082: */
083: public Date getProposalCreateDate() {
084: return proposalCreateDate;
085: }
086:
087: /**
088: * Sets the proposalCreateDate attribute.
089: *
090: * @param proposalCreateDate The proposalCreateDate to set.
091: */
092: public void setProposalCreateDate(Date proposalCreateDate) {
093: this .proposalCreateDate = proposalCreateDate;
094: }
095:
096: /**
097: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
098: */
099: protected LinkedHashMap toStringMapper() {
100: LinkedHashMap m = new LinkedHashMap();
101: m
102: .put(KFSPropertyConstants.DOCUMENT_NUMBER,
103: this.documentNumber);
104: return m;
105: }
106: }
|