Coverage Report - org.kuali.student.contract.model.State
 
Classes in this File Line Coverage Branch Coverage Complexity
State
0%
0/40
0%
0/2
1.04
 
 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.Date;
 20  
 import java.util.LinkedHashMap;
 21  
 import java.util.Map;
 22  
 
 23  
 /**
 24  
  * Models the state object in the spreadsheet
 25  
  * @author nwright
 26  
  */
 27  
 public class State implements Serializable
 28  
 {
 29  
 
 30  
  public static final String DEFAULT = "(default)";
 31  
  public static final String GROUPING = "Grouping";
 32  
  
 33  
  public State ()
 34  
  {
 35  0
   super ();
 36  0
  }
 37  
 
 38  
  private String xmlTypeState;
 39  
 
 40  
  /**
 41  
   * Get the value of xmlTypeState
 42  
   *
 43  
   * @return the value of xmlTypeState
 44  
   */
 45  
  public String getXmlTypeState ()
 46  
  {
 47  0
   return xmlTypeState;
 48  
  }
 49  
 
 50  
  /**
 51  
   * Set the value of xmlTypeState
 52  
   *
 53  
   * @param objectType new value of xmlTypeState
 54  
   */
 55  
  public void setXmlTypeState (String xmlTypeState)
 56  
  {
 57  0
   this.xmlTypeState = xmlTypeState;
 58  0
  }
 59  
 
 60  
  private String xmlObject;
 61  
 
 62  
  /**
 63  
   * Get the value of xmlObject
 64  
   *
 65  
   * @return the value of xmlObject
 66  
   */
 67  
  public String getXmlObject ()
 68  
  {
 69  0
   return xmlObject;
 70  
  }
 71  
 
 72  
  /**
 73  
   * Set the value of xmlObject
 74  
   *
 75  
   * @param xmlObject new value of xmlObject
 76  
   */
 77  
  public void setXmlObject (String xmlObject)
 78  
  {
 79  0
   this.xmlObject = xmlObject;
 80  0
  }
 81  
 
 82  
  private String xmlObjectDesc;
 83  
 
 84  
  /**
 85  
   * Get the value of xmlObjectDesc
 86  
   *
 87  
   * @return the value of xmlObjectDesc
 88  
   */
 89  
  public String getXmlObjectDesc ()
 90  
  {
 91  0
   return xmlObjectDesc;
 92  
  }
 93  
 
 94  
  /**
 95  
   * Set the value of xmlObjectDesc
 96  
   *
 97  
   * @param xmlObjectDesc new value of xmlObjectDesc
 98  
   */
 99  
  public void setXmlObjectDesc (String xmlObjectDesc)
 100  
  {
 101  0
   this.xmlObjectDesc = xmlObjectDesc;
 102  0
  }
 103  
 
 104  
  private boolean include;
 105  
 
 106  
  /**
 107  
   * Get the value of include
 108  
   *
 109  
   * @return the value of include
 110  
   */
 111  
  public boolean getInclude ()
 112  
  {
 113  0
   return include;
 114  
  }
 115  
 
 116  
  /**
 117  
   * Set the value of include
 118  
   *
 119  
   * @param include new value of include
 120  
   */
 121  
  public void setInclude (boolean include)
 122  
  {
 123  0
   this.include = include;
 124  0
  }
 125  
 
 126  
  private String name;
 127  
 
 128  
  /**
 129  
   * Get the value of name
 130  
   *
 131  
   * @return the value of name
 132  
   */
 133  
  public String getName ()
 134  
  {
 135  0
   return name;
 136  
  }
 137  
 
 138  
  /**
 139  
   * Set the value of name
 140  
   *
 141  
   * @param name new value of name
 142  
   */
 143  
  public void setName (String name)
 144  
  {
 145  0
   this.name = name;
 146  0
  }
 147  
 
 148  
  private String desc;
 149  
 
 150  
  /**
 151  
   * Get the value of desc
 152  
   *
 153  
   * @return the value of desc
 154  
   */
 155  
  public String getDesc ()
 156  
  {
 157  0
   return desc;
 158  
  }
 159  
 
 160  
  /**
 161  
   * Set the value of desc
 162  
   *
 163  
   * @param desc new value of desc
 164  
   */
 165  
  public void setDesc (String desc)
 166  
  {
 167  0
   this.desc = desc;
 168  0
  }
 169  
 
 170  
  private String status;
 171  
 
 172  
  /**
 173  
   * Get the value of status
 174  
   *
 175  
   * @return the value of status
 176  
   */
 177  
  public String getStatus ()
 178  
  {
 179  0
   return status;
 180  
  }
 181  
 
 182  
  /**
 183  
   * Set the value of status
 184  
   *
 185  
   * @param status new value of status
 186  
   */
 187  
  public void setStatus (String status)
 188  
  {
 189  0
   this.status = status;
 190  0
  }
 191  
 
 192  
  private String comments;
 193  
 
 194  
  /**
 195  
   * Get the value of comments
 196  
   *
 197  
   * @return the value of comments
 198  
   */
 199  
  public String getComments ()
 200  
  {
 201  0
   return comments;
 202  
  }
 203  
 
 204  
  /**
 205  
   * Set the value of comments
 206  
   *
 207  
   * @param comments new value of comments
 208  
   */
 209  
  public void setComments (String comments)
 210  
  {
 211  0
   this.comments = comments;
 212  0
  }
 213  
 
 214  
  private Map<String, String> attributes;
 215  
 
 216  
  public Map<String, String> getAttributes ()
 217  
  {
 218  0
   if (attributes == null)
 219  
   {
 220  0
    attributes = new LinkedHashMap ();
 221  
   }
 222  0
   return attributes;
 223  
  }
 224  
 
 225  
  public void setAttributes (Map<String, String> attributes)
 226  
  {
 227  0
   this.attributes = attributes;
 228  0
  }
 229  
 
 230  
   private Date effectiveDate;
 231  
 
 232  
  public Date getEffectiveDate ()
 233  
  {
 234  0
   return effectiveDate;
 235  
  }
 236  
 
 237  
  public void setEffectiveDate (Date effectiveDate)
 238  
  {
 239  0
   this.effectiveDate = effectiveDate;
 240  0
  }
 241  
 
 242  
  private Date expirationDate;
 243  
 
 244  
  public Date getExpirationDate ()
 245  
  {
 246  0
   return expirationDate;
 247  
  }
 248  
 
 249  
  public void setExpirationDate (Date expirationDate)
 250  
  {
 251  0
   this.expirationDate = expirationDate;
 252  0
  }
 253  
 
 254  
  private String stateKey;
 255  
 
 256  
  public String getStateKey ()
 257  
  {
 258  0
   return stateKey;
 259  
  }
 260  
 
 261  
  public void setStateKey (String stateKey)
 262  
  {
 263  0
   this.stateKey = stateKey;
 264  0
  }
 265  
 }