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.labor.bo;
018:
019: import java.util.LinkedHashMap;
020:
021: import org.kuali.core.bo.PersistableBusinessObjectBase;
022:
023: /**
024: * Labor business object for Benefits Type
025: */
026: public class BenefitsType extends PersistableBusinessObjectBase {
027:
028: private String positionBenefitTypeCode;
029: private String positionBenefitTypeDescription;
030: private boolean positionBenefitRetirementIndicator;
031:
032: /**
033: * Default constructor.
034: */
035: public BenefitsType() {
036:
037: }
038:
039: /**
040: * Gets the positionBenefitTypeCode attribute.
041: *
042: * @return Returns the positionBenefitTypeCode
043: */
044: public String getPositionBenefitTypeCode() {
045: return positionBenefitTypeCode;
046: }
047:
048: /**
049: * Sets the positionBenefitTypeCode attribute.
050: *
051: * @param positionBenefitTypeCode The positionBenefitTypeCode to set.
052: */
053: public void setPositionBenefitTypeCode(
054: String positionBenefitTypeCode) {
055: this .positionBenefitTypeCode = positionBenefitTypeCode;
056: }
057:
058: /**
059: * Gets the positionBenefitTypeDescription attribute.
060: *
061: * @return Returns the positionBenefitTypeDescription
062: */
063: public String getPositionBenefitTypeDescription() {
064: return positionBenefitTypeDescription;
065: }
066:
067: /**
068: * Sets the positionBenefitTypeDescription attribute.
069: *
070: * @param positionBenefitTypeDescription The positionBenefitTypeDescription to set.
071: */
072: public void setPositionBenefitTypeDescription(
073: String positionBenefitTypeDescription) {
074: this .positionBenefitTypeDescription = positionBenefitTypeDescription;
075: }
076:
077: /**
078: * Gets the positionBenefitRetirementIndicator attribute.
079: *
080: * @return Returns the positionBenefitRetirementIndicator
081: */
082: public boolean isPositionBenefitRetirementIndicator() {
083: return positionBenefitRetirementIndicator;
084: }
085:
086: /**
087: * Sets the positionBenefitRetirementIndicator attribute.
088: *
089: * @param positionBenefitRetirementIndicator The positionBenefitRetirementIndicator to set.
090: */
091: public void setPositionBenefitRetirementIndicator(
092: boolean positionBenefitRetirementIndicator) {
093: this .positionBenefitRetirementIndicator = positionBenefitRetirementIndicator;
094: }
095:
096: /**
097: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
098: */
099: protected LinkedHashMap toStringMapper() {
100: LinkedHashMap m = new LinkedHashMap();
101: m.put("positionBenefitTypeCode", this.positionBenefitTypeCode);
102:
103: return m;
104: }
105: }
|