summaryrefslogtreecommitdiff
path: root/src/StepBasic/StepBasic_PersonAndOrganizationAssignment.cxx
blob: faa9f1a2562dd1b53072d11ffc6032525f60b173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include <StepBasic_PersonAndOrganizationAssignment.ixx>

void StepBasic_PersonAndOrganizationAssignment::Init(
	const Handle(StepBasic_PersonAndOrganization)& aAssignedPersonAndOrganization,
	const Handle(StepBasic_PersonAndOrganizationRole)& aRole)
{
	// --- classe own fields ---
	assignedPersonAndOrganization = aAssignedPersonAndOrganization;
	role = aRole;
}


void StepBasic_PersonAndOrganizationAssignment::SetAssignedPersonAndOrganization(const Handle(StepBasic_PersonAndOrganization)& aAssignedPersonAndOrganization)
{
	assignedPersonAndOrganization = aAssignedPersonAndOrganization;
}

Handle(StepBasic_PersonAndOrganization) StepBasic_PersonAndOrganizationAssignment::AssignedPersonAndOrganization() const
{
	return assignedPersonAndOrganization;
}

void StepBasic_PersonAndOrganizationAssignment::SetRole(const Handle(StepBasic_PersonAndOrganizationRole)& aRole)
{
	role = aRole;
}

Handle(StepBasic_PersonAndOrganizationRole) StepBasic_PersonAndOrganizationAssignment::Role() const
{
	return role;
}