A judgment is the final determination of the rights of the parties in an action or proceeding.

SOURCE: CCP § 577.