Skip to content

Commit

Permalink
ImplementsInterface contains a qualified name
Browse files Browse the repository at this point in the history
  • Loading branch information
HeikoTheissen committed Sep 22, 2023
1 parent 20f34f7 commit 35fc526
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion vocabularies/Org.OData.Core.V1.json
Original file line number Diff line number Diff line change
Expand Up @@ -740,11 +740,12 @@
},
"ImplementsInterface": {
"$Kind": "Term",
"$Type": "Core.QualifiedName",
"$AppliesTo": [
"Action",
"Function"
],
"@Core.Description": "The action or function implements the [interface](#IsInterface) action or function whose name is the annotation value"
"@Core.Description": "The action or function implements the [interface](#IsInterface) action or function whose qualified name is the annotation value"
}
}
}
2 changes: 1 addition & 1 deletion vocabularies/Org.OData.Core.V1.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Term|Type|Description
[SymbolicName](./Org.OData.Core.V1.xml#L536:~:text=<Term%20Name="-,SymbolicName,-")|[SimpleIdentifier](#SimpleIdentifier)|<a name="SymbolicName"></a>A symbolic name for a model element
[GeometryFeature](./Org.OData.Core.V1.xml#L545:~:text=<Term%20Name="-,GeometryFeature,-")|[GeometryFeatureType?](#GeometryFeatureType)|<a name="GeometryFeature"></a>A [Feature Object](https://datatracker.ietf.org/doc/html/rfc7946#section-3.2) represents a spatially bounded thing
[IsInterface](./Org.OData.Core.V1.xml#L561:~:text=<Term%20Name="-,IsInterface,-")|[Tag](#Tag)|<a name="IsInterface"></a>The tagged action or function cannot be invoked, it serves only as an interface<br>Services that want to implement the interface define an action or function with the same signature or a specialized signature that replaces abstract types like `Edm.EntityType` with concrete types. These function MUST be annotated with [`ImplementsInterface`](#ImplementsInterface).
[ImplementsInterface](./Org.OData.Core.V1.xml#L569:~:text=<Term%20Name="-,ImplementsInterface,-")|String|<a name="ImplementsInterface"></a>The action or function implements the [interface](#IsInterface) action or function whose name is the annotation value
[ImplementsInterface](./Org.OData.Core.V1.xml#L569:~:text=<Term%20Name="-,ImplementsInterface,-")|[QualifiedName](#QualifiedName)|<a name="ImplementsInterface"></a>The action or function implements the [interface](#IsInterface) action or function whose qualified name is the annotation value

<a name="RevisionType"></a>
## [RevisionType](./Org.OData.Core.V1.xml#L80:~:text=<ComplexType%20Name="-,RevisionType,-")
Expand Down
4 changes: 2 additions & 2 deletions vocabularies/Org.OData.Core.V1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,8 @@ Any simple identifier | Any type listed in `Validation.OpenPropertyTypeConstrain
These function MUST be annotated with [`ImplementsInterface`](#ImplementsInterface).</String>
</Annotation>
</Term>
<Term Name="ImplementsInterface" Type="Edm.String" Nullable="false" AppliesTo="Action Function">
<Annotation Term="Core.Description" String="The action or function implements the [interface](#IsInterface) action or function whose name is the annotation value" />
<Term Name="ImplementsInterface" Type="Core.QualifiedName" Nullable="false" AppliesTo="Action Function">
<Annotation Term="Core.Description" String="The action or function implements the [interface](#IsInterface) action or function whose qualified name is the annotation value" />
</Term>

</Schema>
Expand Down

0 comments on commit 35fc526

Please sign in to comment.