View Javadoc
1   /**
2    * Copyright 2004-2014 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.student.contract.model;
17  
18  /**
19   * Represents a message structure (dto)
20   * @author nwright
21   */
22  public class MessageStructure {
23  
24      private String id;
25      private String xmlObject;
26      private String shortName;
27      private String name;
28      private String type;
29      private String url;
30      private String description;
31      private String required;
32      private String readOnly;
33      private String cardinality;
34      private String status;
35      private String xmlAttribute;
36      private String implNotes;
37      private boolean overriden;
38      private boolean deprecated;
39      private Lookup lookup;
40      private boolean primaryKey;
41      private String columnName;
42  
43      public String getId() {
44          return id;
45      }
46  
47      public void setId(String id) {
48          this.id = id;
49      }
50  
51      public String getXmlObject() {
52          return xmlObject;
53      }
54  
55      public void setXmlObject(String xmlObject) {
56          this.xmlObject = xmlObject;
57      }
58  
59      public String getShortName() {
60          return shortName;
61      }
62  
63      public void setShortName(String shortName) {
64          this.shortName = shortName;
65      }
66  
67      public String getName() {
68          return name;
69      }
70  
71      public void setName(String name) {
72          this.name = name;
73      }
74  
75      public String getType() {
76          return type;
77      }
78  
79      public void setType(String type) {
80          this.type = type;
81      }
82  
83      public String getUrl() {
84          return url;
85      }
86  
87      public void setUrl(String url) {
88          this.url = url;
89      }
90  
91      public String getDescription() {
92          return description;
93      }
94  
95      public void setDescription(String description) {
96          this.description = description;
97      }
98  
99      public String getRequired() {
100         return required;
101     }
102 
103     public void setRequired(String required) {
104         this.required = required;
105     }
106 
107     public String getReadOnly() {
108         return readOnly;
109     }
110 
111     public void setReadOnly(String readOnly) {
112         this.readOnly = readOnly;
113     }
114 
115     public String getCardinality() {
116         return cardinality;
117     }
118 
119     public void setCardinality(String cardinality) {
120         this.cardinality = cardinality;
121     }
122 
123     public String getXmlAttribute() {
124         return xmlAttribute;
125     }
126 
127     public void setXmlAttribute(String xmlAttribute) {
128         this.xmlAttribute = xmlAttribute;
129     }
130 
131     public String getStatus() {
132         return status;
133     }
134 
135     public void setStatus(String status) {
136         this.status = status;
137     }
138 
139     public String getImplNotes() {
140         return implNotes;
141     }
142 
143     public void setImplNotes(String implNotes) {
144         this.implNotes = implNotes;
145     }
146 
147     public boolean isOverriden() {
148         return overriden;
149     }
150 
151     public void setOverriden(boolean overriden) {
152         this.overriden = overriden;
153     }
154 
155     public boolean isDeprecated() {
156         return deprecated;
157     }
158 
159     public void setDeprecated(boolean deprecated) {
160         this.deprecated = deprecated;
161     }
162 
163     public Lookup getLookup() {
164         return lookup;
165     }
166 
167     public void setLookup(Lookup lookup) {
168         this.lookup = lookup;
169     }
170 
171     public boolean isPrimaryKey() {
172         return primaryKey;
173     }
174 
175     public void setPrimaryKey(boolean primaryKey) {
176         this.primaryKey = primaryKey;
177     }
178 
179     public String getColumnName() {
180         return columnName;
181     }
182 
183     public void setColumnName(String columnName) {
184         this.columnName = columnName;
185     }
186 
187     @Override
188     public String toString() {
189         return "MessageStructure [xmlObject=" + xmlObject + "]";
190     }
191 
192     public String toExpandedString() {
193         return "MessageStructure{" +
194                 "id='" + id + '\'' +
195                 ", xmlObject='" + xmlObject + '\'' +
196                 ", shortName='" + shortName + '\'' +
197                 ", name='" + name + '\'' +
198                 ", type='" + type + '\'' +
199                 ", url='" + url + '\'' +
200                 // ", description='" + description + '\'' +
201                 ", required='" + required + '\'' +
202                 ", readOnly='" + readOnly + '\'' +
203                 ", cardinality='" + cardinality + '\'' +
204                 ", status='" + status + '\'' +
205                 ", xmlAttribute='" + xmlAttribute + '\'' +
206                 ", implNotes='" + implNotes + '\'' +
207                 ", overriden=" + overriden +
208                 ", deprecated=" + deprecated +
209                 ", lookup=" + lookup +
210                 ", primaryKey=" + primaryKey +
211                 '}';
212     }
213 }