psdi.app.item

Class ItemStructSet

    • Field Detail

      • instanceHash

        public static TenantLevelObj instanceHash
        stores the most recent instance attribute values for each MBO in the MBO set as they are set in the setInstance method. The key is based on the itemnum attribute.
      • itemStructsVector

        public static TenantLevelObj itemStructsVector
        Vector to hold the references to ItemStruct instances with itemnum, itemsetid, itemid, instance,parent, orgid
    • Method Detail

      • setInstance

        protected void setInstance()
                            throws MXException,
                                   java.rmi.RemoteException
        sets the instance attribute for this MBO set's current MBO object
        Throws:
        MXException
        java.rmi.RemoteException
      • canAdd

        public void canAdd()
                    throws MXException
        before allowing an ItemStruct to be added, checks to make sure that structure to which this ItemStruct would belong, if it is a kit, has not yet been added to a storeroom.
        Overrides:
        canAdd in class MboSet
        Throws:
        MXException
        See Also:
        Item.canModifyKitStructure()
      • clearItemStructsVector

        public void clearItemStructsVector()
                                    throws MXException,
                                           java.rmi.RemoteException
        Clears all elements in the itemstruct vector
        Specified by:
        clearItemStructsVector in interface ItemStructSetRemote
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.item.ItemStructSet#clearItemStructVector()
      • getItemStructsVector

        public java.util.Vector getItemStructsVector()
                                              throws MXException,
                                                     java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException