psdi.app.dpldasset

Class ComputerSystem

    • Constructor Detail

      • ComputerSystem

        public ComputerSystem(MboSet ms)
                       throws MXException,
                              java.rmi.RemoteException
        Construct the ComputerSystem object
        Parameters:
        ms - Mbo set
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • isTop

        public boolean isTop()
                      throws MXException,
                             java.rmi.RemoteException
        Tests if this ComputerSystem object is top level. If top level, then Computer System does not have a parent.

        Specified by:
        isTop in interface HierarchicalMboRemote
        Returns:
        true if this object's parent attribute is null; false otherwise
        Throws:
        MXException - Application client and server exceptions
        java.rmi.RemoteException - Communication-related exceptions that may occur during the execution of a remote method call.
      • getTop

        public MboSetRemote getTop()
                            throws MXException,
                                   java.rmi.RemoteException
        Get the Computer System object that is at the top of this Computer System object's hierarchy. Walking up the hierarchy, the top is the first Computer System object whose parent attribute is null

        Returns:
        MboSetRemote this Computer System's top-most ancestor.
        Throws:
        MXException - Application client and server exceptions
        java.rmi.RemoteException - Communication-related exceptions that may occur during the execution of a remote method call.
      • hasChildren

        public boolean hasChildren()
                            throws MXException,
                                   java.rmi.RemoteException
        Tests if this Computer System object has any children.

        Specified by:
        hasChildren in interface HierarchicalMboRemote
        Returns:
        true if this object's children attribute is true; false otherwise
        Throws:
        MXException - Application client and server exceptions
        java.rmi.RemoteException - Communication-related exceptions that may occur during the execution of a remote method call.
      • getChildren

        public MboSetRemote getChildren()
                                 throws MXException,
                                        java.rmi.RemoteException
        Retrieves the MBO set of Computer System objects that are children to this Computer System object

        Specified by:
        getChildren in interface ComputerSystemRemote
        Returns:
        MboSetRemote The set of child Computer System objects, if any
        Throws:
        MXException - Application client and server exceptions
        java.rmi.RemoteException - Communication-related exceptions that may occur during the execution of a remote method call.
      • hasParents

        public boolean hasParents()
                           throws MXException,
                                  java.rmi.RemoteException
        Tests if this Computer System object has a parent.

        Specified by:
        hasParents in interface ComputerSystemRemote
        Specified by:
        hasParents in interface HierarchicalMboRemote
        Returns:
        true if this object parent value is not null; false otherwise
        Throws:
        MXException - Application client and server exceptions
        java.rmi.RemoteException - Communication-related exceptions that may occur during the execution of a remote method call.
      • getParents

        public MboSetRemote getParents()
                                throws MXException,
                                       java.rmi.RemoteException
        Retrieves the MBO set the Computer System object that is parent to this ComputerSystem object. This set should contain a maximum of one MBO.

        Specified by:
        getParents in interface ComputerSystemRemote
        Returns:
        MboSetRemote Returns the parent object (as a set) for this Computer System.
        Throws:
        MXException - Application client and server exceptions
        java.rmi.RemoteException - Communication-related exceptions that may occur during the execution of a remote method call.
      • getRootParent

        public MboRemote getRootParent()
                                throws MXException,
                                       java.rmi.RemoteException
        Get the root (top-level) parent for this Computer System.
        Returns:
        MboSetRemote This Computer System's root parent.
        Throws:
        MXException
        java.rmi.RemoteException - Communication-related exceptions that may occur during the execution of a remote method call.
      • delete

        public void delete(long modifier)
                    throws MXException,
                           java.rmi.RemoteException
        delete this ComputerSystem object, the physical objects subordinate to it, and all RECONLINK entries that reference it
        Specified by:
        delete in interface MboRemote
        Overrides:
        delete in class Mbo
        Parameters:
        modifier - The bitwise flag specified to determine if certain normal security checks are to be bypassed for this delete request. For example: if the accessModifer is NOACCESSCHECK, then the check for the object's NODELETE flag and the call to the object's canDelete() method will not be performed. If the accessModifer is NONE, then all the access checks are performed before this object is marked delete.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Mbo.delete(long)