Documentation

SubDecision
in package

AbstractYes

SubDecision model.

Tags
psalm-type

SubDecisionGdprArrayType = array{ meeting_type: string, meeting_number: int, decision_point: int, decision_number: int, subdecision_sequence: int, ..., }

Attributes
#[DiscriminatorColumn]
$name: 'type'
$type: 'string'
#[DiscriminatorMap]
$value: ['foundation' => \Decision\Model\SubDecision\Foundation::class, 'abrogation' => \Decision\Model\SubDecision\Abrogation::class, 'installation' => \Decision\Model\SubDecision\Installation::class, 'reappointment' => \Decision\Model\SubDecision\Reappointment::class, 'discharge' => \Decision\Model\SubDecision\Discharge::class, 'financial_budget' => \Decision\Model\SubDecision\Financial\Budget::class, 'financial_statement' => \Decision\Model\SubDecision\Financial\Statement::class, 'other' => \Decision\Model\SubDecision\Other::class, 'annulment' => \Decision\Model\SubDecision\Annulment::class, 'board_installation' => \Decision\Model\SubDecision\Board\Installation::class, 'board_release' => \Decision\Model\SubDecision\Board\Release::class, 'board_discharge' => \Decision\Model\SubDecision\Board\Discharge::class, 'foundationreference' => \Decision\Model\SubDecision\FoundationReference::class, 'key_granting' => \Decision\Model\SubDecision\Key\Granting::class, 'key_withdraw' => \Decision\Model\SubDecision\Key\Withdrawal::class]
#[Entity]
#[InheritanceType]
$value: 'SINGLE_TABLE'

Table of Contents

Properties

$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.
$sequence  : int
Sub decision sequence number.

Methods

getContent()  : string
Get the content.
getDecision()  : Decision
Get the decision.
getDecisionNumber()  : int
Get the decision number.
getDecisionPoint()  : int
Get the decision point number.
getMeetingNumber()  : int
Get the meeting number.
getMeetingType()  : MeetingTypes
Get the meeting type.
getMember()  : Member|null
Get the member.
getSequence()  : int
Get the sequence number.
setContent()  : void
Set the content.
setDecision()  : void
Set the decision.
setMember()  : void
Set the member.
setSequence()  : void
Set the sequence number.
toGdprArray()  : SubDecisionGdprArrayType

Properties

$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

$sequence

Sub decision sequence number.

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

Methods

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

getMeetingNumber()

Get the meeting number.

public getMeetingNumber() : int
Return values
int

getSequence()

Get the sequence number.

public getSequence() : int
Return values
int

setContent()

Set the content.

public setContent(string $content) : void
Parameters
$content : 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