Change openecomp to onap and update license
[aai/aai-common.git] / aai-core / src / test / resources / bundleconfig-local / etc / oxm / aai_oxm_v8.xml
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!--
3
4     ============LICENSE_START=======================================================
5     org.onap.aai
6     ================================================================================
7     Copyright © 2017 AT&T Intellectual Property. All rights reserved.
8     ================================================================================
9     Licensed under the Apache License, Version 2.0 (the "License");
10     you may not use this file except in compliance with the License.
11     You may obtain a copy of the License at
12
13        http://www.apache.org/licenses/LICENSE-2.0
14
15     Unless required by applicable law or agreed to in writing, software
16     distributed under the License is distributed on an "AS IS" BASIS,
17     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18     See the License for the specific language governing permissions and
19     limitations under the License.
20     ============LICENSE_END=========================================================
21
22     ECOMP is a trademark and service mark of AT&T Intellectual Property.
23
24 -->
25 <xml-bindings xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm" package-name="inventory.aai.onap.org.v8" xml-mapping-metadata-complete="true">
26         <xml-schema element-form-default="QUALIFIED">
27                 <xml-ns namespace-uri="http://com.att.aai.inventory/v8" />
28         </xml-schema>
29         <java-types>
30         <java-type name="LicenseKeyResources">
31                         <xml-root-element name="license-key-resources" />
32                         <java-attributes>
33                                 <xml-element container-type="java.util.ArrayList" java-attribute="licenseKeyResource" name="license-key-resource" type="inventory.aai.onap.org.v8.LicenseKeyResource" />
34                         </java-attributes>
35                 </java-type>
36
37                 <java-type name="LicenseKeyResource">
38                         <xml-root-element name="license-key-resource" />
39                         <java-attributes>
40                                 <xml-element java-attribute="attUuid" name="att-uuid" required="true" type="java.lang.String" xml-key="true" />
41                                 <xml-element java-attribute="assignmentType" name="assignment-type" type="java.lang.String" />
42                                 <xml-element java-attribute="assignmentStatus" name="assignment-status" type="java.lang.String" />
43                                 <xml-element java-attribute="assignmentGroupUuid" name="assignment-group-uuid" required="true" type="java.lang.String" />
44                                 <xml-element java-attribute="assignmentDate" name="assignment-date" type="java.lang.String" />
45                                 <xml-element java-attribute="name" name="name" type="java.lang.String" />
46                                 <xml-element java-attribute="modelUuid" name="model-uuid" type="java.lang.String" />
47                                 <xml-element java-attribute="modelVersion" name="model-version" type="java.lang.String" />
48                                 <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String" />
49                                 <xml-element java-attribute="licenseKeyFileUrl" name="license-key-file-url" type="java.lang.String" />
50                                 <xml-element container-type="java.util.ArrayList" java-attribute="supplierReleaseList" name="supplier-release-list" type="java.lang.String" />
51                                 <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
52                                         <xml-properties>
53                                                 <xml-property name="description" value="Used for optimistic concurrency.  Must be empty on create, valid on update and delete." />
54                                         </xml-properties>
55                                 </xml-element>
56                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
57                         </java-attributes>
58                         <xml-properties>
59                                 <xml-property name="nameProps" value="name" />
60                                 <xml-property name="indexedProps" value="assignment-group-uuid,att-uuid,name" />
61                                 <xml-property name="uniqueProps" value="att-uuid" />
62                                 <xml-property name="container" value="license-key-resources" />
63                                 <xml-property name="namespace" value="license-management" />
64                         </xml-properties>
65                 </java-type>
66                 <java-type name="RelationshipList">
67                         <xml-root-element name="relationship-list" />
68                         <java-attributes>
69                                 <xml-element container-type="java.util.ArrayList" java-attribute="relationship" name="relationship" type="inventory.aai.onap.org.v8.Relationship" />
70                         </java-attributes>
71                 </java-type>
72
73                 <java-type name="Relationship">
74                         <xml-root-element name="relationship" />
75                         <java-attributes>
76                                 <xml-element java-attribute="relatedTo" name="related-to" type="java.lang.String">
77                                         <xml-properties>
78                                                 <xml-property name="description" value="A keyword provided by A&amp;AI to indicate type of node." />
79                                         </xml-properties>
80                                 </xml-element>
81                                 <xml-element java-attribute="relatedLink" name="related-link" type="java.lang.String">
82                                         <xml-properties>
83                                                 <xml-property name="description" value="URL to the object in A&amp;AI." />
84                                         </xml-properties>
85                                 </xml-element>
86                                 <xml-element container-type="java.util.ArrayList" java-attribute="relationshipData" name="relationship-data" type="inventory.aai.onap.org.v8.RelationshipData" />
87                                 <xml-element container-type="java.util.ArrayList" java-attribute="relatedToProperty" name="related-to-property" type="inventory.aai.onap.org.v8.RelatedToProperty" />
88                         </java-attributes>
89                 </java-type>
90
91                 <java-type name="RelatedToProperty">
92                         <xml-root-element name="related-to-property" />
93                         <java-attributes>
94                                 <xml-element java-attribute="propertyKey" name="property-key" type="java.lang.String">
95                                         <xml-properties>
96                                                 <xml-property name="description" value="Key part of a key/value pair" />
97                                         </xml-properties>
98                                 </xml-element>
99                                 <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String">
100                                         <xml-properties>
101                                                 <xml-property name="description" value="Value part of a key/value pair" />
102                                         </xml-properties>
103                                 </xml-element>
104                         </java-attributes>
105                 </java-type>
106
107                 <java-type name="RelationshipData">
108                         <xml-root-element name="relationship-data" />
109                         <java-attributes>
110                                 <xml-element java-attribute="relationshipKey" name="relationship-key" required="true" type="java.lang.String">
111                                         <xml-properties>
112                                                 <xml-property name="description" value="A keyword provided by A&amp;AI to indicate an attribute." />
113                                         </xml-properties>
114                                 </xml-element>
115                                 <xml-element java-attribute="relationshipValue" name="relationship-value" required="true" type="java.lang.String">
116                                         <xml-properties>
117                                                 <xml-property name="description" value="Value of the attribute." />
118                                         </xml-properties>
119                                 </xml-element>
120                         </java-attributes>
121                 </java-type>
122                 </java-types>
123 </xml-bindings>