Traits Docs
Fall 2024
API

# ReducedCapacityPerson

o1.legal.ReducedCapacityPerson
class ReducedCapacityPerson(`personID`: String, `name`: String, val `restriction`: Restriction, val `guardian`: FullCapacityPerson) extends Entity, 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.

## 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

## Attributes

Graph
Supertypes
  trait NaturalPerson
  trait Entity
  class Object
  trait Matchable
  class Any

## Members list

### Value members

#### Concrete methods

def contact: NaturalPerson

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.

## Attributes

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".

## Attributes

Definition Classes
  NaturalPerson -> Entity

#### 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)".

## Attributes

Definition Classes
  Entity -> Any
Inherited from:
  Entity

#### Concrete fields

val guardian: FullCapacityPerson
val restriction: Restriction