Installation
extends FoundationReference
in package
Installation into organ.
Attributes
- #[AssociationOverrides]
- [new \Doctrine\ORM\Mapping\AssociationOverride(name: 'member', joinColumns: new \Doctrine\ORM\Mapping\JoinColumn(name: 'lidnr', referencedColumnName: 'lidnr', nullable: false), inversedBy: 'installations')]
- #[Entity]
Table of Contents
Properties
- $content : string
- Content.
- $decision : Decision
- Decision.
- $decision_number : int
- Decision number.
- $decision_point : int
- Decision point.
- $discharge : Discharge|null
- Discharges.
- $foundation : Foundation
- Reference to foundation of organ.
- $function : string
- Function given.
- $meeting_number : int
- Meeting number.
- $meeting_type : MeetingTypes
- Meeting type.
- $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).
- $sequence : int
- Sub decision sequence number.
Methods
- __construct() : mixed
- getContent() : string
- Get the content.
- 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() : string
- 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.
- setContent() : void
- Set the content.
- 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
$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]
$discharge
Discharges.
protected
Discharge|null
$discharge
= null
Attributes
- #[OneToOne]
- $targetEntity: \Decision\Model\SubDecision\Discharge::class
- $mappedBy: 'installation'
$foundation
Reference to foundation of organ.
protected
Foundation
$foundation
Attributes
- #[JoinColumn]
- $name: 'r_meeting_type'
- $referencedColumnName: 'meeting_type'
- #[JoinColumn]
- $name: 'r_meeting_number'
- $referencedColumnName: 'meeting_number'
- #[JoinColumn]
- $name: 'r_decision_point'
- $referencedColumnName: 'decision_point'
- #[JoinColumn]
- $name: 'r_decision_number'
- $referencedColumnName: 'decision_number'
- #[JoinColumn]
- $name: 'r_sequence'
- $referencedColumnName: 'sequence'
- #[ManyToOne]
- $targetEntity: \Decision\Model\SubDecision\Foundation::class
- $inversedBy: 'references'
- $cascade: ['persist']
$function
Function given.
protected
string
$function
Attributes
- #[Column]
- $type: 'string'
$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
$organMember
The organmember reference.
protected
OrganMember
$organMember
Attributes
- #[OneToOne]
- $targetEntity: \Decision\Model\OrganMember::class
- $mappedBy: 'installation'
$reappointments
Reappointment subdecisions if this installation was prolonged (can be done multiple times).
protected
Collection<string|int, Reappointment>
$reappointments
Attributes
- #[OneToMany]
- $targetEntity: \Decision\Model\SubDecision\Reappointment::class
- $mappedBy: 'installation'
$sequence
Sub decision sequence number.
protected
int
$sequence
Attributes
- #[Column]
- $type: 'integer'
- #[Id]
Methods
__construct()
public
__construct() : mixed
getContent()
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
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() : 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
Tags
Attributes
- #[Override]
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
intsetContent()
Set the content.
public
setContent(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(string $function) : void
Parameters
- $function : string
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