psdi.plusc.app.plusctmplt

Class PlusCATMeter

  • java.lang.Object
    • Constructor Detail

      • PlusCATMeter

        public PlusCATMeter(MboSet ms)
                     throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Description copied from class: Mbo
        This is called when a new Mbo is added to the Mboset collection. It is called AFTER user defaults have been set from the data dictionary. Programmer should usually override this to set some defaults. Default behavior is to do nothing.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • getAvgCalcMethod

        public java.lang.String getAvgCalcMethod()
                                          throws MXException,
                                                 java.rmi.RemoteException
        returns the internal translation of the AvgCalcMethod value from the AVERAGEMETHOD domain.
        Specified by:
        getAvgCalcMethod in interface PlusCATMeterRemote
        Returns:
        the avg calc method
        Throws:
        MXException - the mX exception
        java.rmi.RemoteException - the remote exception
      • getMeterType

        public java.lang.String getMeterType()
                                      throws MXException,
                                             java.rmi.RemoteException
        returns the internal, non-translated value for the MeterType attribute.
        Specified by:
        getMeterType in interface PlusCATMeterRemote
        Throws:
        MXException
        java.rmi.RemoteException
      • init

        public void init()
                  throws MXException
        Description copied from class: Mbo
        Called by the framework when the Mbo has been constructed and the MboValues have been initialized. This can be overridden by the programmer to provide any custom initialization they would like to do.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • setTypeSpecificFlags

        public void setTypeSpecificFlags()
                                  throws java.rmi.RemoteException,
                                         MXException
        Sets the specific flags for PlusTATMeter based on Meter type (CONTINUOUS, GAUGE AND CHARACTERISTIC)
        Specified by:
        setTypeSpecificFlags in interface PlusCATMeterRemote
        Parameters:
        continuous -
        gauge -
        characteristic -
        Throws:
        java.rmi.RemoteException
        MXException
      • propagateKeyValue

        public void propagateKeyValue(java.lang.String keyName,
                                      java.lang.String keyValue)
                               throws MXException,
                                      java.rmi.RemoteException
        Description copied from class: Mbo
        Method for propagating key value. Provide an implementation of the method only when the parent's key values need to be propagate down to this MBO which is a child of a MBO set obtained through a relationship from the parent, and only when the key attribute of the parent are not one of the key attributes of the child MBO. When overwrite this method, please don't call super().
        Specified by:
        propagateKeyValue in interface MboRemote
        Overrides:
        propagateKeyValue in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        Description copied from class: Mbo
        Can the object be deleted ? This is object specific and should be overridden.
        Overrides:
        canDelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException