summaryrefslogtreecommitdiff
path: root/src/StepBasic/StepBasic_ApplicationProtocolDefinition.cxx
blob: 189af7077cab4cac386c7a39c5ac990d6ec59783 (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_ApplicationProtocolDefinition.ixx>


StepBasic_ApplicationProtocolDefinition::StepBasic_ApplicationProtocolDefinition ()  {}

void StepBasic_ApplicationProtocolDefinition::Init(
	const Handle(TCollection_HAsciiString)& aStatus,
	const Handle(TCollection_HAsciiString)& aApplicationInterpretedModelSchemaName,
	const Standard_Integer aApplicationProtocolYear,
	const Handle(StepBasic_ApplicationContext)& aApplication)
{
	// --- classe own fields ---
	status = aStatus;
	applicationInterpretedModelSchemaName = aApplicationInterpretedModelSchemaName;
	applicationProtocolYear = aApplicationProtocolYear;
	application = aApplication;
}


void StepBasic_ApplicationProtocolDefinition::SetStatus(const Handle(TCollection_HAsciiString)& aStatus)
{
	status = aStatus;
}

Handle(TCollection_HAsciiString) StepBasic_ApplicationProtocolDefinition::Status() const
{
	return status;
}

void StepBasic_ApplicationProtocolDefinition::SetApplicationInterpretedModelSchemaName(const Handle(TCollection_HAsciiString)& aApplicationInterpretedModelSchemaName)
{
	applicationInterpretedModelSchemaName = aApplicationInterpretedModelSchemaName;
}

Handle(TCollection_HAsciiString) StepBasic_ApplicationProtocolDefinition::ApplicationInterpretedModelSchemaName() const
{
	return applicationInterpretedModelSchemaName;
}

void StepBasic_ApplicationProtocolDefinition::SetApplicationProtocolYear(const Standard_Integer aApplicationProtocolYear)
{
	applicationProtocolYear = aApplicationProtocolYear;
}

Standard_Integer StepBasic_ApplicationProtocolDefinition::ApplicationProtocolYear() const
{
	return applicationProtocolYear;
}

void StepBasic_ApplicationProtocolDefinition::SetApplication(const Handle(StepBasic_ApplicationContext)& aApplication)
{
	application = aApplication;
}

Handle(StepBasic_ApplicationContext) StepBasic_ApplicationProtocolDefinition::Application() const
{
	return application;
}