001 /*
002 * Copyright 2011 The Kuali Foundation.
003 *
004 * Licensed under the Educational Community License, Version 2.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/ecl2.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.kfs.integration.cg.dto;
017
018 import java.io.Serializable;
019 import java.util.List;
020
021 public class AccountCreationStatusDTO implements Serializable {
022
023 private static final long serialVersionUID = -3058053637490790154L;
024
025 protected List<String> errorMessages;
026 protected String documentNumber;
027 protected String accountNumber;
028 protected String chartOfAccountsCode;
029 protected String status;
030
031 public AccountCreationStatusDTO() {}
032
033 /**
034 * Gets the errorCodes attribute.
035 * @return Returns the errorCodes.
036 */
037 public List<String> getErrorMessages() {
038 return errorMessages;
039 }
040
041 /**
042 * Sets the errorCodes attribute value.
043 * @param errorCodes The errorCodes to set.
044 */
045 public void setErrorMessages(List<String> errorMessages) {
046 this.errorMessages = errorMessages;
047 }
048
049 /**
050 * Gets the documentNumber attribute.
051 * @return Returns the documentNumber.
052 */
053 public String getDocumentNumber() {
054 return documentNumber;
055 }
056
057 /**
058 * Sets the documentNumber attribute value.
059 * @param documentNumber The documentNumber to set.
060 */
061 public void setDocumentNumber(String documentNumber) {
062 this.documentNumber = documentNumber;
063 }
064
065 /**
066 * Gets the accountNumber attribute.
067 * @return Returns the accountNumber.
068 */
069 public String getAccountNumber() {
070 return accountNumber;
071 }
072
073 /**
074 * Sets the accountNumber attribute value.
075 * @param accountNumber The accountNumber to set.
076 */
077 public void setAccountNumber(String accountNumber) {
078 this.accountNumber = accountNumber;
079 }
080
081 /**
082 * Gets the chartOfAccountsCode attribute.
083 * @return Returns the chartOfAccountsCode.
084 */
085 public String getChartOfAccountsCode() {
086 return chartOfAccountsCode;
087 }
088
089 /**
090 * Sets the chartOfAccountsCode attribute value.
091 * @param chartOfAccountsCode The chartOfAccountsCode to set.
092 */
093 public void setChartOfAccountsCode(String chartOfAccountsCode) {
094 this.chartOfAccountsCode = chartOfAccountsCode;
095 }
096
097 /**
098 * Gets the status attribute.
099 * @return Returns the status.
100 */
101 public String getStatus() {
102 return status;
103 }
104
105 /**
106 * Sets the status attribute value.
107 * @param status The status to set.
108 */
109 public void setStatus(String status) {
110 this.status = status;
111 }
112
113
114 }