psdi.app.system

Class RangeDomSegment

  • java.lang.Object
  • All Implemented Interfaces:
    java.rmi.Remote, RangeDomSegmentRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class RangeDomSegment
    extends Mbo
    implements RangeDomSegmentRemote
    Mbo object to represent RangeDomSegment.

    One of the ways that field validation can be attached to an attribute at a customer site is via domains. The maxsyscolumns2.domainid would be set to a value that exists in the MaxDomain table. If the domain is to include ranges of numeric values, then the domain type will be NUMRANGE (from valuelist DOMTYPE) and each valid range for the domain will be specified in RANGEDOMSEGMENT. A listener is automatically attached to the Mbo instance to perform the appropriate field validations.

    The maxsyscolumns2.domainid is generally for use by customers.

    This is a system level object.

    The key attributes for this object are DomainID and RangeSegment.

    The attributes in this object are as follows:

    Attribute NameDescription
    DomainIDForeign key to MaxDomain.
    RangeMinimumThe minimum valid value in the range.
    RangeMaximumThe maximum valid value in the range.
    RangeIntervalThe difference between each valid value in the range.
    RangeSegmentAn arbitrary unique identifier for a range within the domain.
    See Also:
    NumRangeDomain, NUMRANGEDomainInfo, MaximoDD.loadMboValuesInfo(java.sql.Connection), Mbo.generateMboValueInstance(psdi.mbo.MboValueInfo)
    • Constructor Detail

      • RangeDomSegment

        public RangeDomSegment(MboSet ms)
                        throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a mbo, defaulting the attributes shown below.
        Attribute NameAttribute Value
        DomainIDOwner's DomainID
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException