| 1 |  |  | 
            
  
    | 2 |  |  | 
            
  
    | 3 |  |  | 
            
  
    | 4 |  |  | 
            
  
    | 5 |  |  | 
            
  
    | 6 |  |  | 
            
  
    | 7 |  |  | 
            
  
    | 8 |  |  | 
            
  
    | 9 |  |  | 
            
  
    | 10 |  |  | 
            
  
    | 11 |  |  | 
            
  
    | 12 |  |  | 
            
  
    | 13 |  |  | 
            
  
    | 14 |  |  | 
            
  
    | 15 |  |  | 
            
  
    | 16 |  | package org.kuali.student.lum.common.client.lo; | 
            
  
    | 17 |  |  | 
            
  
    | 18 |  |  | 
            
  
    | 19 |  | import java.util.Date; | 
            
  
    | 20 |  |  | 
            
  
    | 21 |  | import org.kuali.student.common.assembly.data.Data; | 
            
  
    | 22 |  | import org.kuali.student.common.assembly.helper.PropertyEnum; | 
            
  
    | 23 |  |  | 
            
  
    | 24 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 30 (30) | Complexity: 14 | Complexity Density: 0.93 |  | 
  
  
    | 25 |  | public class MetaInfoHelper | 
            
  
    | 26 |  | { | 
            
  
    | 27 |  | private static final long serialVersionUID = 1; | 
            
  
    | 28 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 4 (4) | Complexity: 2 | Complexity Density: 1 |  | 
  
  
    | 29 |  | public enum Properties implements PropertyEnum | 
            
  
    | 30 |  | { | 
            
  
    | 31 |  | VERSION_IND ("versionInd"), | 
            
  
    | 32 |  | CREATE_TIME ("createTime"), | 
            
  
    | 33 |  | CREATE_ID ("createId"), | 
            
  
    | 34 |  | UPDATE_TIME ("updateTime"), | 
            
  
    | 35 |  | UPDATE_ID ("updateId"); | 
            
  
    | 36 |  |  | 
            
  
    | 37 |  | private final String key; | 
            
  
    | 38 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 39 | 0 |  private Properties (final String key)... | 
            
  
    | 40 |  | { | 
            
  
    | 41 | 0 | this.key = key; | 
            
  
    | 42 |  | } | 
            
  
    | 43 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 44 | 0 |  @Override... | 
            
  
    | 45 |  | public String getKey () | 
            
  
    | 46 |  | { | 
            
  
    | 47 | 0 | return this.key; | 
            
  
    | 48 |  | } | 
            
  
    | 49 |  | } | 
            
  
    | 50 |  | private Data data; | 
            
  
    | 51 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 52 | 0 |  private MetaInfoHelper (Data data)... | 
            
  
    | 53 |  | { | 
            
  
    | 54 | 0 | this.data = data; | 
            
  
    | 55 |  | } | 
            
  
    | 56 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 5 (5) | Complexity: 2 | Complexity Density: 0.67 |  | 
  
  
    | 57 | 0 |  public static MetaInfoHelper wrap (Data data)... | 
            
  
    | 58 |  | { | 
            
  
    | 59 | 0 | if (data == null) | 
            
  
    | 60 |  | { | 
            
  
    | 61 | 0 | return null; | 
            
  
    | 62 |  | } | 
            
  
    | 63 | 0 | return new MetaInfoHelper (data); | 
            
  
    | 64 |  | } | 
            
  
    | 65 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 66 | 0 |  public Data getData ()... | 
            
  
    | 67 |  | { | 
            
  
    | 68 | 0 | return data; | 
            
  
    | 69 |  | } | 
            
  
    | 70 |  |  | 
            
  
    | 71 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 72 | 0 |  public void setVersionInd (String value)... | 
            
  
    | 73 |  | { | 
            
  
    | 74 | 0 | data.set (Properties.VERSION_IND.getKey (), value); | 
            
  
    | 75 |  | } | 
            
  
    | 76 |  |  | 
            
  
    | 77 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 78 | 0 |  public String getVersionInd ()... | 
            
  
    | 79 |  | { | 
            
  
    | 80 | 0 | return (String) data.get (Properties.VERSION_IND.getKey ()); | 
            
  
    | 81 |  | } | 
            
  
    | 82 |  |  | 
            
  
    | 83 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 84 | 0 |  public void setCreateTime (Date value)... | 
            
  
    | 85 |  | { | 
            
  
    | 86 | 0 | data.set (Properties.CREATE_TIME.getKey (), value); | 
            
  
    | 87 |  | } | 
            
  
    | 88 |  |  | 
            
  
    | 89 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 90 | 0 |  public Date getCreateTime ()... | 
            
  
    | 91 |  | { | 
            
  
    | 92 | 0 | return (Date) data.get (Properties.CREATE_TIME.getKey ()); | 
            
  
    | 93 |  | } | 
            
  
    | 94 |  |  | 
            
  
    | 95 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 96 | 0 |  public void setCreateId (String value)... | 
            
  
    | 97 |  | { | 
            
  
    | 98 | 0 | data.set (Properties.CREATE_ID.getKey (), value); | 
            
  
    | 99 |  | } | 
            
  
    | 100 |  |  | 
            
  
    | 101 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 102 | 0 |  public String getCreateId ()... | 
            
  
    | 103 |  | { | 
            
  
    | 104 | 0 | return (String) data.get (Properties.CREATE_ID.getKey ()); | 
            
  
    | 105 |  | } | 
            
  
    | 106 |  |  | 
            
  
    | 107 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 108 | 0 |  public void setUpdateTime (Date value)... | 
            
  
    | 109 |  | { | 
            
  
    | 110 | 0 | data.set (Properties.UPDATE_TIME.getKey (), value); | 
            
  
    | 111 |  | } | 
            
  
    | 112 |  |  | 
            
  
    | 113 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 114 | 0 |  public Date getUpdateTime ()... | 
            
  
    | 115 |  | { | 
            
  
    | 116 | 0 | return (Date) data.get (Properties.UPDATE_TIME.getKey ()); | 
            
  
    | 117 |  | } | 
            
  
    | 118 |  |  | 
            
  
    | 119 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 120 | 0 |  public void setUpdateId (String value)... | 
            
  
    | 121 |  | { | 
            
  
    | 122 | 0 | data.set (Properties.UPDATE_ID.getKey (), value); | 
            
  
    | 123 |  | } | 
            
  
    | 124 |  |  | 
            
  
    | 125 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 126 | 0 |  public String getUpdateId ()... | 
            
  
    | 127 |  | { | 
            
  
    | 128 | 0 | return (String) data.get (Properties.UPDATE_ID.getKey ()); | 
            
  
    | 129 |  | } | 
            
  
    | 130 |  |  | 
            
  
    | 131 |  | } | 
            
  
    | 132 |  |  |