psdi.app.measurement

Class PointWO

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


    public class PointWO
    extends Mbo
    implements PointWORemote
    MBO object to represent a link between a measurement point and a work order.

    See Measurement Package description.

    The key attribute for this object is WoNum.

    The attributes in this object are as follows:

    Attribute NameDescription
    DescriptionDescription of this work order. Long description enabled.
    EffectiveDateEffective date of this work order.
    OrgIdOrganization Identifier.
    PointNumIdentifier of the measurement point associated with this work order.
    SiteIdSite Identifier.
    WoNumIdentifier of the work order associated with this measurement point.
    • Constructor Detail

      • PointWO

        public PointWO(MboSet ms)
                throws MXException,
                       java.rmi.RemoteException
        Construct the Point WO object.
        Parameters:
        ms - the PointWO MboSet.
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        A PointWO mbo can only be deleted if the measure point it is being referenced by is deleted.
        Overrides:
        canDelete in class Mbo
        Throws:
        MXApplicationException - NoDeletePointWO when this PointWO has no owner or its owner is not MeasurePointRemote
        MXException
        java.rmi.RemoteException