psdi.app.item

Class FldItemStructItemNum

    • Method Detail

      • getList

        public MboSetRemote getList()
                             throws MXException,
                                    java.rmi.RemoteException
        creates the WHERE clause used to provide the list of valid values for FldItemStructItemNum. Valid values when adding a new ItemStruct hierarchy, as is the case when getMboValue().getMbo().toBeAdded() returns true and the ItemStruct.Parent attribute is null, include all itemnums for the current item set identifier, except for those that already exist as top-level ItemStruct hierarchies. Each unique ItemStruct.Itemid represents one and only one ItemStruct hierarchy. Valid values when adding a child within an ItemStruct hierarchy include all itemnums in the current item set.
        Specified by:
        getList in interface MboValueListener
        Overrides:
        getList in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        Sets the instance to be the max(instance) + 1 of the existing ItemStruct.instance. "Instance" is unique for each item ocurrence in the complete ITEMSTRUCT table.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class CrossOverDomain
        Throws:
        MXException
        java.rmi.RemoteException