| 1 |  |   | 
  | 2 |  |   | 
  | 3 |  |   | 
  | 4 |  |   | 
  | 5 |  |   | 
  | 6 |  |   | 
  | 7 |  |   | 
  | 8 |  |   | 
  | 9 |  |   | 
  | 10 |  |   | 
  | 11 |  |   | 
  | 12 |  |   | 
  | 13 |  |   | 
  | 14 |  |   | 
  | 15 |  |   | 
  | 16 |  |  package org.kuali.student.core.assembly.dictionary.old; | 
  | 17 |  |   | 
  | 18 |  |  import java.util.List; | 
  | 19 |  |   | 
  | 20 |  |  import org.kuali.student.core.assembly.data.ConstraintMetadata; | 
  | 21 |  |  import org.kuali.student.core.assembly.data.LookupMetadata; | 
  | 22 |  |   | 
  | 23 |  |   | 
  | 24 |  |   | 
  | 25 |  |   | 
  | 26 |  |   | 
  | 27 |  |   | 
  | 28 |  |   | 
  | 29 |  |   | 
  | 30 |  |   | 
  | 31 |  |   | 
  | 32 |  |   | 
  | 33 |  |  @Deprecated | 
  | 34 | 115 |  public class DataFieldDescriptor {     | 
  | 35 |  |      protected String name; | 
  | 36 |  |       | 
  | 37 |  |      protected String desc; | 
  | 38 |  |       | 
  | 39 |  |      protected String writeAccess; | 
  | 40 |  |       | 
  | 41 | 115 |      private boolean canUnmask = false; | 
  | 42 |  |   | 
  | 43 | 115 |      private boolean canView = true; | 
  | 44 |  |       | 
  | 45 | 115 |      private boolean canEdit = true; | 
  | 46 |  |   | 
  | 47 |  |      protected String permission; | 
  | 48 |  |       | 
  | 49 |  |      protected String dataType; | 
  | 50 |  |       | 
  | 51 |  |      protected Object defaultValue; | 
  | 52 |  |       | 
  | 53 |  |      protected String defaultValuePath; | 
  | 54 |  |   | 
  | 55 |  |      protected boolean onChangeRefreshMetadata; | 
  | 56 |  |       | 
  | 57 |  |      protected String lookupContextPath; | 
  | 58 |  |       | 
  | 59 |  |      protected List<ConstraintMetadata> constraints; | 
  | 60 |  |       | 
  | 61 |  |      protected LookupMetadata initialLookup; | 
  | 62 |  |       | 
  | 63 |  |      protected List<LookupMetadata> additionalLookups;    | 
  | 64 |  |       | 
  | 65 |  |      protected DataObjectStructure dataObjectStructure; | 
  | 66 |  |           | 
  | 67 |  |      public String getName() { | 
  | 68 | 290 |          return name; | 
  | 69 |  |      } | 
  | 70 |  |   | 
  | 71 |  |      public void setName(String name) { | 
  | 72 | 115 |          this.name = name; | 
  | 73 | 115 |      } | 
  | 74 |  |   | 
  | 75 |  |      public String getDesc() { | 
  | 76 | 0 |          return desc; | 
  | 77 |  |      } | 
  | 78 |  |   | 
  | 79 |  |      public void setDesc(String desc) { | 
  | 80 | 0 |          this.desc = desc; | 
  | 81 | 0 |      } | 
  | 82 |  |   | 
  | 83 |  |      public String getWriteAccess() { | 
  | 84 | 145 |          return writeAccess; | 
  | 85 |  |      } | 
  | 86 |  |   | 
  | 87 |  |      public String getPermission() { | 
  | 88 | 0 |          return permission; | 
  | 89 |  |      } | 
  | 90 |  |   | 
  | 91 |  |      public void setPermission(String permission) { | 
  | 92 | 0 |          this.permission = permission; | 
  | 93 | 0 |      } | 
  | 94 |  |       | 
  | 95 |  |      public void setWriteAccess(String writeAccess) { | 
  | 96 | 115 |          this.writeAccess = writeAccess; | 
  | 97 | 115 |      } | 
  | 98 |  |   | 
  | 99 |  |      public String getDataType() { | 
  | 100 | 164 |          return dataType; | 
  | 101 |  |      } | 
  | 102 |  |   | 
  | 103 |  |      public void setDataType(String dataType) { | 
  | 104 | 115 |          this.dataType = dataType; | 
  | 105 | 115 |      } | 
  | 106 |  |   | 
  | 107 |  |      public Object getDefaultValue() { | 
  | 108 | 145 |          return defaultValue; | 
  | 109 |  |      } | 
  | 110 |  |   | 
  | 111 |  |      public void setDefaultValue(Object defaultValue) { | 
  | 112 | 22 |          this.defaultValue = defaultValue; | 
  | 113 | 22 |      } | 
  | 114 |  |   | 
  | 115 |  |      public List<ConstraintMetadata> getConstraints() { | 
  | 116 | 435 |          return constraints; | 
  | 117 |  |      } | 
  | 118 |  |   | 
  | 119 |  |      public void setConstraints(List<ConstraintMetadata> constraints) { | 
  | 120 | 115 |          this.constraints = constraints; | 
  | 121 | 115 |      } | 
  | 122 |  |   | 
  | 123 |  |      public boolean isOnChangeRefreshMetadata() { | 
  | 124 | 0 |          return onChangeRefreshMetadata; | 
  | 125 |  |      } | 
  | 126 |  |   | 
  | 127 |  |      public void setOnChangeRefreshMetadata(boolean onChangeRefreshMetadata) { | 
  | 128 | 115 |          this.onChangeRefreshMetadata = onChangeRefreshMetadata; | 
  | 129 | 115 |      } | 
  | 130 |  |   | 
  | 131 |  |      public String getLookupContextPath() { | 
  | 132 | 145 |          return lookupContextPath; | 
  | 133 |  |      } | 
  | 134 |  |   | 
  | 135 |  |      public void setLookupContextPath(String lookupContextPath) { | 
  | 136 | 8 |          this.lookupContextPath = lookupContextPath; | 
  | 137 | 8 |      } | 
  | 138 |  |   | 
  | 139 |  |      public LookupMetadata getInitialLookup() { | 
  | 140 | 145 |          return initialLookup; | 
  | 141 |  |      } | 
  | 142 |  |   | 
  | 143 |  |      public void setInitialLookup(LookupMetadata initialLookup) { | 
  | 144 | 11 |          this.initialLookup = initialLookup; | 
  | 145 | 11 |      } | 
  | 146 |  |   | 
  | 147 |  |      public List<LookupMetadata> getAdditionalLookups() { | 
  | 148 | 145 |          return additionalLookups; | 
  | 149 |  |      } | 
  | 150 |  |   | 
  | 151 |  |      public String getDefaultValuePath() { | 
  | 152 | 0 |          return defaultValuePath; | 
  | 153 |  |      } | 
  | 154 |  |   | 
  | 155 |  |      public void setDefaultValuePath(String defaultValuePath) { | 
  | 156 | 1 |          this.defaultValuePath = defaultValuePath; | 
  | 157 | 1 |      } | 
  | 158 |  |   | 
  | 159 |  |      public DataObjectStructure getDataObjectStructure() { | 
  | 160 | 184 |          return dataObjectStructure; | 
  | 161 |  |      } | 
  | 162 |  |   | 
  | 163 |  |      public void setDataObjectStructure(DataObjectStructure dataObjectStructure) { | 
  | 164 | 29 |          this.dataObjectStructure = dataObjectStructure; | 
  | 165 | 29 |      } | 
  | 166 |  |   | 
  | 167 |  |      public boolean isCanUnmask() { | 
  | 168 | 145 |          return canUnmask; | 
  | 169 |  |      } | 
  | 170 |  |   | 
  | 171 |  |      public void setCanUnmask(boolean canUnmask) { | 
  | 172 | 0 |          this.canUnmask = canUnmask; | 
  | 173 | 0 |      } | 
  | 174 |  |   | 
  | 175 |  |      public boolean isCanView() { | 
  | 176 | 145 |          return canView; | 
  | 177 |  |      } | 
  | 178 |  |   | 
  | 179 |  |      public void setCanView(boolean canView) { | 
  | 180 | 0 |          this.canView = canView; | 
  | 181 | 0 |      } | 
  | 182 |  |   | 
  | 183 |  |      public boolean isCanEdit() { | 
  | 184 | 145 |          return canEdit; | 
  | 185 |  |      } | 
  | 186 |  |   | 
  | 187 |  |      public void setCanEdit(boolean canEdit) { | 
  | 188 | 0 |          this.canEdit = canEdit; | 
  | 189 | 0 |      } | 
  | 190 |  |   | 
  | 191 |  |      public void setAdditionalLookups(List<LookupMetadata> additionalLookups) { | 
  | 192 | 0 |          this.additionalLookups = additionalLookups; | 
  | 193 | 0 |      } | 
  | 194 |  |  } |