CourtCase

o1.legal.CourtCase
class CourtCase(val plaintiff: Entity, val defendant: Entity)

Each instance of this class represents a single court case in which one Entity is the plaintiff and another is the defendant.

This toy class represents no other information about the court case beyond the two legal entities involved.

Parameters

defendant

the entity that responds against an accusation in the case

plaintiff

the initiator of the court case

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def toString: String

Describes the court case. The description is a string of the form "PLAINTIFF v. DEFENDANT", using the name of the two parties. E.g., "Jane Doe v. ACME Corp".

Describes the court case. The description is a string of the form "PLAINTIFF v. DEFENDANT", using the name of the two parties. E.g., "Jane Doe v. ACME Corp".

Attributes

Definition Classes
Any

Concrete fields