com.ibm.tivoli.maximo.iotservices.mapper

Class IotResourceProcessor

    • Field Detail

      • mapper

        public java.util.HashMap mapper
    • Constructor Detail

      • IotResourceProcessor

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

      • getResourceMeter

        public java.lang.String getResourceMeter(java.lang.String maximoMeter)
      • processResource

        public com.ibm.json.java.JSONArtifact processResource(JSONResourceInfo resourceInfo,
                                                              MboRemote owner,
                                                              UserInfo userInfo,
                                                              int pageSize,
                                                              int currentPage,
                                                              JSONAnalyzer jsonAnalyzer)
                                                       throws MXException,
                                                              java.rmi.RemoteException
        Description copied from class: HistorianProcessor
        This is the method that the federated mbos will be fetched from the json resource, and merged into the target mboset.
        Overrides:
        processResource in class HistorianProcessor
        Parameters:
        resourceInfo - The json resource's info object
        Returns:
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • dateString

        public java.lang.String dateString(java.util.Date date,
                                           java.lang.String timezone,
                                           java.lang.String dateFormat)
      • getMappedMeter

        public java.lang.String getMappedMeter(java.lang.String maximoMeter)
      • mapReadings

        public com.ibm.json.java.JSONObject mapReadings(com.ibm.json.java.JSONObject jo,
                                                        MboRemote owner)
                                                 throws MXException,
                                                        java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException