psdi.mbo

Class NUMRANGEDomainInfo

  • All Implemented Interfaces:
    java.io.Serializable


    public class NUMRANGEDomainInfo
    extends NewDomainInfo
    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

      • NUMRANGEDomainInfo

        public NUMRANGEDomainInfo(java.lang.String name)
        Constructs a NUMRANGEDomainInfo object
        Parameters:
        name -
      • NUMRANGEDomainInfo

        public NUMRANGEDomainInfo(long id)
        Constructs a NUMRANGEDomainInfo object
        Parameters:
        name -
    • 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
      • toString

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