psdi.app.pm

Class PMAncestor

  • All Implemented Interfaces:
    java.rmi.Remote, PMAncestorRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class PMAncestor
    extends Mbo
    implements PMAncestorRemote
    Mbo object to represent PMAncestor. See the PM package description for details.

    This is a site level object.

    The key attributes for this object are Ancestor, Pmnum and SiteId.

    The attributes in this object are as follows:

    Attribute NameDescription
    AncestorIdentifier of an Ancestor for a PM record.
    HierarchylevelsIdentifier of the number of hierarchy levels between a PM and an Ancestor PM record.
    OrgIdIdentifier of the organization for this PMAncestor.
    PMNumIdentifier for the Preventive Maintenance record.
    SiteIdIdentifier of the site for the PMAncestor.

    • Constructor Detail

      • PMAncestor

        public PMAncestor(MboSet ms)
                   throws MXException,
                          java.rmi.RemoteException
        Construct the PMAncestor object
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a new PMAncestor object for a PM object.This cannot be called outside a PM object.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException - If there is no owner or owner is not a PM object, then MXApplicationException("PM", "addpmancestor")
        java.rmi.RemoteException - RMI error
        See Also:
        PM.save()