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.chart.bo;
018:
019: import java.util.LinkedHashMap;
020:
021: import org.kuali.core.bo.PersistableBusinessObjectBase;
022:
023: /**
024: *
025: */
026: public class AccountManagerRouteOption extends
027: PersistableBusinessObjectBase {
028:
029: private String chartOfAccountsCode;
030: private String accountNumber;
031: private String personUniversalIdentifier;
032: private boolean accountManagerRouteOptionIndicator;
033:
034: private Account account;
035: private Chart chartOfAccounts;
036:
037: /**
038: * Default constructor.
039: */
040: public AccountManagerRouteOption() {
041:
042: }
043:
044: /**
045: * Gets the chartOfAccountsCode attribute.
046: *
047: * @return Returns the chartOfAccountsCode
048: */
049: public String getChartOfAccountsCode() {
050: return chartOfAccountsCode;
051: }
052:
053: /**
054: * Sets the chartOfAccountsCode attribute.
055: *
056: * @param chartOfAccountsCode The chartOfAccountsCode to set.
057: */
058: public void setChartOfAccountsCode(String chartOfAccountsCode) {
059: this .chartOfAccountsCode = chartOfAccountsCode;
060: }
061:
062: /**
063: * Gets the accountNumber attribute.
064: *
065: * @return Returns the accountNumber
066: */
067: public String getAccountNumber() {
068: return accountNumber;
069: }
070:
071: /**
072: * Sets the accountNumber attribute.
073: *
074: * @param accountNumber The accountNumber to set.
075: */
076: public void setAccountNumber(String accountNumber) {
077: this .accountNumber = accountNumber;
078: }
079:
080: /**
081: * Gets the personUniversalIdentifier attribute.
082: *
083: * @return Returns the personUniversalIdentifier
084: */
085: public String getPersonUniversalIdentifier() {
086: return personUniversalIdentifier;
087: }
088:
089: /**
090: * Sets the personUniversalIdentifier attribute.
091: *
092: * @param personUniversalIdentifier The personUniversalIdentifier to set.
093: */
094: public void setPersonUniversalIdentifier(
095: String personUniversalIdentifier) {
096: this .personUniversalIdentifier = personUniversalIdentifier;
097: }
098:
099: /**
100: * Gets the accountManagerRouteOptionIndicator attribute.
101: *
102: * @return Returns the accountManagerRouteOptionIndicator
103: */
104: public boolean isAccountManagerRouteOptionIndicator() {
105: return accountManagerRouteOptionIndicator;
106: }
107:
108: /**
109: * Sets the accountManagerRouteOptionIndicator attribute.
110: *
111: * @param accountManagerRouteOptionIndicator The accountManagerRouteOptionIndicator to set.
112: */
113: public void setAccountManagerRouteOptionIndicator(
114: boolean accountManagerRouteOptionIndicator) {
115: this .accountManagerRouteOptionIndicator = accountManagerRouteOptionIndicator;
116: }
117:
118: /**
119: * Gets the account attribute.
120: *
121: * @return Returns the account
122: */
123: public Account getAccount() {
124: return account;
125: }
126:
127: /**
128: * Sets the account attribute.
129: *
130: * @param account The account to set.
131: * @deprecated
132: */
133: public void setAccount(Account account) {
134: this .account = account;
135: }
136:
137: /**
138: * Gets the chartOfAccounts attribute.
139: *
140: * @return Returns the chartOfAccounts
141: */
142: public Chart getChartOfAccounts() {
143: return chartOfAccounts;
144: }
145:
146: /**
147: * Sets the chartOfAccounts attribute.
148: *
149: * @param chartOfAccounts The chartOfAccounts to set.
150: * @deprecated
151: */
152: public void setChartOfAccounts(Chart chartOfAccounts) {
153: this .chartOfAccounts = chartOfAccounts;
154: }
155:
156: /**
157: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
158: */
159: protected LinkedHashMap toStringMapper() {
160: LinkedHashMap m = new LinkedHashMap();
161: m.put("chartOfAccountsCode", this .chartOfAccountsCode);
162: m.put("accountNumber", this .accountNumber);
163: m.put("personUniversalIdentifier",
164: this.personUniversalIdentifier);
165: return m;
166: }
167: }
|