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