summaryrefslogtreecommitdiff
path: root/src/StepBasic/StepBasic_ApprovalRelationship.cxx
blob: 62f6a4ffdfd17196bfba30313c0221f4b168202d (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
47
48
49
50
51
52
53
54
55
56
57
58
#include <StepBasic_ApprovalRelationship.ixx>


StepBasic_ApprovalRelationship::StepBasic_ApprovalRelationship ()  {}

void StepBasic_ApprovalRelationship::Init(
	const Handle(TCollection_HAsciiString)& aName,
	const Handle(TCollection_HAsciiString)& aDescription,
	const Handle(StepBasic_Approval)& aRelatingApproval,
	const Handle(StepBasic_Approval)& aRelatedApproval)
{
	// --- classe own fields ---
	name = aName;
	description = aDescription;
	relatingApproval = aRelatingApproval;
	relatedApproval = aRelatedApproval;
}


void StepBasic_ApprovalRelationship::SetName(const Handle(TCollection_HAsciiString)& aName)
{
	name = aName;
}

Handle(TCollection_HAsciiString) StepBasic_ApprovalRelationship::Name() const
{
	return name;
}

void StepBasic_ApprovalRelationship::SetDescription(const Handle(TCollection_HAsciiString)& aDescription)
{
	description = aDescription;
}

Handle(TCollection_HAsciiString) StepBasic_ApprovalRelationship::Description() const
{
	return description;
}

void StepBasic_ApprovalRelationship::SetRelatingApproval(const Handle(StepBasic_Approval)& aRelatingApproval)
{
	relatingApproval = aRelatingApproval;
}

Handle(StepBasic_Approval) StepBasic_ApprovalRelationship::RelatingApproval() const
{
	return relatingApproval;
}

void StepBasic_ApprovalRelationship::SetRelatedApproval(const Handle(StepBasic_Approval)& aRelatedApproval)
{
	relatedApproval = aRelatedApproval;
}

Handle(StepBasic_Approval) StepBasic_ApprovalRelationship::RelatedApproval() const
{
	return relatedApproval;
}