1 21 package com.jaspersoft.jasperserver.api.metadata.common.domain; 22 23 24 28 public interface DataType extends Resource 29 { 30 31 34 public static final byte TYPE_TEXT = 1; 35 public static final byte TYPE_NUMBER = 2; 36 public static final byte TYPE_DATE = 3; 37 public static final byte TYPE_DATE_TIME = 4; 38 39 40 43 public byte getType(); 44 45 48 public void setType(byte type); 49 50 53 public Integer getMaxLength(); 54 55 58 public void setMaxLength(Integer maxLength); 59 60 63 public Integer getDecimals(); 64 65 68 public void setDecimals(Integer decimals); 69 70 73 public String getRegularExpr(); 74 75 78 public void setRegularExpr(String regExp); 79 80 83 public Comparable getMinValue(); 84 85 88 public void setMinValue(Comparable minValue); 89 90 93 public Comparable getMaxValue(); 94 95 98 public void setMaxValue(Comparable maxValue); 99 100 103 public boolean isStrictMin(); 104 105 108 public void setStrictMin(boolean isStrictMin); 109 110 113 public boolean isStrictMax(); 114 115 118 public void setStrictMax(boolean isStrictMax); 119 120 } 121 | Popular Tags |