psdi.app.workorder

Class FailureRemark

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


    public class FailureRemark
    extends Mbo
    implements FailureRemarkRemote
    Mbo to represent FailureRemark object. See Workorder Package description.

    This is a site level object.

    The key attributes of this object are SiteID and WoNum.

    The attributes in this object are as follows:

    Attribute NameDescription
    DescriptionShort description for this failure report remark. Also accommodates a long description.
    EnterDateRemark entry date.
    LdKeyLong description key. This is a link to text stored in the LongDescription table.
    OrgIdIdentifier of the organization for this failure.
    SiteIdIdentifier of the site for this failure.
    WoNumIdentifier of the work order which this requirement applies.
    • Constructor Detail

      • FailureRemark

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

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Newly created Mbo gets Wonum from owning Mbo and EnterDate is set to the current system time.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • propagateKeyValue

        public void propagateKeyValue(java.lang.String keyName,
                                      java.lang.String keyValue)
                               throws MXException,
                                      java.rmi.RemoteException
        Set value for Wonum.
        Specified by:
        propagateKeyValue in interface MboRemote
        Overrides:
        propagateKeyValue in class Mbo
        Parameters:
        keyName - Should equal "wonum" and "ticketid" or else nothing will be propagated.
        keyValue - The new value of wonum or ticketid.
        Throws:
        MXException
        java.rmi.RemoteException