ReducedCapacityPerson

class ReducedCapacityPerson(personID: String, name: String, val restriction: Restriction, val guardian: FullCapacityPerson) extends Entity with NaturalPerson

A ReducedCapacityPerson is a NaturalPerson that has a Restriction on their ability to function independently as a legal entity (age, illness, etc.). As a consequence, they also have a FullCapacityPerson who serves as their guardian and representative.

Value parameters:
guardian

the person who represents the reduced-capacity person

name

the person’s name

personID

an identifier that uniquely specifies the individual person, such as a social security number

restriction

the reason why the person has reduced legal capacity

trait Entity
class Object
trait Matchable
class Any

Value members

Concrete methods

The contact person of the legal entity. The contact of a ReducedCapacityPerson is their guardian.

The contact person of the legal entity. The contact of a ReducedCapacityPerson is their guardian.

override def kind: String

A short description of the entity’s type. For a ReducedCapacityPerson, this method returns the default kind defined for NaturalPerson, followed by the string " with " and further followed by the toString description of the person’s restriction. E.g., "human with capacity reduced due to age".

A short description of the entity’s type. For a ReducedCapacityPerson, this method returns the default kind defined for NaturalPerson, followed by the string " with " and further followed by the toString description of the person’s restriction. E.g., "human with capacity reduced due to age".

Definition Classes

Inherited methods

override def toString: String

Returns a textual description of the legal entity. This takes the form "NAME (KIND)", e.g., "Jane Doe (human in full capacity)".

Returns a textual description of the legal entity. This takes the form "NAME (KIND)", e.g., "Jane Doe (human in full capacity)".

Definition Classes
Inherited from:
Entity