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 2017/01/19 11:09:16 UTC

[10/24] isis git commit: ISIS-785: introduces OneToManyActionParameter{Contributee/MixedIn}

ISIS-785: introduces OneToManyActionParameter{Contributee/MixedIn}


Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/30d23e05
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/30d23e05
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/30d23e05

Branch: refs/heads/maint-1.13.3
Commit: 30d23e057e97a78285585b582b64b08622e1bc1d
Parents: d2847d5
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Wed Jan 18 11:15:30 2017 +0000
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Wed Jan 18 11:15:30 2017 +0000

----------------------------------------------------------------------
 .../OneToManyActionParameterContributee.java    | 38 ++++++++++++++++++++
 .../OneToManyActionParameterMixedIn.java        | 35 ++++++++++++++++++
 2 files changed, 73 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/30d23e05/core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/specimpl/OneToManyActionParameterContributee.java
----------------------------------------------------------------------
diff --git a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/specimpl/OneToManyActionParameterContributee.java b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/specimpl/OneToManyActionParameterContributee.java
new file mode 100644
index 0000000..54eae3c
--- /dev/null
+++ b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/specimpl/OneToManyActionParameterContributee.java
@@ -0,0 +1,38 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.isis.core.metamodel.specloader.specimpl;
+
+import org.apache.isis.core.metamodel.adapter.ObjectAdapter;
+import org.apache.isis.core.metamodel.spec.feature.OneToManyActionParameter;
+
+public class OneToManyActionParameterContributee
+        extends ObjectActionParameterContributeeAbstract
+        implements OneToManyActionParameter {
+
+    public OneToManyActionParameterContributee(
+            final ObjectAdapter serviceAdapter,
+            final ObjectActionParameterAbstract serviceActionParameter,
+            final int contributeeParamNumber,
+            final ObjectActionContributee contributeeAction) {
+        super(serviceAdapter, serviceActionParameter, contributeeParamNumber, contributeeAction);
+    }
+
+    @Override
+    public CollectionSemantics getCollectionSemantics() {
+        throw new RuntimeException("TODO: not yet implemented");
+    }
+}

http://git-wip-us.apache.org/repos/asf/isis/blob/30d23e05/core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/specimpl/OneToManyActionParameterMixedIn.java
----------------------------------------------------------------------
diff --git a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/specimpl/OneToManyActionParameterMixedIn.java b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/specimpl/OneToManyActionParameterMixedIn.java
new file mode 100644
index 0000000..b95106c
--- /dev/null
+++ b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/specimpl/OneToManyActionParameterMixedIn.java
@@ -0,0 +1,35 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.isis.core.metamodel.specloader.specimpl;
+
+import org.apache.isis.core.metamodel.spec.feature.OneToManyActionParameter;
+
+public class OneToManyActionParameterMixedIn
+        extends ObjectActionParameterMixedInAbstract
+        implements OneToManyActionParameter {
+
+    public OneToManyActionParameterMixedIn(
+            final ObjectActionParameterAbstract mixinParameter,
+            final ObjectActionMixedIn mixedInAction) {
+        super(mixinParameter, mixedInAction);
+    }
+
+    @Override
+    public CollectionSemantics getCollectionSemantics() {
+        throw new RuntimeException("TODO: not yet implemented");
+    }
+}