psdi.iface.app.im

Class OmpImRel

  • All Implemented Interfaces:
    java.rmi.Remote, OmpImRelRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class OmpImRel
    extends Mbo
    implements OmpImRelRemote
    Defines a relationship between an Integration Module and an Operational Management Product. It also contains the endpoint to be used by the Integration Module on this Operational Management product. At least one Logical Management Operation must be implemented by this Integration Module (IM) on this Operational Management Product. That relationship is maintained in the OMPIMLMORLN table.
    • Field Detail

      • INTEGRATIONLOGGER

        public static final MXLogger INTEGRATIONLOGGER
        Integration logger for logging messages related to MAXIMO startup.
    • Constructor Detail

      • OmpImRel

        public OmpImRel(MboSet ms)
                 throws MXException,
                        java.rmi.RemoteException
        Constructor
        Parameters:
        ms - Mbo Set to which this mbo will be added
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
    • Method Detail

      • 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
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        Called when this mbo is being deleted. This method deletes all the OMPIMLMORLN entries associated with this OmpImRln
        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
        This method is called when this object is being marked for undelete. In this case all the corresponding OMPIMLMORLN entries are also marked for un-delete
        Specified by:
        undelete in interface MboRemote
        Overrides:
        undelete in class Mbo
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Adds the current mbo to the given set. Set defaults here.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        Pre-save validation method.
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • modify

        public void modify()
                    throws MXException,
                           java.rmi.RemoteException
        This is called whenever a change is made to the attributes of an OMPIMRLN. This method updates the changedate, changeby attributes.
        Overrides:
        modify in class Mbo
        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.
        • IMNAME
        • IMVERSION
        • CHANGEBY
        • CHANGEDATE
        Overrides:
        skipCopyField in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException