Reappointment
extends SubDecision
in package
Reappointment of a previous installation.
To prevent issues with recursive self-references, multiple reappointments can point to the same installation.
Attributes
- #[Entity]
Table of Contents
Properties
- $content : string
- Content.
- $decision : Decision
- Decision.
- $decision_number : int
- Decision number.
- $decision_point : int
- Decision point.
- $installation : Installation
- Reference to the installation of a member.
- $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.
- getInstallation() : Installation
- Get the original installation for this reappointment.
- 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.
- setInstallation() : void
- Set the installation.
- 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]
$installation
Reference to the installation of a member.
protected
Installation
$installation
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\Installation::class
- $inversedBy: 'reappointments'
$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
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
intgetInstallation()
Get the original installation for this reappointment.
public
getInstallation() : Installation
Return values
InstallationgetMeetingNumber()
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|nullgetSequence()
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
setInstallation()
Set the installation.
public
setInstallation(Installation $installation) : void
Parameters
- $installation : Installation
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