summaryrefslogtreecommitdiff
path: root/src/StepBasic/StepBasic_ApprovalPersonOrganization.cxx
blob: e870ff54872c14870a34dfa57aad6568fd41907f (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#include <StepBasic_ApprovalPersonOrganization.ixx>


StepBasic_ApprovalPersonOrganization::StepBasic_ApprovalPersonOrganization ()  {}

void StepBasic_ApprovalPersonOrganization::Init(
	const StepBasic_PersonOrganizationSelect& aPersonOrganization,
	const Handle(StepBasic_Approval)& aAuthorizedApproval,
	const Handle(StepBasic_ApprovalRole)& aRole)
{
	// --- classe own fields ---
	personOrganization = aPersonOrganization;
	authorizedApproval = aAuthorizedApproval;
	role = aRole;
}


void StepBasic_ApprovalPersonOrganization::SetPersonOrganization(const StepBasic_PersonOrganizationSelect& aPersonOrganization)
{
	personOrganization = aPersonOrganization;
}

StepBasic_PersonOrganizationSelect StepBasic_ApprovalPersonOrganization::PersonOrganization() const
{
	return personOrganization;
}

void StepBasic_ApprovalPersonOrganization::SetAuthorizedApproval(const Handle(StepBasic_Approval)& aAuthorizedApproval)
{
	authorizedApproval = aAuthorizedApproval;
}

Handle(StepBasic_Approval) StepBasic_ApprovalPersonOrganization::AuthorizedApproval() const
{
	return authorizedApproval;
}

void StepBasic_ApprovalPersonOrganization::SetRole(const Handle(StepBasic_ApprovalRole)& aRole)
{
	role = aRole;
}

Handle(StepBasic_ApprovalRole) StepBasic_ApprovalPersonOrganization::Role() const
{
	return role;
}