Coverage Report - org.kuali.student.contract.model.Dictionary
 
Classes in this File Line Coverage Branch Coverage Complexity
Dictionary
0%
0/60
N/A
1
 
 1  
 /*
 2  
  * Copyright 2009 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.osedu.org/licenses/ECL-2.0
 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  
 import java.io.Serializable;
 19  
 import java.util.List;
 20  
 import java.util.Stack;
 21  
 
 22  
 /**
 23  
  * Models a single dictionary entry
 24  
  * @author nwright
 25  
  */
 26  
 public class Dictionary implements Serializable, Cloneable
 27  
 {
 28  
 
 29  
  public Dictionary ()
 30  
  {
 31  0
   super ();
 32  0
  }
 33  
 
 34  
  private String id;
 35  
 
 36  
  /**
 37  
   * Get the value of id
 38  
   *
 39  
   * @return the value of id
 40  
   */
 41  
  public String getId ()
 42  
  {
 43  0
   return id;
 44  
  }
 45  
 
 46  
  /**
 47  
   * Set the value of id
 48  
   *
 49  
   * @param id new value of id
 50  
   */
 51  
  public void setId (String id)
 52  
  {
 53  0
   this.id = id;
 54  0
  }
 55  
 
 56  
  private String type;
 57  
 
 58  
  /**
 59  
   * Get the value of type
 60  
   *
 61  
   * @return the value of type
 62  
   */
 63  
  public String getType ()
 64  
  {
 65  0
   return type;
 66  
  }
 67  
 
 68  
  /**
 69  
   * Set the value of type
 70  
   *
 71  
   * @param type new value of type
 72  
   */
 73  
  public void setType (String type)
 74  
  {
 75  0
   this.type = type;
 76  0
  }
 77  
 
 78  
 
 79  
  private String state;
 80  
 
 81  
  /**
 82  
   * Get the value of state
 83  
   *
 84  
   * @return the value of state
 85  
   */
 86  
  public String getState ()
 87  
  {
 88  0
   return state;
 89  
  }
 90  
 
 91  
  /**
 92  
   * Set the value of state
 93  
   *
 94  
   * @param state new value of state
 95  
   */
 96  
  public void setState (String state)
 97  
  {
 98  0
   this.state = state;
 99  0
  }
 100  
 
 101  
  private Dictionary parent;
 102  
 
 103  
  public Dictionary getParent ()
 104  
  {
 105  0
   return parent;
 106  
  }
 107  
 
 108  
  public void setParent (Dictionary parent)
 109  
  {
 110  0
   this.parent = parent;
 111  0
  }
 112  
 
 113  
 
 114  
  private String subType;
 115  
 
 116  
  /**
 117  
   * Get the value of subType
 118  
   *
 119  
   * @return the value of subType
 120  
   */
 121  
  public String getSubType ()
 122  
  {
 123  0
   return subType;
 124  
  }
 125  
 
 126  
  /**
 127  
   * Set the value of subType
 128  
   *
 129  
   * @param subType new value of subType
 130  
   */
 131  
  public void setSubType (String subType)
 132  
  {
 133  0
   this.subType = subType;
 134  0
  }
 135  
 
 136  
  private String subState;
 137  
 
 138  
  /**
 139  
   * Get the value of subState
 140  
   *
 141  
   * @return the value of subState
 142  
   */
 143  
  public String getSubState ()
 144  
  {
 145  0
   return subState;
 146  
  }
 147  
 
 148  
  /**
 149  
   * Set the value of subState
 150  
   *
 151  
   * @param subState new value of subState
 152  
   */
 153  
  public void setSubState (String subState)
 154  
  {
 155  0
   this.subState = subState;
 156  0
  }
 157  
 
 158  
  private String xmlObject;
 159  
 
 160  
  /**
 161  
   * Get the value of xmlObject
 162  
   *
 163  
   * @return the value of xmlObject
 164  
   */
 165  
  public String getXmlObject ()
 166  
  {
 167  0
   return xmlObject;
 168  
  }
 169  
 
 170  
  /**
 171  
   * Set the value of xmlObject
 172  
   *
 173  
   * @param xmlObject new value of xmlObject
 174  
   */
 175  
  public void setXmlObject (String xmlObject)
 176  
  {
 177  0
   this.xmlObject = xmlObject;
 178  0
  }
 179  
 
 180  
  private String shortName;
 181  
 
 182  
  /**
 183  
   * Get the value of shortName
 184  
   *
 185  
   * @return the value of shortName
 186  
   */
 187  
  public String getShortName ()
 188  
  {
 189  0
   return shortName;
 190  
  }
 191  
 
 192  
  /**
 193  
   * Set the value of shortName
 194  
   *
 195  
   * @param shortName new value of shortName
 196  
   */
 197  
  public void setShortName (String shortName)
 198  
  {
 199  0
   this.shortName = shortName;
 200  0
  }
 201  
 
 202  
  private String primitive;
 203  
 
 204  
  /**
 205  
   * Get the value of primitive
 206  
   *
 207  
   * @return the value of primitive
 208  
   */
 209  
  public String getPrimitive ()
 210  
  {
 211  0
   return primitive;
 212  
  }
 213  
 
 214  
  /**
 215  
   * Set the value of primitive
 216  
   *
 217  
   * @param primitive new value of primitive
 218  
   */
 219  
  public void setPrimitive (String primitive)
 220  
  {
 221  0
   this.primitive = primitive;
 222  0
  }
 223  
 
 224  
  private String baseConstraintDescription;
 225  
 
 226  
  /**
 227  
   * Get the value of baseConstraintDescription
 228  
   *
 229  
   * @return the value of baseConstraintDescription
 230  
   */
 231  
  public String getBaseConstraintDescription ()
 232  
  {
 233  0
   return baseConstraintDescription;
 234  
  }
 235  
 
 236  
  /**
 237  
   * Set the value of baseConstraintDescription
 238  
   *
 239  
   * @param baseConstraintDescription new value of baseConstraintDescription
 240  
   */
 241  
  public void setBaseConstraintDescription (String baseConstraintDescription)
 242  
  {
 243  0
   this.baseConstraintDescription = baseConstraintDescription;
 244  0
  }
 245  
 
 246  
  private String name;
 247  
 
 248  
  /**
 249  
   * Get the value of name
 250  
   *
 251  
   * @return the value of name
 252  
   */
 253  
  public String getName ()
 254  
  {
 255  0
   return name;
 256  
  }
 257  
 
 258  
  /**
 259  
   * Set the value of name
 260  
   *
 261  
   * @param name new value of name
 262  
   */
 263  
  public void setName (String name)
 264  
  {
 265  0
   this.name = name;
 266  0
  }
 267  
 
 268  
  public String desc;
 269  
 
 270  
  /**
 271  
   * Get the value of desc
 272  
   *
 273  
   * @return the value of desc
 274  
   */
 275  
  public String getDesc ()
 276  
  {
 277  0
   return desc;
 278  
  }
 279  
 
 280  
  /**
 281  
   * Set the value of desc
 282  
   *
 283  
   * @param desc new value of desc
 284  
   */
 285  
  public void setDesc (String desc)
 286  
  {
 287  0
   this.desc = desc;
 288  0
  }
 289  
 
 290  
 
 291  
  private boolean selector;
 292  
 
 293  
  /**
 294  
   * Get the value of selector
 295  
   *
 296  
   * @return the value of selector
 297  
   */
 298  
  public boolean isSelector ()
 299  
  {
 300  0
   return selector;
 301  
  }
 302  
 
 303  
  /**
 304  
   * Set the value of selector
 305  
   *
 306  
   * @param selector new value of selector
 307  
   */
 308  
  public void setSelector (boolean selector)
 309  
  {
 310  0
   this.selector = selector;
 311  0
  }
 312  
 
 313  
 
 314  
  private boolean dynamic;
 315  
 
 316  
  public boolean isDynamic ()
 317  
  {
 318  0
   return dynamic;
 319  
  }
 320  
 
 321  
  public void setDynamic (boolean dynamic)
 322  
  {
 323  0
   this.dynamic = dynamic;
 324  0
  }
 325  
 
 326  
 
 327  
  private String comments;
 328  
 
 329  
  /**
 330  
   * Get the value of comments
 331  
   *
 332  
   * @return the value of comments
 333  
   */
 334  
  public String getComments ()
 335  
  {
 336  0
   return comments;
 337  
  }
 338  
 
 339  
  /**
 340  
   * Set the value of comments
 341  
   *
 342  
   * @param comments new value of comments
 343  
   */
 344  
  public void setComments (String comments)
 345  
  {
 346  0
   this.comments = comments;
 347  0
  }
 348  
 
 349  
  protected List<String> additionalConstraintIds;
 350  
 
 351  
  /**
 352  
   * Get the value of additionalConstraintIds
 353  
   *
 354  
   * @return the value of additionalConstraintIds
 355  
   */
 356  
  public List<String> getAdditionalConstraintIds ()
 357  
  {
 358  0
   return additionalConstraintIds;
 359  
  }
 360  
 
 361  
  /**
 362  
   * Set the value of additionalConstraintIds
 363  
   *
 364  
   * @param additionalConstraintIds new value of additionalConstraintIds
 365  
   */
 366  
  public void setAdditionalConstraintIds (List<String> additionalConstraintIds)
 367  
  {
 368  0
   this.additionalConstraintIds = additionalConstraintIds;
 369  0
  }
 370  
 
 371  
  protected String additionalConstraintDescription;
 372  
 
 373  
  /**
 374  
   * Get the value of additionalConstraintDescription
 375  
   *
 376  
   * @return the value of additionalConstraintDescription
 377  
   */
 378  
  public String getAdditionalConstraintDescription ()
 379  
  {
 380  0
   return additionalConstraintDescription;
 381  
  }
 382  
 
 383  
  /**
 384  
   * Set the value of additionalConstraintDescription
 385  
   *
 386  
   * @param additionalConstraintDescription new value of additionalConstraintDescription
 387  
   */
 388  
  public void setAdditionalConstraintDescription (
 389  
   String additionalConstraintDescription)
 390  
  {
 391  0
   this.additionalConstraintDescription = additionalConstraintDescription;
 392  0
  }
 393  
 
 394  
  protected String combinedConstraintDescription;
 395  
 
 396  
  /**
 397  
   * Get the value of combinedConstraintDescription
 398  
   *
 399  
   * @return the value of combinedConstraintDescription
 400  
   */
 401  
  public String getCombinedConstraintDescription ()
 402  
  {
 403  0
   return combinedConstraintDescription;
 404  
  }
 405  
 
 406  
  /**
 407  
   * Set the value of combinedConstraintDescription
 408  
   *
 409  
   * @param combinedConstraintDescription new value of combinedConstraintDescription
 410  
   */
 411  
  public void setCombinedConstraintDescription (
 412  
   String combinedConstraintDescription)
 413  
  {
 414  0
   this.combinedConstraintDescription = combinedConstraintDescription;
 415  0
  }
 416  
 
 417  
  private Constraint inlineConstraint;
 418  
 
 419  
  /**
 420  
   * Get the value of inlineConstraint
 421  
   *
 422  
   * @return the value of inlineConstraint
 423  
   */
 424  
  public Constraint getInlineConstraint ()
 425  
  {
 426  0
   return inlineConstraint;
 427  
  }
 428  
 
 429  
  /**
 430  
   * Set the value of inlineConstraint
 431  
   *
 432  
   * @param inlineConstraint new value of inlineConstraint
 433  
   */
 434  
  public void setInlineConstraint (Constraint inlineConstraint)
 435  
  {
 436  0
   this.inlineConstraint = inlineConstraint;
 437  0
  }
 438  
 
 439  
  @Override
 440  
  public Object clone ()
 441  
   throws CloneNotSupportedException
 442  
  {
 443  0
   return super.clone ();
 444  
  }
 445  
 
 446  
 }