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 2016/05/13 18:14:12 UTC
[30/50] [abbrv] isis git commit: ISIS-1389: further minor changes for
consistency.
ISIS-1389: further minor changes for consistency.
Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/f00d2d2f
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/f00d2d2f
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/f00d2d2f
Branch: refs/heads/master
Commit: f00d2d2fe44344a9b5112ba819b588805b730ea6
Parents: e85f405
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Wed May 4 19:08:35 2016 +0100
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Wed May 4 19:08:35 2016 +0100
----------------------------------------------------------------------
.../isis/schema/utils/InteractionDtoUtils.java | 2 +-
.../org/apache/isis/schema/utils/Roundtrip.java | 2 +-
.../org/apache/isis/schema/cmd/cmd-1.0.xsd | 12 ++++++------
.../org/apache/isis/schema/ixn/ixn-1.0.xsd | 18 +++++++++---------
4 files changed, 17 insertions(+), 17 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/isis/blob/f00d2d2f/core/applib/src/main/java/org/apache/isis/schema/utils/InteractionDtoUtils.java
----------------------------------------------------------------------
diff --git a/core/applib/src/main/java/org/apache/isis/schema/utils/InteractionDtoUtils.java b/core/applib/src/main/java/org/apache/isis/schema/utils/InteractionDtoUtils.java
index da95ace..121c47a 100644
--- a/core/applib/src/main/java/org/apache/isis/schema/utils/InteractionDtoUtils.java
+++ b/core/applib/src/main/java/org/apache/isis/schema/utils/InteractionDtoUtils.java
@@ -234,7 +234,7 @@ public final class InteractionDtoUtils {
executionDto.setTitle(targetTitle);
executionDto.setUser(user);
- executionDto.setMemberId(memberId);
+ executionDto.setMemberIdentifier(memberId);
return executionDto;
}
http://git-wip-us.apache.org/repos/asf/isis/blob/f00d2d2f/core/applib/src/test/java/org/apache/isis/schema/utils/Roundtrip.java
----------------------------------------------------------------------
diff --git a/core/applib/src/test/java/org/apache/isis/schema/utils/Roundtrip.java b/core/applib/src/test/java/org/apache/isis/schema/utils/Roundtrip.java
index 127e771..07a881c 100644
--- a/core/applib/src/test/java/org/apache/isis/schema/utils/Roundtrip.java
+++ b/core/applib/src/test/java/org/apache/isis/schema/utils/Roundtrip.java
@@ -132,7 +132,7 @@ public class Roundtrip {
// then
- assertThat(recreated.getExecution().getMemberId(), Matchers.is(interactionDto.getExecution().getMemberId()));
+ assertThat(recreated.getExecution().getMemberIdentifier(), Matchers.is(interactionDto.getExecution().getMemberIdentifier()));
assertThat(recreated.getExecution().getTarget().getObjectType(), Matchers.is(interactionDto.getExecution().getTarget().getObjectType()));
assertThat(recreated.getExecution().getTarget().getObjectIdentifier(), Matchers.is(interactionDto.getExecution().getTarget().getObjectIdentifier()));
http://git-wip-us.apache.org/repos/asf/isis/blob/f00d2d2f/core/schema/src/main/resources/org/apache/isis/schema/cmd/cmd-1.0.xsd
----------------------------------------------------------------------
diff --git a/core/schema/src/main/resources/org/apache/isis/schema/cmd/cmd-1.0.xsd b/core/schema/src/main/resources/org/apache/isis/schema/cmd/cmd-1.0.xsd
index 5d6cee9..037acd5 100644
--- a/core/schema/src/main/resources/org/apache/isis/schema/cmd/cmd-1.0.xsd
+++ b/core/schema/src/main/resources/org/apache/isis/schema/cmd/cmd-1.0.xsd
@@ -83,13 +83,13 @@
</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="interactionType" type="common:interactionType">
- <xs:annotation>
- <xs:documentation>Indicates whether this is an intention to invoke an action, or edit a property.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
</xs:sequence>
+ <xs:attribute name="interactionType" type="common:interactionType">
+ <xs:annotation>
+ <xs:documentation>Indicates whether this is an intention to invoke an action, or edit a property.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
</xs:complexType>
<xs:complexType name="actionDto">
http://git-wip-us.apache.org/repos/asf/isis/blob/f00d2d2f/core/schema/src/main/resources/org/apache/isis/schema/ixn/ixn-1.0.xsd
----------------------------------------------------------------------
diff --git a/core/schema/src/main/resources/org/apache/isis/schema/ixn/ixn-1.0.xsd b/core/schema/src/main/resources/org/apache/isis/schema/ixn/ixn-1.0.xsd
index 6977fa5..3c1688a 100644
--- a/core/schema/src/main/resources/org/apache/isis/schema/ixn/ixn-1.0.xsd
+++ b/core/schema/src/main/resources/org/apache/isis/schema/ixn/ixn-1.0.xsd
@@ -83,15 +83,9 @@
</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="interactionType" type="common:interactionType">
+ <xs:element name="memberIdentifier" type="xs:string">
<xs:annotation>
- <xs:documentation>Indicates whether this is an intention to invoke an action, or edit a property.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="memberId" type="xs:string">
- <xs:annotation>
- <xs:documentation>Formal identifier of the member being interacted with (action or property).
+ <xs:documentation>Formal identifier (class name and member name) of the member being interacted with (action or property).
</xs:documentation>
</xs:annotation>
</xs:element>
@@ -119,7 +113,7 @@
</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="childExecutions" minOccurs="1" maxOccurs="1">
+ <xs:element name="childExecutions" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="execution" type="memberExecutionDto" minOccurs="0" maxOccurs="unbounded">
@@ -132,6 +126,12 @@
</xs:complexType>
</xs:element>
</xs:sequence>
+ <xs:attribute name="interactionType" type="common:interactionType">
+ <xs:annotation>
+ <xs:documentation>Indicates whether this is an intention to invoke an action, or edit a property.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
</xs:complexType>
<xs:complexType name="actionInvocationDto">