| java.lang.Object org.jaffa.metadata.FieldMetaData org.jaffa.metadata.CurrencyFieldMetaData
CurrencyFieldMetaData | public class CurrencyFieldMetaData extends FieldMetaData (Code) | | An instance of this class will hold meta information for a Currency field.
|
Method Summary | |
public Object | clone() Returns a clone of the object. | public int | compareTo(Object obj) Compares this object with another CurrencyFieldMetaData object.
Note: this class has a natural ordering that is inconsistent with equals
Parameters: obj - the other CurrencyFieldMetaData object. | public boolean | equals(Object obj) Compares this object with another CurrencyFieldMetaData object.
Returns a true if both the objects have the same properties.
Parameters: obj - the other CurrencyFieldMetaData object. | public static String | getCurrencyFormat() | public Integer | getFracSize() Getter for property fracSize. | public Integer | getIntSize() Getter for property intSize. | public String | getLayout() Getter for property layout. | public Currency | getMaxValue() Getter for property maxValue. | public Currency | getMinValue() Getter for property minValue. | public int | getWidth() Getter for property width. | public int | hashCode() Returns the hash code. | public String | toString() Returns the diagnostic information. |
DEFAULT_FRAC_SIZE | final public static int DEFAULT_FRAC_SIZE(Code) | | Default Fraction Size.
|
DEFAULT_INT_SIZE | final public static int DEFAULT_INT_SIZE(Code) | | Default Integer Size.
|
DEFAULT_WIDTH | final public static int DEFAULT_WIDTH(Code) | | Default width.
|
CurrencyFieldMetaData | public CurrencyFieldMetaData()(Code) | | Creates an instance.
|
CurrencyFieldMetaData | public CurrencyFieldMetaData(String name, String labelToken, Boolean isMandatory, String layout, Currency minValue, Currency maxValue, Integer intSize, Integer fracSize)(Code) | | Creates an instance.
Parameters: name - The field name. Parameters: labelToken - The token used for displaying labels. Parameters: isMandatory - Indicates if the field is mandatory. Parameters: layout - The layout. Parameters: minValue - The minimum value. Parameters: maxValue - The maximum value. Parameters: intSize - The maximum number of significant digits. Parameters: fracSize - The maximum number of fractional digits. |
clone | public Object clone()(Code) | | Returns a clone of the object.
a clone of the object. |
compareTo | public int compareTo(Object obj)(Code) | | Compares this object with another CurrencyFieldMetaData object.
Note: this class has a natural ordering that is inconsistent with equals
Parameters: obj - the other CurrencyFieldMetaData object. a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. |
equals | public boolean equals(Object obj)(Code) | | Compares this object with another CurrencyFieldMetaData object.
Returns a true if both the objects have the same properties.
Parameters: obj - the other CurrencyFieldMetaData object. a true if both the objects have the same properties. |
getCurrencyFormat | public static String getCurrencyFormat()(Code) | | |
getFracSize | public Integer getFracSize()(Code) | | Getter for property fracSize.
Value of property fracSize. |
getIntSize | public Integer getIntSize()(Code) | | Getter for property intSize.
Value of property intSize. |
getLayout | public String getLayout()(Code) | | Getter for property layout.
Value of property layout. |
getMaxValue | public Currency getMaxValue()(Code) | | Getter for property maxValue.
Value of property maxValue. |
getMinValue | public Currency getMinValue()(Code) | | Getter for property minValue.
Value of property minValue. |
getWidth | public int getWidth()(Code) | | Getter for property width.
Value of property width. |
hashCode | public int hashCode()(Code) | | Returns the hash code.
the hash code. |
toString | public String toString()(Code) | | Returns the diagnostic information.
the diagnostic information. |
|
|