psdi.dm

Class DMCfgObject

    • Constructor Detail

      • DMCfgObject

        public DMCfgObject(MboSet ms)
                    throws java.rmi.RemoteException
        Construct the DMCfgObject object
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • getRootMboName

        public java.lang.String getRootMboName()
                                        throws MXException,
                                               java.rmi.RemoteException
        Gets the root mbo's name for this configuration object.
        Specified by:
        getRootMboName in interface DMCfgObjectRemote
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • add

        public void add()
                 throws java.rmi.RemoteException,
                        MXException
        Set defaults while adding a new rec.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        java.rmi.RemoteException
        MXException
      • setExpObject

        public void setExpObject()
                          throws MXException,
                                 java.rmi.RemoteException
        Set the non-persist field EXPOBJECT to the config object's main mbo name
        Specified by:
        setExpObject in interface DMCfgObjectRemote
        Throws:
        MXException
        java.rmi.RemoteException
      • skipCopyField

        protected boolean skipCopyField(MboValueInfo mvi)
                                 throws java.rmi.RemoteException,
                                        MXException
        Overrides the skipCopyField() in the Mbo. While this DMPACKAGEDEF MBO is being copied, this method checks if each attribute needs to be copied by using the data from the static HashSet skipFieldCopy. This method also checks whether certain attributes whose "to copy or not to copy" status is instance-specific and cannot be added to the static HashSet should be copied for this object.
        Overrides:
        skipCopyField in class Mbo
        Parameters:
        MboValueInfo - object of the MboValue that needs to be copied.
        Returns:
        true if the field does not need to be copied. Otherwise, false is returned.
        Throws:
        java.rmi.RemoteException
        MXException
      • save

        protected void save()
                     throws MXException,
                            java.rmi.RemoteException
        Description copied from class: Mbo
        Save the object and other linked objects. Subclasses can code their save() logic to include any appropriate updates to other linked objects and call super.save().
        Overrides:
        save in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        Description copied from class: Mbo
        Can the object be deleted ? This is object specific and should be overridden.
        Overrides:
        canDelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException