com.ibm.tivoli.maximo.fdmbo.map.app

Class JSONMappingDetail

  • java.lang.Object
    • psdi.mbo.Mbo
      • com.ibm.tivoli.maximo.fdmbo.map.app.JSONMappingDetail
    • Constructor Detail

      • JSONMappingDetail

        public JSONMappingDetail(MboSet ms)
                          throws MXException,
                                 java.rmi.RemoteException
        Constructor
        Parameters:
        ms - The JSONMappingDetail MboSet.
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Default value for some of the fields of the new JSONMappingDetail table.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        validates the MaxIntObjDetail
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException - throws MXException
        java.rmi.RemoteException - throws RemoteException
      • getObjectInfo

        public JSONObjectInfo getObjectInfo()
        Return JSONObjectInfo for detail record.
        Returns:
        JSONObjectInfo
        Throws:
        MXException
        java.rmi.RemoteException
      • setObjectInfo

        public void setObjectInfo(JSONObjectInfo objectInfo)
        Sets JSONObjectInfo for the level.
        Parameters:
        objectInfo - JSONObjectInfo
        Throws:
        MXException
        java.rmi.RemoteException
      • findObjectInfo

        public JSONObjectInfo findObjectInfo(JSONObjectInfo objectInfo,
                                             java.lang.String hpath)
                                      throws MXException,
                                             java.rmi.RemoteException
        Find JSONObjectInfo based on hierarchy path.
        Parameters:
        objectInfo - JSONObjectInfo
        hpath - hierarchy path
        Returns:
        JSONObjectInfo
        Throws:
        MXException
        java.rmi.RemoteException
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        Validate attribute name.
        Overrides:
        canDelete in class Mbo
        Throws:
        MXException - throws MXApplicationException
        java.rmi.RemoteException - throws RemoteException
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        Called when this mbo is being deleted. This method deletes all the corresponding JSONMAPPROPS entries associated with this object
        Specified by:
        delete in interface MboRemote
        Overrides:
        delete in class Mbo
        Parameters:
        accessModifier - the access modifier
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
        See Also:
        Mbo.delete(long)
      • undelete

        public void undelete()
                      throws MXException,
                             java.rmi.RemoteException
        Called when this mbo is being deleted. This method deletes all the corresponding JSONMAPPROPS entries associated with this object
        Specified by:
        undelete in interface MboRemote
        Overrides:
        undelete in class Mbo
        Parameters:
        accessModifier - the access modifier
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • skipCopyField

        protected boolean skipCopyField(MboValueInfo mvi)
                                 throws MXException,
                                        java.rmi.RemoteException
        Over-rides the method in the super class. If the field need not be copied during copy() return true else return false. The following fields are not copied from the source Mbo to the target Mbo.
        • MAPNAME
        Overrides:
        skipCopyField in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • copy

        public MboRemote copy(MboSetRemote mboset)
                       throws MXException,
                              java.rmi.RemoteException
        Over-ride the copy method of the Mbo. This copy would copy all the POCost Mbos related to the POLine.
        Specified by:
        copy in interface MboRemote
        Overrides:
        copy in class Mbo
        Parameters:
        mboset - The set into which the new mbo will be added.
        Returns:
        The new mbo, with values copied from this mbo.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Mbo.copy(MboSetRemote, long)