Interface NamedObject

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Get the current name of this object.
      void setName​(java.lang.String newName)
      Set a new name of this object.
    • Method Detail

      • getName

        java.lang.String getName()
                          throws java.rmi.RemoteException
        Get the current name of this object.
        Returns:
        the current name of this object.
        Throws:
        java.rmi.RemoteException - remote communication error
      • setName

        void setName​(java.lang.String newName)
              throws ApiException,
                     java.rmi.RemoteException
        Set a new name of this object.
        Parameters:
        newName - the new name
        Throws:
        ApiException - if newName is not a legal name.
        java.rmi.RemoteException - remote communication error