Skip to main content
summaryrefslogtreecommitdiffstats
blob: 82c05536eec1722e18eb741c196e27b1942160b7 (plain) (blame)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (c) 2007, 2019 IBM Corporation and others.
    This program and the accompanying materials
    are made available under the terms of the Eclipse Public License 2.0
    which accompanies this distribution, and is available at
    https://www.eclipse.org/legal/epl-2.0/

    SPDX-License-Identifier: EPL-2.0

    Contributors:
        IBM Corporation - initial API and implementation
 -->

<metadatamodel 
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" 
	xmlns:xmltype="http://www.eclipse.org/emf/2003/XMLType"
	xmlns:mdt="http://org.eclipse.jst.jsf.common.metadata/metadataTraitTypes.ecore"  
	id="http://org.eclipse.jsf/traithelpertest"
	type="tagFile">
	
	<trait id="TraitId">
		<value xsi:type="mdt:StringValue">TraitValue</value>
	</trait>
	
    <trait id="TraitId2">
		<value xsi:type="mdt:BooleanValue">true</value>
	</trait>
	
	<trait id="TraitId3">
		<value xsi:type="mdt:BooleanValue">false</value>
	</trait>
	
		
	<entity id="tag">
		
		<entity type="attribute" id="attr1">
			<trait id="singleString">
				<value>AString</value>
			</trait>
			<trait id="anInteger">
				<value>1</value>
			</trait>
			<trait id="aTrueInt">
				<value xsi:type="ecore:EInt">1</value>
			</trait>
			<trait id="multivalIntegers"> 
				<value xsi:type="mdt:ListOfValues">
					<item>1</item>
					<item>2</item>
					<item>3</item>
				</value>
			</trait>			
			<trait id="multivalStrings"> 
				<value xsi:type="mdt:ListOfValues">
					<item>A</item>
					<item>B</item>
					<item>C</item>
				</value>
			</trait>
			<trait id="NullVal">
				<value></value>
			</trait>			
			<trait id="BooleanVal">
				<value>true</value>
			</trait>	
			<trait id="NullBooleanVal">
				<value></value>
			</trait>
		</entity>	
	</entity>
	<entity id="NLS">	
		<entity id="NLS">	
			<trait id="NLS">
				<value>%NLS1</value>
			</trait> 			
			<trait id="multivalNLS"> 
				<value xsi:type="mdt:ListOfValues">
					<item>%NLS1</item>
					<item>%NLS2</item>
				</value>
			</trait>		
		</entity>	
		<trait id="NullVal">
			<value>%NLS3</value>
		</trait>					
	</entity>

</metadatamodel>

Back to the top