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: package org.kuali.module.kra.routingform.bo;
017:
018: import java.util.LinkedHashMap;
019:
020: import org.kuali.core.bo.PersistableBusinessObjectBase;
021:
022: public class PersonRole extends PersistableBusinessObjectBase {
023:
024: private String personRoleCode;
025: private boolean dataObjectMaintenanceCodeActiveIndicator;
026: private String personRoleDescription;
027: private Integer personRoleSortNumber;
028:
029: /**
030: * Default constructor.
031: */
032: public PersonRole() {
033:
034: }
035:
036: /**
037: * Gets the personRoleCode attribute.
038: *
039: * @return Returns the personRoleCode
040: */
041: public String getPersonRoleCode() {
042: return personRoleCode;
043: }
044:
045: /**
046: * Sets the personRoleCode attribute.
047: *
048: * @param personRoleCode The personRoleCode to set.
049: */
050: public void setPersonRoleCode(String personRoleCode) {
051: this .personRoleCode = personRoleCode;
052: }
053:
054: /**
055: * Gets the dataObjectMaintenanceCodeActiveIndicator attribute.
056: *
057: * @return Returns the dataObjectMaintenanceCodeActiveIndicator.
058: */
059: public boolean isDataObjectMaintenanceCodeActiveIndicator() {
060: return dataObjectMaintenanceCodeActiveIndicator;
061: }
062:
063: /**
064: * Sets the dataObjectMaintenanceCodeActiveIndicator attribute value.
065: *
066: * @param dataObjectMaintenanceCodeActiveIndicator The dataObjectMaintenanceCodeActiveIndicator to set.
067: */
068: public void setDataObjectMaintenanceCodeActiveIndicator(
069: boolean dataObjectMaintenanceCodeActiveIndicator) {
070: this .dataObjectMaintenanceCodeActiveIndicator = dataObjectMaintenanceCodeActiveIndicator;
071: }
072:
073: /**
074: * Gets the personRoleDescription attribute.
075: *
076: * @return Returns the personRoleDescription
077: */
078: public String getPersonRoleDescription() {
079: return personRoleDescription;
080: }
081:
082: /**
083: * Sets the personRoleDescription attribute.
084: *
085: * @param personRoleDescription The personRoleDescription to set.
086: */
087: public void setPersonRoleDescription(String personRoleDescription) {
088: this .personRoleDescription = personRoleDescription;
089: }
090:
091: /**
092: * Gets the personRoleSortNumber attribute.
093: *
094: * @return Returns the personRoleSortNumber.
095: */
096: public Integer getPersonRoleSortNumber() {
097: return personRoleSortNumber;
098: }
099:
100: /**
101: * Sets the personRoleSortNumber attribute value.
102: *
103: * @param personRoleSortNumber The personRoleSortNumber to set.
104: */
105: public void setPersonRoleSortNumber(Integer personRoleSortNumber) {
106: this .personRoleSortNumber = personRoleSortNumber;
107: }
108:
109: /**
110: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
111: */
112: protected LinkedHashMap toStringMapper() {
113: LinkedHashMap m = new LinkedHashMap();
114: m.put("personRoleCode", this.personRoleCode);
115: return m;
116: }
117:
118: }
|