Interface Command

    • Method Detail

      • applyTo

        boolean applyTo​(DomainObject obj)
        Applies the command to the given domain object.
        Parameters:
        obj - domain object that this command is to be applied.
        Returns:
        true if the command applied successfully
      • getStatusMsg

        java.lang.String getStatusMsg()
        Returns the status message indicating the status of the command.
        Returns:
        reason for failure, or null if the status of the command was successful
      • getName

        java.lang.String getName()
        Returns the name of this command.
        Returns:
        the name of this command