psdi.iface.app.meterdata

Class MaxMeterDataProcess

    • Constructor Detail

      • MaxMeterDataProcess

        public MaxMeterDataProcess()
                            throws MXException,
                                   java.rmi.RemoteException
        Constructor
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • setAdditionalData

        public void setAdditionalData(MboSetRemote mboSet,
                                      java.lang.String tableName)
                               throws MXException,
                                      java.rmi.RemoteException
        Sets additional data from XML to MBO which was not set through Integration Data Dictionary. This method is called for each Mbo Set in the XML.
        Overrides:
        setAdditionalData in class MosProcessImpl
        Parameters:
        mboSet - The current level MboSet.
        tableName - The MAXIMO table name being processed.
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • checkBusinessRules

        public int checkBusinessRules()
                               throws MXException,
                                      java.rmi.RemoteException
        Set the table to process. Table must be set in this method otherwise the table is set to null.
        Overrides:
        checkBusinessRules in class MosProcessImpl
        Returns:
        PROCESS (means continue to process)
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • createMboSet

        public MboSetRemote createMboSet(boolean primaryMbo,
                                         MboRemote parentMbo,
                                         MosDetailInfo mdi,
                                         java.lang.String processTable)
                                  throws MXException,
                                         java.rmi.RemoteException
        Create mbo set for the correct mbo by using the relationship from the parent mbo. This is required for the all of the METER reading transactions. If a work order is present
        Overrides:
        createMboSet in class MosProcessImpl
        Parameters:
        primaryMbo - Give boolean to specify is it primary table or additional table
        parentMbo - Give reference to parent Mbo.
        mdi - Give MosDetailInfo for the current level.
        processTable - Give name of table to process
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • getWorkOrderMbo

        public MboSetRemote getWorkOrderMbo()
                                     throws MXException,
                                            java.rmi.RemoteException
        Get the work order Mbo to use as the parent mbo for the ASSETMETER mbo or LOCATIONMETER mbo creation.
        Throws:
        MXException - Maximo exception
        java.rmi.RemoteException - Remote exception
      • getPointData

        public void getPointData()
                          throws MXException,
                                 java.rmi.RemoteException
        Get the measurepoint Mbo for the specified POINTNUM and set the location or asset number from the mbo.
        Throws:
        MXException - Maximo exception
        java.rmi.RemoteException - Remote exception