psdi.plusc.app.plusctmplt

Class PlusCFldSpecNumValue

    • Constructor Detail

      • PlusCFldSpecNumValue

        public PlusCFldSpecNumValue(MboValue mbv)
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Description copied from class: MAXTableDomain
        Validate that the MboSet returned used using either the relationship, or the where clause is not empty. If it is empty, throw an MXAPPLICATIONEXception. If there are attributes as part of the foreign key that don't allow null when this attribute is set, exception will be thrown if the value is empty.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • getList

        public MboSetRemote getList()
                             throws MXException,
                                    java.rmi.RemoteException
        12-14130/IV26078: porting FldSpecificationALNValue code - to display only numdomain with the domainid Return the value list from NUMDOMAINVALUE for the domainid if it exists else return an empty set.
        Specified by:
        getList in interface MboValueListener
        Overrides:
        getList in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • initValue

        public void initValue()
                       throws MXException,
                              java.rmi.RemoteException
        IJ28853: override the scale of the numvalue which is scale 10, length 30. value may not be this large and may be filled with 0 for display.
        Specified by:
        initValue in interface MboValueListener
        Overrides:
        initValue in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException
      • overrideScale

        public void overrideScale()
                           throws MXException,
                                  java.rmi.RemoteException
        IJ28853:The scale for numvalue is 10 out of box. When number 1 is entered, it displays 1.0000000000. Not practical. porting logic from FldSpecificationNumValue
        Throws:
        MXException
        java.rmi.RemoteException
      • numberOfDecialPlaces

        public int numberOfDecialPlaces()
                                 throws MXException,
                                        java.rmi.RemoteException
        IJ28853:return the number of decimal places based on the double value entered.
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • parseStringAsNumber

        public java.lang.Number parseStringAsNumber(java.lang.String val)
                                             throws MXException
        IJ28853: Takesa String and parse it into a Number
        Parameters:
        val -
        Returns:
        Throws:
        MXException