Corporation

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

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

Value parameters:
contact

a contact person

id

an identifier that uniquely specifies the corporation

name

the name of the corporation

seeksProfit

whether the corporation seeks financial profit or not

Value members

Concrete methods

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

Concrete fields

val id: String