Traits Docs
Fall 2024
API

# Nation

o1.legal.Nation
class Nation(`name`: String, `contact`: NaturalPerson) extends Entity, HumanOrganization

A `Nation` is a sovereign state such as Finland or Brazil.

## Parameters

contact

  a contact person for the nation’s goverment (yes, there’s just one)

name

  the name of the nation

## Attributes

Graph
Supertypes
  trait HumanOrganization
  trait JuridicalPerson
  trait Entity
  class Object
  trait Matchable
  class Any
  Show all

## Members list

### Value members

#### Concrete methods

def kind: String

A short description of the entity’s type. For a `Nation`, returns "sovereign nation".

A short description of the entity’s type. For a `Nation`, returns "sovereign nation".

## Attributes

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