1 64 65 package com.jcorporate.expresso.core.dataobjects; 66 67 import org.apache.oro.text.regex.Pattern; 68 69 import java.util.Iterator ; 70 71 82 83 public interface DataFieldMetaData { 84 85 90 public boolean allowsNull(); 91 92 93 98 public String getDefaultValue(); 99 100 106 public String getDescription(); 107 108 113 public int getLengthInt(); 114 115 120 public String getLookupObject(); 121 122 130 public String getLookupField(); 131 132 139 public String getLookupDefinition(); 140 141 146 public String getName(); 147 148 153 public int getPrecision(); 154 155 161 public String getTypeString(); 162 163 168 public boolean isKey(); 169 170 175 public boolean isMultiValued(); 176 177 182 public boolean isReadOnly(); 183 184 190 public boolean isBooleanType(); 191 192 198 public boolean isCharacterLongObjectType(); 199 200 205 public boolean isLongObjectType(); 206 207 213 public boolean isBinaryObjectType(); 214 215 221 public boolean isLongBinaryType(); 222 223 229 public boolean isLongCharacterType(); 230 231 237 public boolean isQuotedTextType(); 238 239 245 public boolean isNumericType(); 246 247 253 public boolean isDateType(); 254 255 262 public boolean isDateOnlyType(); 263 264 public boolean isFloatingPointType(); 265 266 273 public boolean isTimeType(); 274 275 276 283 public boolean isDateTimeType(); 284 285 290 public boolean isSecret(); 291 292 298 public boolean isHashed(); 299 300 306 public boolean isEncrypted(); 307 308 313 public boolean isVirtual(); 314 315 320 public boolean isMasked(); 321 322 327 public void setKey(boolean newKey); 328 329 338 public void setLookupObject(String objectName); 339 340 349 public void setMultiValued(boolean newMulti); 350 351 358 public void setHashed(boolean newValue); 359 360 366 public void setEncrypted(boolean newValue); 367 368 369 374 public void setDefaultValue(String newValue); 375 376 384 public void setReadOnly(); 385 386 391 public boolean isAutoIncremented(); 392 393 398 public void setSecret(); 399 400 406 public void setVirtual(boolean newVirtual); 407 408 415 public void setMask(Pattern newMask); 416 417 422 public Pattern getMask(); 423 424 429 public void removeAttribute(String attribName); 430 431 437 public void setAttribute(String attribName, Object attribValue); 438 439 440 447 public Object getAttribute(String attribName); 448 449 450 455 public java.util.Set getAllAttributes(); 456 457 463 public Iterator getAttributesIterator(); 464 465 } 466 | Popular Tags |