psdi.util

Class MaxTypeAMOUNT

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class MaxTypeAMOUNT
    extends MaxTypeDECIMAL
    See Also:
    Serialized Form
    • Constructor Detail

      • MaxTypeAMOUNT

        public MaxTypeAMOUNT(java.util.Locale locale,
                             int scale)
        Construct null value of specified type
    • Method Detail

      • setValue

        public void setValue(java.lang.String value)
                      throws MXException
        Set the value to the specified value. Throws Exception if cannot be converted to current type.
        Overrides:
        setValue in class MaxTypeDECIMAL
        Throws:
        MXException
      • setValue

        public void setValue(double value)
                      throws MXException
        Set the value to the specified value. Throws Exception if cannot be converted to current type.
        Overrides:
        setValue in class MaxTypeDECIMAL
        Throws:
        MXException
      • setValue

        public void setValue(float value)
                      throws MXException
        Set the value to the specified value. Throws Exception if cannot be converted to current type.
        Overrides:
        setValue in class MaxTypeFLOAT
        Throws:
        MXException
      • setValue

        public void setValue(int value)
                      throws MXException
        Set the value to the specified value. Throws Exception if cannot be converted to current type.
        Overrides:
        setValue in class MaxTypeFLOAT
        Throws:
        MXException
      • setValue

        public void setValue(long value)
                      throws MXException
        Set the value to the specified value. Throws Exception if cannot be converted to current type.
        Overrides:
        setValue in class MaxTypeDECIMAL
        Throws:
        MXException
      • asLocaleString

        public java.lang.String asLocaleString(java.util.Locale l)
        Return as a locale sensitive string using the default TimeZone and the specified Locale Returns "" if value is null.
        Overrides:
        asLocaleString in class MaxTypeDECIMAL
      • asLocaleString

        public java.lang.String asLocaleString(java.util.Locale l,
                                               java.util.TimeZone tz)
        Return as a locale sensitive string using the specified TimeZone and Locale Returns "" if value is null.
        Overrides:
        asLocaleString in class MaxTypeDECIMAL
      • asLocaleString

        public java.lang.String asLocaleString()
        Return as a locale sensitive string using the default timeZone and locale Returns "" if value is null.
        Overrides:
        asLocaleString in class MaxTypeDECIMAL
      • equals

        public boolean equals(java.lang.Object o)
        Compares two MaxTypes. Two MaxType objects are equal if and only if the values are same.
        Overrides:
        equals in class MaxTypeDECIMAL
      • clone

        public java.lang.Object clone()
        Clone the object.
        Overrides:
        clone in class MaxTypeDECIMAL