summaryrefslogtreecommitdiffstats
path: root/aai-core/src/test/resources/oxm/business_v11.xml
blob: de2d26d7d03e8615b7323c0de5e32595ce599922 (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
<xml-bindings xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm" package-name="inventory.aai.onap.org.v11" xml-mapping-metadata-complete="true">
<xml-schema element-form-default="QUALIFIED">
<xml-ns namespace-uri="http://org.onap.aai.inventory/v11" />
</xml-schema>
<java-types>
<java-type name="Inventory">
<xml-root-element name="inventory" />
<java-attributes>
<xml-element java-attribute="business" name="business" type="inventory.aai.onap.org.v11.Business" />
</java-attributes>
</java-type>
<java-type name="Business">
<xml-properties>
<xml-property name="description" value="Namespace for business related constructs" />
</xml-properties>
<xml-root-element name="business" />
<java-attributes>
<xml-element java-attribute="customers" name="customers" type="inventory.aai.onap.org.v11.Customers" />
</java-attributes>
</java-type>
<java-type name="Customers">
<xml-properties>
<xml-property name="description" value="Collection of customer identifiers to provide linkage back to BSS information." />
</xml-properties>
<xml-root-element name="customers" />
<java-attributes>
<xml-element container-type="java.util.ArrayList" java-attribute="customer" name="customer" type="inventory.aai.onap.org.v11.Customer" />
</java-attributes>
<xml-properties>
<xml-property name="maximumDepth" value="0" />
</xml-properties>
</java-type>
<java-type name="Customer">
<xml-root-element name="customer" />
<java-attributes>
<xml-element java-attribute="globalCustomerId" name="global-customer-id" required="true" type="java.lang.String" xml-key="true">
<xml-properties>
<xml-property name="description" value="Global customer id used across to uniquely identify customer." />
</xml-properties>
</xml-element>
<xml-element java-attribute="subscriberName" name="subscriber-name" required="true" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Subscriber name, an alternate way to retrieve a customer." />
</xml-properties>
</xml-element>
<xml-element java-attribute="subscriberType" name="subscriber-type" required="true" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Subscriber type, a way to provide VID with only the INFRA customers." />
<xml-property name="defaultValue" value="CUST" />
</xml-properties>
</xml-element>
<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="serviceSubscriptions" name="service-subscriptions" type="inventory.aai.onap.org.v11.ServiceSubscriptions" />
</java-attributes>
<xml-properties>
<xml-property name="description" value="customer identifiers to provide linkage back to BSS information." />
<xml-property name="nameProps" value="subscriber-name" />
<xml-property name="indexedProps" value="subscriber-name,global-customer-id,subscriber-type" />
<xml-property name="searchable" value="global-customer-id,subscriber-name" />
<xml-property name="uniqueProps" value="global-customer-id" />
<xml-property name="container" value="customers" />
<xml-property name="namespace" value="business" />
</xml-properties>
</java-type>
<java-type name="ServiceSubscriptions">
<xml-properties>
<xml-property name="description" value="Collection of objects that group service instances." />
</xml-properties>
<xml-root-element name="service-subscriptions" />
<java-attributes>
<xml-element container-type="java.util.ArrayList" java-attribute="serviceSubscription" name="service-subscription" type="inventory.aai.onap.org.v11.ServiceSubscription" />
</java-attributes>
</java-type>
<java-type name="ServiceSubscription">
<xml-root-element name="service-subscription" />
<java-attributes>
<xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
<xml-properties>
<xml-property name="description" value="Value defined by orchestration to identify this service." />
</xml-properties>
</xml-element>
<xml-element java-attribute="tempUbSubAccountId" name="temp-ub-sub-account-id" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="This property will be deleted from A&amp;AI in the near future. Only stop gap solution." />
</xml-properties>
</xml-element>
<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>
</java-attributes>
<xml-properties>
<xml-property name="description" value="Object that group service instances." />
<xml-property name="indexedProps" value="service-type" />
<xml-property name="dependentOn" value="customer" />
<xml-property name="container" value="service-subscriptions" />
<xml-property name="crossEntityReference" value="service-instance,service-type" />
</xml-properties>
</java-type>
</java-types>
</xml-bindings>