psdi.app.asset

Class FldSparePartItemnum

    • Constructor Detail

      • FldSparePartItemnum

        public FldSparePartItemnum(MboValue mbv)
                            throws MXException
        Construct and attach to the MboValue.
        Parameters:
        mbv - the MboValue Itemnum field in the SparePart object attach to.
        Throws:
        MXException
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        validates via the superclass validate if and only if the owner of the MBO object to which this MboValue exists is not an Item object. If the object is an Item instance, do not validate. The reason for this is that if the owner is an Item instance, this itemnum exists or is in the process of being added. In the latter case, validation would fail since the Item object is not yet in the database.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class FldItemnum
        Throws:
        MXException
        java.rmi.RemoteException