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