summaryrefslogtreecommitdiffstats
path: root/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v8.xml
blob: 7474362ff5cf7faf0e8dc17b2b0d694180f7139c (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
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--

    ============LICENSE_START=======================================================
    org.onap.aai
    ================================================================================
    Copyright © 2017 AT&T Intellectual Property. All rights reserved.
    ================================================================================
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    ============LICENSE_END=========================================================

    ECOMP is a trademark and service mark of AT&T Intellectual Property.

-->
<xml-bindings xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm" package-name="inventory.aai.onap.org.v8" xml-mapping-metadata-complete="true">
	<xml-schema element-form-default="QUALIFIED">
		<xml-ns namespace-uri="http://com.att.aai.inventory/v8" />
	</xml-schema>
	<java-types>
	<java-type name="LicenseKeyResources">
			<xml-root-element name="license-key-resources" />
			<java-attributes>
				<xml-element container-type="java.util.ArrayList" java-attribute="licenseKeyResource" name="license-key-resource" type="inventory.aai.onap.org.v8.LicenseKeyResource" />
			</java-attributes>
		</java-type>

		<java-type name="LicenseKeyResource">
			<xml-root-element name="license-key-resource" />
			<java-attributes>
				<xml-element java-attribute="attUuid" name="att-uuid" required="true" type="java.lang.String" xml-key="true" />
				<xml-element java-attribute="assignmentType" name="assignment-type" type="java.lang.String" />
				<xml-element java-attribute="assignmentStatus" name="assignment-status" type="java.lang.String" />
				<xml-element java-attribute="assignmentGroupUuid" name="assignment-group-uuid" required="true" type="java.lang.String" />
				<xml-element java-attribute="assignmentDate" name="assignment-date" type="java.lang.String" />
				<xml-element java-attribute="name" name="name" type="java.lang.String" />
				<xml-element java-attribute="modelUuid" name="model-uuid" type="java.lang.String" />
				<xml-element java-attribute="modelVersion" name="model-version" type="java.lang.String" />
				<xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String" />
				<xml-element java-attribute="licenseKeyFileUrl" name="license-key-file-url" type="java.lang.String" />
				<xml-element container-type="java.util.ArrayList" java-attribute="supplierReleaseList" name="supplier-release-list" type="java.lang.String" />
				<xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
					<xml-properties>
						<xml-property name="description" value="Used for optimistic concurrency.  Must be empty on create, valid on update and delete." />
					</xml-properties>
				</xml-element>
				<xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
			</java-attributes>
			<xml-properties>
				<xml-property name="nameProps" value="name" />
				<xml-property name="indexedProps" value="assignment-group-uuid,att-uuid,name" />
				<xml-property name="uniqueProps" value="att-uuid" />
				<xml-property name="container" value="license-key-resources" />
				<xml-property name="namespace" value="license-management" />
			</xml-properties>
		</java-type>
		<java-type name="RelationshipList">
			<xml-root-element name="relationship-list" />
			<java-attributes>
				<xml-element container-type="java.util.ArrayList" java-attribute="relationship" name="relationship" type="inventory.aai.onap.org.v8.Relationship" />
			</java-attributes>
		</java-type>

		<java-type name="Relationship">
			<xml-root-element name="relationship" />
			<java-attributes>
				<xml-element java-attribute="relatedTo" name="related-to" type="java.lang.String">
					<xml-properties>
						<xml-property name="description" value="A keyword provided by A&amp;AI to indicate type of node." />
					</xml-properties>
				</xml-element>
				<xml-element java-attribute="relatedLink" name="related-link" type="java.lang.String">
					<xml-properties>
						<xml-property name="description" value="URL to the object in A&amp;AI." />
					</xml-properties>
				</xml-element>
				<xml-element container-type="java.util.ArrayList" java-attribute="relationshipData" name="relationship-data" type="inventory.aai.onap.org.v8.RelationshipData" />
				<xml-element container-type="java.util.ArrayList" java-attribute="relatedToProperty" name="related-to-property" type="inventory.aai.onap.org.v8.RelatedToProperty" />
			</java-attributes>
		</java-type>

		<java-type name="RelatedToProperty">
			<xml-root-element name="related-to-property" />
			<java-attributes>
				<xml-element java-attribute="propertyKey" name="property-key" type="java.lang.String">
					<xml-properties>
						<xml-property name="description" value="Key part of a key/value pair" />
					</xml-properties>
				</xml-element>
				<xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String">
					<xml-properties>
						<xml-property name="description" value="Value part of a key/value pair" />
					</xml-properties>
				</xml-element>
			</java-attributes>
		</java-type>

		<java-type name="RelationshipData">
			<xml-root-element name="relationship-data" />
			<java-attributes>
				<xml-element java-attribute="relationshipKey" name="relationship-key" required="true" type="java.lang.String">
					<xml-properties>
						<xml-property name="description" value="A keyword provided by A&amp;AI to indicate an attribute." />
					</xml-properties>
				</xml-element>
				<xml-element java-attribute="relationshipValue" name="relationship-value" required="true" type="java.lang.String">
					<xml-properties>
						<xml-property name="description" value="Value of the attribute." />
					</xml-properties>
				</xml-element>
			</java-attributes>
		</java-type>
		</java-types>
</xml-bindings>