Corporation

o1.legal.Corporation
class Corporation(val id: String, val seeksProfit: Boolean, name: String, contact: NaturalPerson) extends Entity, HumanOrganization

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

Parameters

id

an identifier that uniquely specifies the corporation

seeksProfit

whether the corporation seeks financial profit or not

name

the name of the corporation

contact

a contact person

Attributes

Supertypes
trait Entity
class Object
trait Matchable
class Any
Show all

Members list

Keywords
  • no keywords
  • override
Inherited Not inherited +1
  • Not inherited
  • Entity

Value members

Concrete methods

def kind: String

A short description of the entity’s type. For a Corporation, this is either "for-profit corporation" or "non-profit corporation".

A short description of the entity’s type. For a Corporation, this is either "for-profit corporation" or "non-profit corporation".

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
Entity -> Any
Inherited from:
Entity

Concrete fields

val id: String