| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.metadata.FieldMetaData
org.jaffa.metadata.DecimalFieldMetaData
An instance of this class will hold meta information for a Decimal field.
| Field Summary | |
| static int | DEFAULT_FRAC_SIZEDefault Fraction Size. | 
| static int | DEFAULT_INT_SIZEDefault Integer Size. | 
| static int | DEFAULT_WIDTHDefault width. | 
| Fields inherited from class org.jaffa.metadata.FieldMetaData | 
| LOWER_CASE, MIXED_CASE, UPPER_CASE | 
| Constructor Summary | |
| DecimalFieldMetaData()Creates an instance. | |
| DecimalFieldMetaData(String name,
                                         String labelToken,
                                         Boolean isMandatory,
                                         String layout,
                                         Double minValue,
                                         Double maxValue,
                                         Integer intSize,
                                         Integer fracSize)Creates an instance. | |
| Method Summary | |
|  Object | clone()Returns a clone of the object. | 
|  int | compareTo(Object obj)Compares this object with another DecimalFieldMetaData object. | 
|  boolean | equals(Object obj)Compares this object with another DecimalFieldMetaData object. | 
| static String | getDecimalFormat() | 
|  Integer | getFracSize()Getter for property intSize. | 
|  Integer | getIntSize()Getter for property intSize. | 
|  String | getLayout()Getter for property layout. | 
|  Double | getMaxValue()Getter for property maxValue. | 
|  Double | getMinValue()Getter for property minValue. | 
|  int | getWidth()Getter for property width. | 
|  int | hashCode()Returns the hash code. | 
|  String | toString()Returns the diagnostic information. | 
| Methods inherited from class org.jaffa.metadata.FieldMetaData | 
| getDataType, getLabelToken, getName, isMandatory | 
| Methods inherited from class java.lang.Object | 
| finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
public static final int DEFAULT_WIDTH
public static final int DEFAULT_INT_SIZE
public static final int DEFAULT_FRAC_SIZE
| Constructor Detail | 
public DecimalFieldMetaData()
public DecimalFieldMetaData(String name,
                            String labelToken,
                            Boolean isMandatory,
                            String layout,
                            Double minValue,
                            Double maxValue,
                            Integer intSize,
                            Integer fracSize)
name - The field name.labelToken - The token used for displaying labels.isMandatory - Indicates if the field is mandatory.layout - The layout.minValue - The minimum value.maxValue - The maximum value.intSize - The maximum number of significant digits.fracSize - The maximum number of fractional digits.| Method Detail | 
public String getLayout()
public Double getMinValue()
public Double getMaxValue()
public Integer getIntSize()
public Integer getFracSize()
public Object clone()
clone in class FieldMetaDatapublic int hashCode()
hashCode in class FieldMetaDatapublic boolean equals(Object obj)
equals in class FieldMetaDataobj - the other DecimalFieldMetaData object.
public int compareTo(Object obj)
compareTo in interface ComparablecompareTo in class FieldMetaDataobj - the other DecimalFieldMetaData object.
public String toString()
toString in class FieldMetaDatapublic int getWidth()
getWidth in class FieldMetaDatapublic static String getDecimalFormat()
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||