psdi.app.location

Class LocOper

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


    public class LocOper
    extends Mbo
    implements LocOperRemote
    MBO to represent attributes associated with operating locations. See the Location package description for details.

    This is a site level object.

    The key attributes for this object are SiteId and Location.

    The attributes in this object are as follows:

    Attribute NameDescription
    CalNumThe calendar associated with this location.
    Classification Unused attribute. Will be removed in a future release.
    FailureCodeIndentifier of top level failure hierarchy for this location.
    ItemNum Item number for the rotating asset operating at this location. Only item identifiers defined as rotating (items tracked in Inventory as well as by asset numbers) are valid.
    LocationOperating Location Identifier.
    LocPriority Priority for the location. This priority is used to determine the Work Order's priority.
    OrgIdIdentifier of the organization for this location.
    SiteIdIdentifier of the site for this location.
    StatusStatus of this location. Validated against the ValueList table where the value list name is LOCSTAT.
    WarrantyExpDate Date that the manufacturer's warranty expires for this location.
    FLO1 thru FLO10Extra Fields
    See Also:
    Location, LocAncestor, LocSystem, psdi.app.location.LocAuth, LocStatus, LocHierarchy, LocationSpec
    • Constructor Detail

      • LocOper

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

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a new Locoper record when the loctype is "OPERATING" Field defaults are set
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • save

        public void save()
                  throws MXException,
                         java.rmi.RemoteException
        Add a new locstatus record if status is not null and is modified. Sets location, status for the locStatus record to locOper location, status in add method. Sets changeby, changedate to default in add method. Set changedate, memo for the locStatus record. save the locoper object
        Overrides:
        save in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException