forked from SAP/open-ux-odata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetadata.xml
145 lines (144 loc) · 7.85 KB
/
metadata.xml
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
<edmx:Reference Uri="https://sap.github.io/odata-vocabularies/vocabularies/Common.xml">
<edmx:Include Alias="Common" Namespace="com.sap.vocabularies.Common.v1"/>
</edmx:Reference>
<edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Core.V1.xml">
<edmx:Include Alias="Core" Namespace="Org.OData.Core.V1"/>
</edmx:Reference>
<edmx:Reference Uri="https://sap.github.io/odata-vocabularies/vocabularies/UI.xml">
<edmx:Include Alias="UI" Namespace="com.sap.vocabularies.UI.v1"/>
</edmx:Reference>
<edmx:DataServices>
<Schema Namespace="sap.fe.test.TestService" xmlns="http://docs.oasis-open.org/odata/ns/edm">
<EntityContainer Name="EntityContainer">
<EntitySet Name="RootEntity" EntityType="sap.fe.test.TestService.RootEntity">
<NavigationPropertyBinding Path="SiblingEntity" Target="RootEntity"/>
</EntitySet>
</EntityContainer>
<EntityType Name="RootEntity">
<Key>
<PropertyRef Name="ID"/>
<PropertyRef Name="IsActiveEntity"/>
</Key>
<Property Name="ID" Type="Edm.Int32" Nullable="false"/>
<Property Name="name" Type="Edm.String"/>
<Property Name="description" Type="Edm.String"/>
<Property Name="IsActiveEntity" Type="Edm.Boolean" Nullable="false" DefaultValue="true"/>
<Property Name="HasActiveEntity" Type="Edm.Boolean" Nullable="false" DefaultValue="false"/>
<Property Name="HasDraftEntity" Type="Edm.Boolean" Nullable="false" DefaultValue="false"/>
<NavigationProperty Name="DraftAdministrativeData" Type="sap.fe.test.TestService.DraftAdministrativeData" ContainsTarget="true"/>
<NavigationProperty Name="SiblingEntity" Type="sap.fe.test.TestService.RootEntity"/>
</EntityType>
<EntityType Name="DraftAdministrativeData">
<Key>
<PropertyRef Name="DraftUUID"/>
</Key>
<Property Name="DraftUUID" Type="Edm.Guid" Nullable="false"/>
<Property Name="CreationDateTime" Type="Edm.DateTimeOffset" Precision="7"/>
<Property Name="CreatedByUser" Type="Edm.String" MaxLength="256"/>
<Property Name="DraftIsCreatedByMe" Type="Edm.Boolean"/>
<Property Name="LastChangeDateTime" Type="Edm.DateTimeOffset" Precision="7"/>
<Property Name="LastChangedByUser" Type="Edm.String" MaxLength="256"/>
<Property Name="InProcessByUser" Type="Edm.String" MaxLength="256"/>
<Property Name="DraftIsProcessedByMe" Type="Edm.Boolean"/>
</EntityType>
<Action Name="myCustomAction" IsBound="true" EntitySetPath="in">
<Parameter Name="in" Type="sap.fe.test.TestService.RootEntity"/>
</Action>
<Action Name="draftPrepare" IsBound="true" EntitySetPath="in">
<Parameter Name="in" Type="sap.fe.test.TestService.RootEntity"/>
<Parameter Name="SideEffectsQualifier" Type="Edm.String"/>
<ReturnType Type="sap.fe.test.TestService.RootEntity"/>
</Action>
<Action Name="draftActivate" IsBound="true" EntitySetPath="in">
<Parameter Name="in" Type="sap.fe.test.TestService.RootEntity"/>
<ReturnType Type="sap.fe.test.TestService.RootEntity"/>
</Action>
<Action Name="draftEdit" IsBound="true" EntitySetPath="in">
<Parameter Name="in" Type="sap.fe.test.TestService.RootEntity"/>
<Parameter Name="PreserveChanges" Type="Edm.Boolean"/>
<ReturnType Type="sap.fe.test.TestService.RootEntity"/>
</Action>
<Annotations Target="sap.fe.test.TestService.RootEntity">
<Annotation Term="UI.LineItem">
<Collection>
<Record Type="UI.DataField">
<PropertyValue Property="Value" Path="name"/>
</Record>
<Record Type="UI.DataFieldForAction">
<PropertyValue Property="Label" String="Change Description"/>
<PropertyValue Property="Action" String="sap.fe.test.TestService.myCustomAction"/>
</Record>
<Record Type="UI.DataField">
<PropertyValue Property="Value" Path="description"/>
</Record>
</Collection>
</Annotation>
</Annotations>
<Annotations Target="sap.fe.test.TestService.EntityContainer/RootEntity">
<Annotation Term="Common.DraftRoot">
<Record Type="Common.DraftRootType">
<PropertyValue Property="ActivationAction" String="sap.fe.test.TestService.draftActivate"/>
<PropertyValue Property="EditAction" String="sap.fe.test.TestService.draftEdit"/>
<PropertyValue Property="PreparationAction" String="sap.fe.test.TestService.draftPrepare"/>
</Record>
</Annotation>
</Annotations>
<Annotations Target="sap.fe.test.TestService.RootEntity/ID">
<Annotation Term="Common.Text" Path="name">
<Annotation Term="UI.TextArrangement" EnumMember="UI.TextArrangementType/TextOnly"/>
</Annotation>
<Annotation Term="Common.Label" String="ID"/>
</Annotations>
<Annotations Target="sap.fe.test.TestService.RootEntity/name">
<Annotation Term="Common.Label" String="Name"/>
</Annotations>
<Annotations Target="sap.fe.test.TestService.RootEntity/description">
<Annotation Term="Common.Label" String="Description"/>
</Annotations>
<Annotations Target="sap.fe.test.TestService.RootEntity/IsActiveEntity">
<Annotation Term="UI.Hidden" Bool="true"/>
</Annotations>
<Annotations Target="sap.fe.test.TestService.RootEntity/HasActiveEntity">
<Annotation Term="UI.Hidden" Bool="true"/>
</Annotations>
<Annotations Target="sap.fe.test.TestService.RootEntity/HasDraftEntity">
<Annotation Term="UI.Hidden" Bool="true"/>
</Annotations>
<Annotations Target="sap.fe.test.TestService.RootEntity/DraftAdministrativeData">
<Annotation Term="UI.Hidden" Bool="true"/>
</Annotations>
<Annotations Target="sap.fe.test.TestService.DraftAdministrativeData">
<Annotation Term="Common.Label" String="{i18n>Draft_DraftAdministrativeData}"/>
</Annotations>
<Annotations Target="sap.fe.test.TestService.DraftAdministrativeData/DraftUUID">
<Annotation Term="UI.Hidden" Bool="true"/>
<Annotation Term="Common.Label" String="{i18n>Draft_DraftUUID}"/>
</Annotations>
<Annotations Target="sap.fe.test.TestService.DraftAdministrativeData/CreationDateTime">
<Annotation Term="Common.Label" String="{i18n>Draft_CreationDateTime}"/>
</Annotations>
<Annotations Target="sap.fe.test.TestService.DraftAdministrativeData/CreatedByUser">
<Annotation Term="Common.Label" String="{i18n>Draft_CreatedByUser}"/>
</Annotations>
<Annotations Target="sap.fe.test.TestService.DraftAdministrativeData/DraftIsCreatedByMe">
<Annotation Term="UI.Hidden" Bool="true"/>
<Annotation Term="Common.Label" String="{i18n>Draft_DraftIsCreatedByMe}"/>
</Annotations>
<Annotations Target="sap.fe.test.TestService.DraftAdministrativeData/LastChangeDateTime">
<Annotation Term="Common.Label" String="{i18n>Draft_LastChangeDateTime}"/>
</Annotations>
<Annotations Target="sap.fe.test.TestService.DraftAdministrativeData/LastChangedByUser">
<Annotation Term="Common.Label" String="{i18n>Draft_LastChangedByUser}"/>
</Annotations>
<Annotations Target="sap.fe.test.TestService.DraftAdministrativeData/InProcessByUser">
<Annotation Term="Common.Label" String="{i18n>Draft_InProcessByUser}"/>
</Annotations>
<Annotations Target="sap.fe.test.TestService.DraftAdministrativeData/DraftIsProcessedByMe">
<Annotation Term="UI.Hidden" Bool="true"/>
<Annotation Term="Common.Label" String="{i18n>Draft_DraftIsProcessedByMe}"/>
</Annotations>
</Schema>
</edmx:DataServices>
</edmx:Edmx>