psdi.app.failure

Class FailureCode

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


    public class FailureCode
    extends Mbo
    implements FailureCodeRemote
    MBO to represent FailureCode object. See Failure Package description for detail.

    This object is a organization level object.

    The key attributes for this object are OrgID and FailureCode.

    The attributes in this object are as follows:

    Attribute NameDescription
    DescriptionShort description for this failure. Long description enabled.
    FailureCodeThe identifier for this failure.
    LdKeyLong Description Key. This is a link to text stored in the LongDescription table.
    OrgIdIdentifier of the organization for this failure.
    • Constructor Detail

      • FailureCode

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

      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        Checks if this failurecode can be deleted. Can not delete failure code if it used in any failurelist, Work Order, Asset, Locoper, Failurereport objects.
        Overrides:
        canDelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException