psdi.iface.masdd

Class MASDDBaseExit

    • Field Detail

      • sendIdOnly

        protected boolean sendIdOnly
    • Constructor Detail

      • MASDDBaseExit

        public MASDDBaseExit()
                      throws MXException,
                             java.rmi.RemoteException
        MAS DD Organization processor to call MAS DD api's to send data out
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • setDataIn

        public StructureData setDataIn(StructureData erData)
                                throws MXException,
                                       java.rmi.RemoteException
        Inbound Processing Class. It will map from MAS DDJSON to Maximo JSON
        Overrides:
        setDataIn in class ExternalExit
        Parameters:
        erData - - Give reference values with external data mapped to MAXIMO format.
        Returns:
        Data after mapping
        Throws:
        MXException - - MAXIMO exception
        java.rmi.RemoteException - - Remote exception
      • mapDDDataIn

        protected void mapDDDataIn(com.ibm.json.java.JSONObject jo)
                            throws MXException,
                                   java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • checkSynonym

        protected void checkSynonym(java.lang.String domainId,
                                    java.lang.String maxValue,
                                    java.lang.String value)
                             throws MXException,
                                    java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • mapLocAssetStatus

        protected java.lang.String mapLocAssetStatus(java.lang.String value)
                                              throws MXException,
                                                     java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • mapMonitorStatus

        protected java.lang.String mapMonitorStatus(java.lang.String status)
                                             throws MXException,
                                                    java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • processDescription

        protected void processDescription(com.ibm.json.java.JSONObject jo,
                                          java.lang.String objectName)
                                   throws MXException,
                                          java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • setDataOut

        public StructureData setDataOut(StructureData irData)
                                 throws MXException,
                                        java.rmi.RemoteException
        Get description in user language
        Overrides:
        setDataOut in class ExternalExit
        Parameters:
        irData - Give reference to Integration Object with pure MAXIMO data.
        Returns:
        Reference to Integration Object with MAXIMO data
        Throws:
        MXException - - MAXIMO exception
        java.rmi.RemoteException - - Remote exception
      • setRouterDataOut

        public void setRouterDataOut(java.util.Map metaData,
                                     com.ibm.json.java.JSONArtifact jo,
                                     com.ibm.research.kitt.sdk.mas.MAS_Model_Builder builder,
                                     boolean isEvent)
                              throws MXException,
                                     java.rmi.RemoteException
        Description copied from interface: MASDDProcessor
        Listener to the Add event.
        Specified by:
        setRouterDataOut in interface MASDDProcessor
        Throws:
        MXException
        java.rmi.RemoteException
      • getLong

        protected java.lang.Long getLong(com.ibm.json.java.JSONObject jo,
                                         java.lang.String attr)
      • getString

        protected java.lang.String getString(com.ibm.json.java.JSONObject jo,
                                             java.lang.String attr)
      • getBoolean

        protected java.lang.Boolean getBoolean(com.ibm.json.java.JSONObject jo,
                                               java.lang.String attr)
      • mapExtraAttributes

        protected void mapExtraAttributes(java.lang.String objectName,
                                          com.ibm.json.java.JSONObject jo,
                                          com.ibm.research.kitt.sdk.mas.MAS_Model_Builder builder)
                                   throws MXException
        Throws:
        MXException