001 /** 002 * Copyright 2004-2013 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.student.contract.model; 017 018 /** 019 * Represents a message structure (dto) 020 * @author nwright 021 */ 022 public class MessageStructure { 023 024 private String id; 025 private String xmlObject; 026 private String shortName; 027 private String name; 028 private String type; 029 private String url; 030 private String description; 031 private String required; 032 private String readOnly; 033 private String cardinality; 034 private String status; 035 private String xmlAttribute; 036 private String implNotes; 037 private boolean overriden; 038 private boolean deprecated; 039 private Lookup lookup; 040 private boolean primaryKey; 041 042 public String getId() { 043 return id; 044 } 045 046 public void setId(String id) { 047 this.id = id; 048 } 049 050 public String getXmlObject() { 051 return xmlObject; 052 } 053 054 public void setXmlObject(String xmlObject) { 055 this.xmlObject = xmlObject; 056 } 057 058 public String getShortName() { 059 return shortName; 060 } 061 062 public void setShortName(String shortName) { 063 this.shortName = shortName; 064 } 065 066 public String getName() { 067 return name; 068 } 069 070 public void setName(String name) { 071 this.name = name; 072 } 073 074 public String getType() { 075 return type; 076 } 077 078 public void setType(String type) { 079 this.type = type; 080 } 081 082 public String getUrl() { 083 return url; 084 } 085 086 public void setUrl(String url) { 087 this.url = url; 088 } 089 090 public String getDescription() { 091 return description; 092 } 093 094 public void setDescription(String description) { 095 this.description = description; 096 } 097 098 public String getRequired() { 099 return required; 100 } 101 102 public void setRequired(String required) { 103 this.required = required; 104 } 105 106 public String getReadOnly() { 107 return readOnly; 108 } 109 110 public void setReadOnly(String readOnly) { 111 this.readOnly = readOnly; 112 } 113 114 public String getCardinality() { 115 return cardinality; 116 } 117 118 public void setCardinality(String cardinality) { 119 this.cardinality = cardinality; 120 } 121 122 public String getXmlAttribute() { 123 return xmlAttribute; 124 } 125 126 public void setXmlAttribute(String xmlAttribute) { 127 this.xmlAttribute = xmlAttribute; 128 } 129 130 public String getStatus() { 131 return status; 132 } 133 134 public void setStatus(String status) { 135 this.status = status; 136 } 137 138 public String getImplNotes() { 139 return implNotes; 140 } 141 142 public void setImplNotes(String implNotes) { 143 this.implNotes = implNotes; 144 } 145 146 public boolean isOverriden() { 147 return overriden; 148 } 149 150 public void setOverriden(boolean overriden) { 151 this.overriden = overriden; 152 } 153 154 public boolean isDeprecated() { 155 return deprecated; 156 } 157 158 public void setDeprecated(boolean deprecated) { 159 this.deprecated = deprecated; 160 } 161 162 public Lookup getLookup() { 163 return lookup; 164 } 165 166 public void setLookup(Lookup lookup) { 167 this.lookup = lookup; 168 } 169 170 public boolean isPrimaryKey() { 171 return primaryKey; 172 } 173 174 public void setPrimaryKey(boolean primaryKey) { 175 this.primaryKey = primaryKey; 176 } 177 178 @Override 179 public String toString() { 180 return "MessageStructure [xmlObject=" + xmlObject + "]"; 181 } 182 183 public String toExpandedString() { 184 return "MessageStructure{" + 185 "id='" + id + '\'' + 186 ", xmlObject='" + xmlObject + '\'' + 187 ", shortName='" + shortName + '\'' + 188 ", name='" + name + '\'' + 189 ", type='" + type + '\'' + 190 ", url='" + url + '\'' + 191 // ", description='" + description + '\'' + 192 ", required='" + required + '\'' + 193 ", readOnly='" + readOnly + '\'' + 194 ", cardinality='" + cardinality + '\'' + 195 ", status='" + status + '\'' + 196 ", xmlAttribute='" + xmlAttribute + '\'' + 197 ", implNotes='" + implNotes + '\'' + 198 ", overriden=" + overriden + 199 ", deprecated=" + deprecated + 200 ", lookup=" + lookup + 201 ", primaryKey=" + primaryKey + 202 '}'; 203 } 204 }