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
__construct()
public
__construct() : mixed
getAbbr()
Get the abbreviation.
public
getAbbr() : string
Return values
stringgetContent()
Get the content.
public
getContent() : string
Return values
stringgetDecision()
Get the decision.
public
getDecision() : Decision
Return values
DecisiongetDecisionNumber()
Get the decision number.
public
getDecisionNumber() : int
Return values
intgetDecisionPoint()
Get the decision point number.
public
getDecisionPoint() : int
Return values
intgetHash()
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
stringgetMeetingNumber()
Get the meeting number.
public
getMeetingNumber() : int
Return values
intgetMeetingType()
Get the meeting type.
public
getMeetingType() : MeetingTypes
Return values
MeetingTypesgetMember()
Get the member.
public
getMember() : Member|null
Return values
Member|nullgetName()
Get the name.
public
getName() : string
Return values
stringgetOrgan()
Get the referenced organ.
public
getOrgan() : Organ
Return values
OrgangetOrganType()
Get the type.
public
getOrganType() : OrganTypes
Return values
OrganTypesgetReferences()
Get the references.
public
getReferences() : Collection<string|int, FoundationReference>
Return values
Collection<string|int, FoundationReference>getSequence()
Get the sequence number.
public
getSequence() : int
Return values
intsetAbbr()
Set the abbreviation.
public
setAbbr(string $abbr) : void
Parameters
- $abbr : string
setContent()
Set the content.
public
setContent(string $content) : void
Parameters
- $content : string
setDecision()
Set the decision.
public
setDecision(Decision $decision) : void
Parameters
- $decision : Decision
setMember()
Set the member.
public
setMember(Member $member) : void
Parameters
- $member : Member
setName()
Set the name.
public
setName(string $name) : void
Parameters
- $name : string
setOrganType()
Set the type.
public
setOrganType(OrganTypes $organType) : void
Parameters
- $organType : OrganTypes
setSequence()
Set the sequence number.
public
setSequence(int $sequence) : void
Parameters
- $sequence : int
toGdprArray()
public
toGdprArray() : SubDecisionGdprArrayType