You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2018/12/31 16:35:59 UTC

[isis] 05/08: ISIS-2003: minor updates to documentation of metamodel-1.0.xsd

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch release-1.17.0-RC1
in repository https://gitbox.apache.org/repos/asf/isis.git

commit 05781751596c0db02406539cc9d26ebe92ffacba
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Mon Dec 31 16:15:04 2018 +0000

    ISIS-2003: minor updates to documentation of metamodel-1.0.xsd
---
 .../org/apache/isis/schema/metamodel/metamodel-1.0.xsd       | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/core/schema/src/main/resources/org/apache/isis/schema/metamodel/metamodel-1.0.xsd b/core/schema/src/main/resources/org/apache/isis/schema/metamodel/metamodel-1.0.xsd
index 29ccad9..d1cee4b 100644
--- a/core/schema/src/main/resources/org/apache/isis/schema/metamodel/metamodel-1.0.xsd
+++ b/core/schema/src/main/resources/org/apache/isis/schema/metamodel/metamodel-1.0.xsd
@@ -54,7 +54,7 @@
                         </xs:element>
                         <xs:element name="properties" minOccurs="0">
                             <xs:annotation>
-                                <xs:documentation>Optional because domain services have properties.
+                                <xs:documentation>The properties, if any, of this domain class.  This will include any mixin properties.
                                 </xs:documentation>
                             </xs:annotation>
                             <xs:complexType>
@@ -65,7 +65,7 @@
                         </xs:element>
                         <xs:element name="collections" minOccurs="0">
                             <xs:annotation>
-                                <xs:documentation>Optional because domain services have collections.
+                                <xs:documentation>The collections, if any, of this domain class.  This will include any mixin collections.
                                 </xs:documentation>
                             </xs:annotation>
                             <xs:complexType>
@@ -75,6 +75,10 @@
                             </xs:complexType>
                         </xs:element>
                         <xs:element name="actions" minOccurs="0">
+                            <xs:annotation>
+                                <xs:documentation>The actions, if any, of this domain class.  This will include any mixin actions.
+                                </xs:documentation>
+                            </xs:annotation>
                             <xs:complexType>
                                 <xs:sequence>
                                     <xs:element name="act" type="action" minOccurs="0" maxOccurs="unbounded"/>
@@ -174,7 +178,7 @@
                 <xs:sequence>
                     <xs:element name="returnType" type="xs:IDREF">
                         <xs:annotation>
-                            <xs:documentation>(A reference to) the return type of this collection, eg a String or a Customer.
+                            <xs:documentation>A (reference to) the return type of this action, eg a String or a Customer.
                                 Corresponds to ObjectAction#getReturnType() in the internal metamodel.
                             </xs:documentation>
                         </xs:annotation>
@@ -289,7 +293,7 @@
                 </xs:annotation>
                 <xs:attribute name="name" type="xs:string">
                     <xs:annotation>
-                        <xs:documentation>The name of the attribute value, unique across all facet attributes of a facet.
+                        <xs:documentation>The name of the attribute, unique across all facet attributes of a facet.
                         </xs:documentation>
                     </xs:annotation>
                 </xs:attribute>