psdi.mbo

Class NumRangeDomain

  • All Implemented Interfaces:
    MboConstants, MboValueListener
    Direct Known Subclasses:
    FldBatchSize


    public class NumRangeDomain
    extends BasicDomain
    Range checking validation. Range consists of array of segments. Each segment has an array of three values. Value 0 is the lower limit, value 1 is upper limit and value 2 is the increment between values.
    • Constructor Detail

      • NumRangeDomain

        public NumRangeDomain(MboValue mbv)
        Construct passing in the field to which it is listening
    • Method Detail

      • chooseActualDomainValues

        public void chooseActualDomainValues()
                                      throws MXException,
                                             java.rmi.RemoteException
        Choose the numrangedomain record specific for this site or org, or further up if no specific value is set.
        Overrides:
        chooseActualDomainValues in class BasicDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • setErrorMessage

        public void setErrorMessage(java.lang.String eg,
                                    java.lang.String ek)
        Set the error group and key to be used if there is a validation error If not set, a default message will be used.
        Parameters:
        error - group
        error - key
      • setRange

        public void setRange(double[][] range)
        Set the valid range
        Parameters:
        range -
      • getRange

        public double[][] getRange()
        Get the valid range