psdi.app.asset

Class FldAssetParent

    • Constructor Detail

      • FldAssetParent

        public FldAssetParent(MboValue mbv,
                              java.lang.String relationship)
                       throws MXException
        Construct and attach to the mbo value
        Parameters:
        mbv -
        Throws:
        MXException
    • Method Detail

      • setRelationship

        public void setRelationship(java.lang.String relationship)
        sets the relationship to use to get the Asset MBO that represents the parent to the object whose parent attribute is being validated
      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        validate parent,cannot add parent if the parent or the child is a rotating asset in the inventory location.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class FldAssetnum
        Throws:
        MXException - With "asset", "cantBelongToInvLoc".
        java.rmi.RemoteException