001 /** 002 * Copyright 2004-2014 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 * Models a cross-object constraint 020 * @author nwright 021 */ 022 public class CrossObjectConstraint { 023 024 public static String IMPLEMENTATION_TYPE_STATE_WHEN = "typeStateWhen"; 025 026 public CrossObjectConstraint() { 027 } 028 private String id; 029 030 /** 031 * Get the value of id 032 * 033 * @return the value of id 034 */ 035 public String getId() { 036 return id; 037 } 038 039 /** 040 * Set the value of id 041 * 042 * @param id new value of id 043 */ 044 public void setId(String id) { 045 this.id = id; 046 } 047 private String implementation; 048 049 /** 050 * Get the value of implementation 051 * 052 * @return the value of implementation 053 */ 054 public String getImplementation() { 055 return implementation; 056 } 057 058 /** 059 * Set the value of implementation 060 * 061 * @param implementation new value of implementation 062 */ 063 public void setImplementation(String implementation) { 064 this.implementation = implementation; 065 } 066 private String dictionaryId; 067 068 /** 069 * Get the value of dictionaryId 070 * 071 * @return the value of dictionaryId 072 */ 073 public String getDictionaryId() { 074 return dictionaryId; 075 } 076 077 /** 078 * Set the value of dictionaryId 079 * 080 * @param dictionaryId new value of dictionaryId 081 */ 082 public void setDictionaryId(String dictionaryId) { 083 this.dictionaryId = dictionaryId; 084 } 085 private String object1; 086 087 /** 088 * Get the value of object1 089 * 090 * @return the value of object1 091 */ 092 public String getObject1() { 093 return object1; 094 } 095 096 /** 097 * Set the value of object1 098 * 099 * @param object1 new value of object1 100 */ 101 public void setObject1(String object1) { 102 this.object1 = object1; 103 } 104 private String type1; 105 106 /** 107 * Get the value of type1 108 * 109 * @return the value of type1 110 */ 111 public String getType1() { 112 return type1; 113 } 114 115 /** 116 * Set the value of type1 117 * 118 * @param type1 new value of type1 119 */ 120 public void setType1(String type1) { 121 this.type1 = type1; 122 } 123 private String state1; 124 125 /** 126 * Get the value of state1 127 * 128 * @return the value of state1 129 */ 130 public String getState1() { 131 return state1; 132 } 133 134 /** 135 * Set the value of state1 136 * 137 * @param state1 new value of state1 138 */ 139 public void setState1(String state1) { 140 this.state1 = state1; 141 } 142 private String relationType; 143 144 /** 145 * Get the value of relationType 146 * 147 * @return the value of relationType 148 */ 149 public String getRelationType() { 150 return relationType; 151 } 152 153 /** 154 * Set the value of relationType 155 * 156 * @param relationType new value of relationType 157 */ 158 public void setRelationType(String relationType) { 159 this.relationType = relationType; 160 } 161 private String cardinalityType; 162 163 /** 164 * Get the value of cardinalityType 165 * 166 * @return the value of cardinalityType 167 */ 168 public String getCardinalityType() { 169 return cardinalityType; 170 } 171 172 /** 173 * Set the value of cardinalityType 174 * 175 * @param cardinalityType new value of cardinalityType 176 */ 177 public void setCardinalityType(String cardinalityType) { 178 this.cardinalityType = cardinalityType; 179 } 180 private String object2; 181 182 /** 183 * Get the value of object2 184 * 185 * @return the value of object2 186 */ 187 public String getObject2() { 188 return object2; 189 } 190 191 /** 192 * Set the value of object2 193 * 194 * @param object2 new value of object2 195 */ 196 public void setObject2(String object2) { 197 this.object2 = object2; 198 } 199 private String type2; 200 201 /** 202 * Get the value of type2 203 * 204 * @return the value of type2 205 */ 206 public String getType2() { 207 return type2; 208 } 209 210 /** 211 * Set the value of type2 212 * 213 * @param type2 new value of type2 214 */ 215 public void setType2(String type2) { 216 this.type2 = type2; 217 } 218 private String state2; 219 220 /** 221 * Get the value of state2 222 * 223 * @return the value of state2 224 */ 225 public String getState2() { 226 return state2; 227 } 228 229 /** 230 * Set the value of state2 231 * 232 * @param state2 new value of state2 233 */ 234 public void setState2(String state2) { 235 this.state2 = state2; 236 } 237 private String desc; 238 239 /** 240 * Get the value of desc 241 * 242 * @return the value of desc 243 */ 244 public String getDesc() { 245 return desc; 246 } 247 248 /** 249 * Set the value of desc 250 * 251 * @param desc new value of desc 252 */ 253 public void setDesc(String desc) { 254 this.desc = desc; 255 } 256 private String comments; 257 258 /** 259 * Get the value of comments 260 * 261 * @return the value of comments 262 */ 263 public String getComments() { 264 return comments; 265 } 266 267 /** 268 * Set the value of comments 269 * 270 * @param comments new value of comments 271 */ 272 public void setComments(String comments) { 273 this.comments = comments; 274 } 275 private String minOccurs; 276 277 /** 278 * Get the value of minOccurs 279 * 280 * @return the value of minOccurs 281 */ 282 public String getMinOccurs() { 283 return minOccurs; 284 } 285 286 /** 287 * Set the value of minOccurs 288 * 289 * @param minOccurs new value of minOccurs 290 */ 291 public void setMinOccurs(String minOccurs) { 292 this.minOccurs = minOccurs; 293 } 294 private String maxOccurs; 295 296 /** 297 * Get the value of maxOccurs 298 * 299 * @return the value of maxOccurs 300 */ 301 public String getMaxOccurs() { 302 return maxOccurs; 303 } 304 305 /** 306 * Set the value of maxOccurs 307 * 308 * @param maxOccurs new value of maxOccurs 309 */ 310 public void setMaxOccurs(String maxOccurs) { 311 this.maxOccurs = maxOccurs; 312 } 313 }