Documentation

Foundation extends SubDecision
in package

Foundation of an organ.

Attributes
#[Entity]

Table of Contents

Properties

$abbr  : string
Abbreviation (only for when organs are created).
$content  : string
Content.
$decision  : Decision
Decision.
$decision_number  : int
Decision number.
$decision_point  : int
Decision point.
$meeting_number  : int
Meeting number.
$meeting_type  : MeetingTypes
Meeting type.
$member  : Member|null
The member involved in this sub-decision.
$name  : string
Name (only for when organs are created).
$organ  : Organ
Organ entry for this organ.
$organType  : OrganTypes
Type of the organ.
$references  : Collection<string|int, FoundationReference>
References from other subdecisions to this organ.
$sequence  : int
Sub decision sequence number.

Methods

__construct()  : mixed
getAbbr()  : string
Get the abbreviation.
getContent()  : string
Get the content.
getDecision()  : Decision
Get the decision.
getDecisionNumber()  : int
Get the decision number.
getDecisionPoint()  : int
Get the decision point number.
getHash()  : string
Get a unique identifier for this foundation. It is used to distinguish between organs that share the same name but are actually distinct.
getMeetingNumber()  : int
Get the meeting number.
getMeetingType()  : MeetingTypes
Get the meeting type.
getMember()  : Member|null
Get the member.
getName()  : string
Get the name.
getOrgan()  : Organ
Get the referenced organ.
getOrganType()  : OrganTypes
Get the type.
getReferences()  : Collection<string|int, FoundationReference>
Get the references.
getSequence()  : int
Get the sequence number.
setAbbr()  : void
Set the abbreviation.
setContent()  : void
Set the content.
setDecision()  : void
Set the decision.
setMember()  : void
Set the member.
setName()  : void
Set the name.
setOrganType()  : void
Set the type.
setSequence()  : void
Set the sequence number.
toGdprArray()  : SubDecisionGdprArrayType

Properties

$abbr

Abbreviation (only for when organs are created).

protected string $abbr
Attributes
#[Column]
$type: 'string'

$content

Content.

protected string $content
Attributes
#[Column]
$type: 'text'

$decision

Decision.

protected Decision $decision
Attributes
#[JoinColumn]
$name: 'meeting_type'
$referencedColumnName: 'meeting_type'
#[JoinColumn]
$name: 'meeting_number'
$referencedColumnName: 'meeting_number'
#[JoinColumn]
$name: 'decision_point'
$referencedColumnName: 'point'
#[JoinColumn]
$name: 'decision_number'
$referencedColumnName: 'number'
#[ManyToOne]
$targetEntity: \Decision\Model\Decision::class
$inversedBy: 'subdecisions'

$decision_number

Decision number.

protected int $decision_number

NOTE: This is a hack to make the decision a primary key here.

Attributes
#[Column]
$type: 'integer'
#[Id]

$decision_point

Decision point.

protected int $decision_point

NOTE: This is a hack to make the decision a primary key here.

Attributes
#[Column]
$type: 'integer'
#[Id]

$meeting_number

Meeting number.

protected int $meeting_number

NOTE: This is a hack to make the decision a primary key here.

Attributes
#[Column]
$type: 'integer'
#[Id]

$meeting_type

Meeting type.

protected MeetingTypes $meeting_type

NOTE: This is a hack to make the decision a primary key here.

Attributes
#[Column]
$type: 'string'
$enumType: \Decision\Model\Enums\MeetingTypes::class
#[Id]

$member

The member involved in this sub-decision.

protected Member|null $member = null

Not all sub-decisions require this, as such it is nullable. However, sub-decisions that need the guarantee that this is not null or need to specify an inverse side can do so using an association override.

Attributes
#[JoinColumn]
$name: 'lidnr'
$referencedColumnName: 'lidnr'
$nullable: true
#[ManyToOne]
$targetEntity: \Decision\Model\Member::class

$name

Name (only for when organs are created).

protected string $name
Attributes
#[Column]
$type: 'string'

$organ

Organ entry for this organ.

protected Organ $organ
Attributes
#[OneToOne]
$targetEntity: \Decision\Model\Organ::class
$mappedBy: 'foundation'

$organType

Type of the organ.

protected OrganTypes $organType
Attributes
#[Column]
$type: 'string'
$enumType: \Decision\Model\Enums\OrganTypes::class

$references

References from other subdecisions to this organ.

protected Collection<string|int, FoundationReference> $references
Attributes
#[OneToMany]
$targetEntity: \Decision\Model\SubDecision\FoundationReference::class
$mappedBy: 'foundation'

$sequence

Sub decision sequence number.

protected int $sequence
Attributes
#[Column]
$type: 'integer'
#[Id]

Methods

getAbbr()

Get the abbreviation.

public getAbbr() : string
Return values
string

getContent()

Get the content.

public getContent() : string
Return values
string

getDecisionNumber()

Get the decision number.

public getDecisionNumber() : int
Return values
int

getDecisionPoint()

Get the decision point number.

public getDecisionPoint() : int
Return values
int

getHash()

Get a unique identifier for this foundation. It is used to distinguish between organs that share the same name but are actually distinct.

public getHash() : string
Return values
string

getMeetingNumber()

Get the meeting number.

public getMeetingNumber() : int
Return values
int

getName()

Get the name.

public getName() : string
Return values
string

getSequence()

Get the sequence number.

public getSequence() : int
Return values
int

setAbbr()

Set the abbreviation.

public setAbbr(string $abbr) : void
Parameters
$abbr : string

setContent()

Set the content.

public setContent(string $content) : void
Parameters
$content : string

setName()

Set the name.

public setName(string $name) : void
Parameters
$name : string

setSequence()

Set the sequence number.

public setSequence(int $sequence) : void
Parameters
$sequence : int

toGdprArray()

public toGdprArray() : SubDecisionGdprArrayType
Return values
SubDecisionGdprArrayType

        
On this page

Search results