psdi.app.dpamswusg

Class DPAMSWUsageRange

  • java.lang.Object
    • Constructor Detail

      • DPAMSWUsageRange

        public DPAMSWUsageRange(MboSet ms)
                         throws MXException,
                                java.rmi.RemoteException
        Construct the DPAMSWUsageRange object
        Parameters:
        ms - Mbo set
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        sets field defaults for a new DPAMSWUsageRange object
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • skipCopyField

        protected boolean skipCopyField(MboValueInfo mvi)
                                 throws java.rmi.RemoteException,
                                        MXException
        Overrides the skipCopyField() in the Mbo. Since this method takes the MboValueInfo as its parameter just check to see if this field needs to be copied or not. If this field does not need to be copied return true. The following is a list of fields that are not copied from the source DPAMSWUsageRange to the target DPAMSWUsageRange.
        1. inputsourceid
        Overrides:
        skipCopyField in class Mbo
        Parameters:
        - - The MboValueInfo object of the MboValue that needs to be copied.
        Returns:
        - True if the field does not need to be copied, otherwise return false.
        Throws:
        java.rmi.RemoteException
        MXException
      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        make sure there are no overlapping ranges
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • save

        public void save()
                  throws MXException,
                         java.rmi.RemoteException
        issue#83268 - (DPAMSWUsage) save() method is called ONLY when there are changes to the DPAMSWUsage set. Therefore, changes to child set of DPAMSWUsage should trigger the parent save validation
        Overrides:
        save in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException