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