psdi.plusc.app.pluscds

Class PlusCFldDSUncertNumberFormatting

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class PlusCFldDSUncertNumberFormatting
    extends MboValueAdapter
    Field class that converts between internationalized and internal numeric values. Some of this code is adapted from PlusCFldDsInternationalization, simplified.
    • Constructor Detail

      • PlusCFldDSUncertNumberFormatting

        public PlusCFldDSUncertNumberFormatting()
        Instantiates a new plus c fld ds uncert number formatting.
      • PlusCFldDSUncertNumberFormatting

        public PlusCFldDSUncertNumberFormatting(MboValue mbv)
        Instantiates a new plus c fld ds uncert number formatting.
        Parameters:
        mbv - the mbv
    • Method Detail

      • isDynamicCheck

        protected boolean isDynamicCheck()
                                  throws java.rmi.RemoteException,
                                         MXException
        Determines whether this field's MBO is a Dynamic Check (in a Work Order).
        Returns:
        otherwise
        Throws:
        java.rmi.RemoteException - the remote exception
        MXException - the mX exception
      • checkTypeFormat

        public java.lang.String checkTypeFormat(java.lang.String fieldName,
                                                java.lang.String value,
                                                java.util.Locale locale)
                                         throws java.rmi.RemoteException,
                                                MXException
        Check the field name and format its decimal places according to the minOutput and minInput resolution.
        Parameters:
        fieldName - the field name
        value - the value
        locale - the locale
        Returns:
        the string
        Throws:
        java.rmi.RemoteException - the remote exception
        MXException - the mX exception