NaturalPerson

trait NaturalPerson(val personID: String) extends Entity

A NaturalPerson is a legal entity that is a single human being. In addition to a name, which every Entity has, a NaturalPerson has a personID.

Value parameters:
personID

an identifier that uniquely specifies the individual person, such as a social security number

trait Entity
class Object
trait Matchable
class Any

Value members

Concrete methods

A short description of the entity’s type. For natural persons, this method returns the word "human" by default, although this behavior may be overridden by subclasses.

A short description of the entity’s type. For natural persons, this method returns the word "human" by default, although this behavior may be overridden by subclasses.

Inherited methods

The contact person of the legal entity. This is another legal entity which must be a human (a NaturalPerson).

The contact person of the legal entity. This is another legal entity which must be a human (a NaturalPerson).

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

Inherited fields

Inherited from:
Entity