Installation
extends FoundationReference
in package
uses
MemberAwareTrait
Installation into organ.
Attributes
- #[AssociationOverrides]
- [new \Doctrine\ORM\Mapping\AssociationOverride(name: 'member', inversedBy: 'installations')]
- #[Entity]
Table of Contents
Properties
- $discharge : Discharge|null
- Discharges.
- $function : InstallationFunctions
- Function given.
- $member : Member|null
- The member involved in this sub-decision.
- $organMember : OrganMember
- The organmember reference.
- $reappointments : Collection<string|int, Reappointment>
- Reappointment subdecisions if this installation was prolonged (can be done multiple times).
Methods
- __construct() : mixed
- clearDischarge() : void
- Clears the discharge, if it exists.
- getContentEN() : string
- Get the content in English.
- getContentNL() : string
- Get the content in Dutch.
- getDecision() : Decision
- Get the decision.
- getDecisionNumber() : int
- Get the decision number.
- getDecisionPoint() : int
- Get the decision point number.
- getDischarge() : Discharge|null
- Get the discharge, if it exists.
- getFoundation() : Foundation
- Get organ foundation.
- getFunction() : InstallationFunctions
- Get the function.
- getMeetingNumber() : int
- Get the meeting number.
- getMeetingType() : MeetingTypes
- Get the meeting type.
- getMember() : Member
- Get the member.
- getOrganMember() : OrganMember
- Get the organ member reference.
- getReappointments() : Collection<string|int, Reappointment>
- Get the reappointments, if they exist.
- getSequence() : int
- Get the sequence number.
- removeReappointment() : void
- Removes the reappointments, if they exist.
- setContentEN() : void
- Set the content in English.
- setContentNL() : void
- Set the content in Dutch.
- setDecision() : void
- Set the decision.
- setFoundation() : void
- Set organ foundation.
- setFunction() : void
- Set the function.
- setMember() : void
- Set the member.
- setSequence() : void
- Set the sequence number.
- toGdprArray() : SubDecisionGdprArrayType
Properties
$discharge
Discharges.
private
Discharge|null
$discharge
= null
Attributes
- #[OneToOne]
- $targetEntity: \Decision\Model\SubDecision\Discharge::class
- $mappedBy: 'installation'
$function
Function given.
private
InstallationFunctions
$function
Attributes
- #[Column]
- $type: 'string'
- $enumType: \Decision\Model\Enums\InstallationFunctions::class
$member
The member involved in this sub-decision.
private
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
$organMember
The organmember reference.
private
OrganMember
$organMember
Attributes
- #[OneToOne]
- $targetEntity: \Decision\Model\OrganMember::class
- $mappedBy: 'installation'
$reappointments
Reappointment subdecisions if this installation was prolonged (can be done multiple times).
private
Collection<string|int, Reappointment>
$reappointments
Attributes
- #[OneToMany]
- $targetEntity: \Decision\Model\SubDecision\Reappointment::class
- $mappedBy: 'installation'
Methods
__construct()
public
__construct() : mixed
clearDischarge()
Clears the discharge, if it exists.
public
clearDischarge() : void
getContentEN()
Get the content in English.
public
getContentEN() : string
Return values
stringgetContentNL()
Get the content in Dutch.
public
getContentNL() : 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
intgetDischarge()
Get the discharge, if it exists.
public
getDischarge() : Discharge|null
Return values
Discharge|nullgetFoundation()
Get organ foundation.
public
getFoundation() : Foundation
Return values
FoundationgetFunction()
Get the function.
public
getFunction() : InstallationFunctions
Return values
InstallationFunctionsgetMeetingNumber()
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
Tags
Return values
MembergetOrganMember()
Get the organ member reference.
public
getOrganMember() : OrganMember
Return values
OrganMembergetReappointments()
Get the reappointments, if they exist.
public
getReappointments() : Collection<string|int, Reappointment>
Return values
Collection<string|int, Reappointment>getSequence()
Get the sequence number.
public
getSequence() : int
Return values
intremoveReappointment()
Removes the reappointments, if they exist.
public
removeReappointment(Reappointment $reappointment) : void
Parameters
- $reappointment : Reappointment
setContentEN()
Set the content in English.
public
setContentEN(string $content) : void
Parameters
- $content : string
setContentNL()
Set the content in Dutch.
public
setContentNL(string $content) : void
Parameters
- $content : string
setDecision()
Set the decision.
public
setDecision(Decision $decision) : void
Parameters
- $decision : Decision
setFoundation()
Set organ foundation.
public
setFoundation(Foundation $foundation) : void
Parameters
- $foundation : Foundation
setFunction()
Set the function.
public
setFunction(InstallationFunctions $function) : void
Parameters
- $function : InstallationFunctions
setMember()
Set the member.
public
setMember(Member $member) : void
Parameters
- $member : Member
setSequence()
Set the sequence number.
public
setSequence(int $sequence) : void
Parameters
- $sequence : int
toGdprArray()
public
toGdprArray() : SubDecisionGdprArrayType