Traits Docs
Fall 2024
API

# Group

o1.legal.Group
class Group(val `members`: Vector[Entity]) extends Entity, JuridicalPerson

A `Group` is a group of legal persons who have united to act in their shared interest and are being treated as a single legal person.

Groups do not have distinct names. The `name` of all `Group` objects is simply the string "group".

## Parameters

members

  the legal entities that form the group. This must be a non-empty collection. The first member is the leader of the group.

## Attributes

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

## Members list

### Value members

#### Concrete methods

def contact: NaturalPerson

the contact of a group --- that is, the contact of the group’s leader. Note that this is not necessarily the leader themself.

the contact of a group --- that is, the contact of the group’s leader. Note that this is not necessarily the leader themself.

## Attributes

def kind: String

A short description of the entity’s type. For a `Group`, this takes the form "group of N led by LEADER-NAME". For example: "group of 5 led by Jane Doe".

A short description of the entity’s type. For a `Group`, this takes the form "group of N led by LEADER-NAME". For example: "group of 5 led by Jane Doe".

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

#### Concrete fields

val leader: Entity

the leader of the group (its first member)

the leader of the group (its first member)

## Attributes

val members: Vector[Entity]

#### Inherited fields

val name: String

## Attributes

Inherited from:
  Entity