Traits Docs
Fall 2024
API

# Restriction

o1.legal.Restriction
trait Restriction(val `description`: String)

A `Restriction` is a reason why a ReducedCapacityPerson cannot function independently as a legal entity.

## Attributes

Graph
Supertypes
  class Object
  trait Matchable
  class Any
Known subtypes
  object Illness
  object Underage

## Members list

### Value members

#### Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

## Attributes

Returns

  a string representation of the object.

Definition Classes
  Any

#### Concrete fields

val description: String