psdi.app.location

Class FldStoreroomParent

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldStoreroomParent
    extends MAXTableDomain
    Field validation class for the storeroom parent field. It checks to make sure the entry is a storeroom that exists and is not the current storeroom, then check to make sure there is not a storeroom loop, i.e. that the storeroom entered does not have this storeroom as a parent storeroom.
    • Constructor Detail

      • FldStoreroomParent

        public FldStoreroomParent(MboValue mbv)
                           throws MXException,
                                  java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • getList

        public MboSetRemote getList()
                             throws MXException,
                                    java.rmi.RemoteException
        List returned has existing persons Flag to indicate whether this mbo is zombie or not. A zombie mbo is created for the purpose of QBE and does not really have any data associated with it.
        Specified by:
        getList in interface MboValueListener
        Overrides:
        getList in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Description copied from class: MAXTableDomain
        Validate that the MboSet returned used using either the relationship, or the where clause is not empty. If it is empty, throw an MXAPPLICATIONEXception. If there are attributes as part of the foreign key that don't allow null when this attribute is set, exception will be thrown if the value is empty.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • setValueFromLookup

        public void setValueFromLookup(MboRemote sourceMbo,
                                       long accessModifier)
                                throws MXException,
                                       java.rmi.RemoteException
        Description copied from class: MAXTableDomain
        Set the value of the field and other fields which are part of the forein key from the sourceMbo to the Mbo that this mbo value belongs to. Which attribute to set from the lookup mbo to the target mbo is defined by setLookupKeyMapInOrder() method or the algorithm implmented in getMatchingAttrs().
        Overrides:
        setValueFromLookup in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        #getMatchingAttrs(), #setLookupKeyMapInOrder()