No declaratory judgment shall prejudice the rights of persons not parties to the proceeding.
N.J.S. § 2A:16-57