psdi.app.assetcatalog

Class FldClassSpecUseWithDefaultNumValue

    • Method Detail

      • smartFill

        public MboSetRemote smartFill(java.lang.String value,
                                      boolean exact)
                               throws MXException,
                                      java.rmi.RemoteException
        07-16259:If there is no domainid specified in the CLASSSPEC object, do not validate the entry and smartFill should not be in effect.
        Specified by:
        smartFill in interface MboValueListener
        Overrides:
        smartFill in class MAXTableDomain
        Parameters:
        value - the value the ther has entered in this field.
        exact - whether the list is retrieved use exact qbe.
        Throws:
        MXException
        java.rmi.RemoteException
      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        08-22576: copy the logic from 08-10874 but cannot extend it. validate if the entered alnvalue exists in the domain - ALNDOMAINVALUE if a domain has been specified.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • overrideScale

        public void overrideScale()
                           throws MXException,
                                  java.rmi.RemoteException
        08-22576: copy the logic from 08-10874 but cannot extend it:The scale for numvalue is 10 out of box. When number 1 is entered, it displays 1.0000000000. Not practical.
        Throws:
        MXException
        java.rmi.RemoteException
      • overrideScaleFromDomain

        public void overrideScaleFromDomain(java.lang.String domainid)
                                     throws MXException,
                                            java.rmi.RemoteException
        08-22576: copy the logic from 08-10874 but cannot extend it:08-10874: if the attribute has an associated domain, use the domain type, length, and scale.
        Parameters:
        domainid -
        Throws:
        MXException
        java.rmi.RemoteException
      • numberOfDecialPlaces

        public int numberOfDecialPlaces()
                                 throws MXException,
                                        java.rmi.RemoteException
        08-22576: copy the logic from 08-10874 but cannot extend it:08-10874: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
        08-22576: copy the logic from 08-10874 but cannot extend it:08-10874: Takesa String and parse it into a Number
        Parameters:
        val -
        Returns:
        Throws:
        MXException