psdi.mbo

Class NUMRANGEDomainInfoBase

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


    public class NUMRANGEDomainInfoBase
    extends DomainInfoBase
    Numeric range domain. Allows specification of 1 or more segments of a range and to optionaly specify an increment.
    See Also:
    Serialized Form
    • Constructor Detail

      • NUMRANGEDomainInfoBase

        public NUMRANGEDomainInfoBase(java.lang.String name,
                                      long id)
    • Method Detail

      • addSegment

        public void addSegment(double min,
                               double max,
                               double interval,
                               java.lang.String siteId,
                               java.lang.String orgId)
        Add a segment to the range
        Parameters:
        min -
        max -
        interval -
      • addSegment

        public void addSegment(double min,
                               double max,
                               double interval)
        Add a segment to the range
        Parameters:
        min -
        max -
        interval -
      • getSegments

        public double[][] getSegments(java.lang.Object[] signature)
        Return the segments in an an x by 3 array
        Returns:
        double array
      • getDomainObject

        public MboValueListener getDomainObject(MboValue mbv)
        Return an object that will actually perform the validation
        Parameters:
        MboValue - object
        Returns:
        listner object
      • toString

        public java.lang.String toString()
        Dump the domain info to a string for debugging purposes
        Overrides:
        toString in class DomainInfoBase