/******************************************************************************
* Copyright (c) 2000-2025 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
*
* Contributors:
*   Balasko, Jeno
*   Szabo, Bence Janos
*
******************************************************************************/
//
//  File:          www_example_org_enumeration_remove_dup.ttcn
//  Description:
//  References:
//  Rev:
//  Prodnr:
//  Updated:       Thu Sep 10 10:11:22 2014
//  Contact:       http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
//	Generated from file(s):
//	- enumeration_remove_dup.xsd
//			/* xml version = "1.0" encoding = "UTF-8" */
//			/* targetnamespace = "www.example.org/enumeration/remove/dup" */
////////////////////////////////////////////////////////////////////////////////
//     Modification header(s):
//-----------------------------------------------------------------------------
//  Modified by:
//  Modification date:
//  Description:
//  Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////


module www_example_org_enumeration_remove_dup {


import from XSD all;


type enumerated State
{
	i,
	off,
	onn,
	x0,
	x1,
	x2,
	x3,
	x7
}
with {
  variant "text 'x0' as '0'";
  variant "text 'x1' as '1'";
  variant "text 'x2' as '2'";
  variant "text 'x3' as '3'";
  variant "text 'x7' as '7'";
  variant "name as uncapitalized";
};


type enumerated State2
{
	int0(0),
	int1(1),
	int2(2),
	int3(3),
	int7(7)
}
with {
  variant "useNumber";
  variant "name as uncapitalized";
};


type enumerated State3
{
	int7(7)
}
with {
  variant "useNumber";
  variant "name as uncapitalized";
};


type enumerated State4
{
	int7(7)
}
with {
  variant "useNumber";
  variant "name as uncapitalized";
};


type record State5
{
	enumerated {
		unknown,
		controlpart,
		testcase_,
		altstep_,
		function_,
		external_function,
		template_
	} ent_type
}
with {
  variant "name as uncapitalized";
  variant (ent_type) "text 'altstep_' as 'altstep'";
  variant (ent_type) "text 'function_' as 'function'";
  variant (ent_type) "text 'template_' as 'template'";
  variant (ent_type) "text 'testcase_' as 'testcase'";
};


}
with {
  encode "XML";
  variant "namespace as 'www.example.org/enumeration/remove/dup'";
  variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
}
