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 2020/06/26 07:06:49 UTC

[isis] 05/06: ISIS-2222: removes the XxxNavigable mixins for primitive types.

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

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

commit f66862b7f8f677b81c7f9ca5a6db57bca50da6f4
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Fri Jun 26 07:59:51 2020 +0100

    ISIS-2222: removes the XxxNavigable mixins for primitive types.
---
 ...mitiveBooleanHolder_mixinPropertyNavigable.java | 39 ----------------------
 ...PrimitiveByteHolder_mixinPropertyNavigable.java | 39 ----------------------
 ...PrimitiveCharHolder_mixinPropertyNavigable.java | 39 ----------------------
 ...imitiveDoubleHolder_mixinPropertyNavigable.java | 39 ----------------------
 ...rimitiveFloatHolder_mixinPropertyNavigable.java | 39 ----------------------
 .../PrimitiveIntHolder_mixinPropertyNavigable.java | 39 ----------------------
 ...PrimitiveLongHolder_mixinPropertyNavigable.java | 39 ----------------------
 ...rimitiveShortHolder_mixinPropertyNavigable.java | 39 ----------------------
 8 files changed, 312 deletions(-)

diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/booleans/holder/PrimitiveBooleanHolder_mixinPropertyNavigable.java b/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/booleans/holder/PrimitiveBooleanHolder_mixinPropertyNavigable.java
deleted file mode 100644
index 06ed849..0000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/booleans/holder/PrimitiveBooleanHolder_mixinPropertyNavigable.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- *  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 demoapp.dom.types.primitive.booleans.holder;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-
-import lombok.RequiredArgsConstructor;
-
-
-//@Property()
-//@PropertyLayout( navigable = Navigable.PARENT, describedAs = "navigable=PARENT") // TODO: doesn't seem to do anything
-@RequiredArgsConstructor
-public class PrimitiveBooleanHolder_mixinPropertyNavigable {
-
-    private final PrimitiveBooleanHolder primitiveBooleanHolder;
-
-    @MemberOrder(name = "contributed", sequence = "1")
-    public boolean prop() {
-        return primitiveBooleanHolder.isReadOnlyProperty();
-    }
-
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/bytes/holder/PrimitiveByteHolder_mixinPropertyNavigable.java b/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/bytes/holder/PrimitiveByteHolder_mixinPropertyNavigable.java
deleted file mode 100644
index 970c176..0000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/bytes/holder/PrimitiveByteHolder_mixinPropertyNavigable.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- *  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 demoapp.dom.types.primitive.bytes.holder;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-
-import lombok.RequiredArgsConstructor;
-
-
-//@Property()
-//@PropertyLayout( navigable = Navigable.PARENT, describedAs = "navigable=PARENT") // TODO: doesn't seem to do anything
-@RequiredArgsConstructor
-public class PrimitiveByteHolder_mixinPropertyNavigable {
-
-    private final PrimitiveByteHolder primitiveByteHolder;
-
-    @MemberOrder(name = "contributed", sequence = "1")
-    public byte prop() {
-        return primitiveByteHolder.getReadOnlyProperty();
-    }
-
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/chars/holder/PrimitiveCharHolder_mixinPropertyNavigable.java b/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/chars/holder/PrimitiveCharHolder_mixinPropertyNavigable.java
deleted file mode 100644
index 89732ec..0000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/chars/holder/PrimitiveCharHolder_mixinPropertyNavigable.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- *  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 demoapp.dom.types.primitive.chars.holder;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-
-import lombok.RequiredArgsConstructor;
-
-
-//@Property()
-//@PropertyLayout( navigable = Navigable.PARENT, describedAs = "navigable=PARENT") // TODO: doesn't seem to do anything
-@RequiredArgsConstructor
-public class PrimitiveCharHolder_mixinPropertyNavigable {
-
-    private final demoapp.dom.types.primitive.chars.holder.PrimitiveCharHolder primitiveCharHolder;
-
-    @MemberOrder(name = "contributed", sequence = "1")
-    public char prop() {
-        return primitiveCharHolder.getReadOnlyProperty();
-    }
-
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/doubles/holder/PrimitiveDoubleHolder_mixinPropertyNavigable.java b/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/doubles/holder/PrimitiveDoubleHolder_mixinPropertyNavigable.java
deleted file mode 100644
index f1a6faa..0000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/doubles/holder/PrimitiveDoubleHolder_mixinPropertyNavigable.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- *  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 demoapp.dom.types.primitive.doubles.holder;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-
-import lombok.RequiredArgsConstructor;
-
-
-//@Property()
-//@PropertyLayout( navigable = Navigable.PARENT, describedAs = "navigable=PARENT") // TODO: doesn't seem to do anything
-@RequiredArgsConstructor
-public class PrimitiveDoubleHolder_mixinPropertyNavigable {
-
-    private final PrimitiveDoubleHolder primitiveDoubleHolder;
-
-    @MemberOrder(name = "contributed", sequence = "1")
-    public double prop() {
-        return primitiveDoubleHolder.getReadOnlyProperty();
-    }
-
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/floats/holder/PrimitiveFloatHolder_mixinPropertyNavigable.java b/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/floats/holder/PrimitiveFloatHolder_mixinPropertyNavigable.java
deleted file mode 100644
index 0765b3c..0000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/floats/holder/PrimitiveFloatHolder_mixinPropertyNavigable.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- *  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 demoapp.dom.types.primitive.floats.holder;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-
-import lombok.RequiredArgsConstructor;
-
-
-//@Property()
-//@PropertyLayout( navigable = Navigable.PARENT, describedAs = "navigable=PARENT") // TODO: doesn't seem to do anything
-@RequiredArgsConstructor
-public class PrimitiveFloatHolder_mixinPropertyNavigable {
-
-    private final PrimitiveFloatHolder primitiveFloatHolder;
-
-    @MemberOrder(name = "contributed", sequence = "1")
-    public float prop() {
-        return primitiveFloatHolder.getReadOnlyProperty();
-    }
-
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/ints/holder/PrimitiveIntHolder_mixinPropertyNavigable.java b/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/ints/holder/PrimitiveIntHolder_mixinPropertyNavigable.java
deleted file mode 100644
index 6afdfdd..0000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/ints/holder/PrimitiveIntHolder_mixinPropertyNavigable.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- *  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 demoapp.dom.types.primitive.ints.holder;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-
-import lombok.RequiredArgsConstructor;
-
-
-//@Property()
-//@PropertyLayout( navigable = Navigable.PARENT, describedAs = "navigable=PARENT") // TODO: doesn't seem to do anything
-@RequiredArgsConstructor
-public class PrimitiveIntHolder_mixinPropertyNavigable {
-
-    private final PrimitiveIntHolder primitiveIntHolder;
-
-    @MemberOrder(name = "contributed", sequence = "1")
-    public int prop() {
-        return primitiveIntHolder.getReadOnlyProperty();
-    }
-
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/longs/holder/PrimitiveLongHolder_mixinPropertyNavigable.java b/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/longs/holder/PrimitiveLongHolder_mixinPropertyNavigable.java
deleted file mode 100644
index 7596b10..0000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/longs/holder/PrimitiveLongHolder_mixinPropertyNavigable.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- *  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 demoapp.dom.types.primitive.longs.holder;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-
-import lombok.RequiredArgsConstructor;
-
-
-//@Property()
-//@PropertyLayout( navigable = Navigable.PARENT, describedAs = "navigable=PARENT") // TODO: doesn't seem to do anything
-@RequiredArgsConstructor
-public class PrimitiveLongHolder_mixinPropertyNavigable {
-
-    private final PrimitiveLongHolder primitiveLongHolder;
-
-    @MemberOrder(name = "contributed", sequence = "1")
-    public long prop() {
-        return primitiveLongHolder.getReadOnlyProperty();
-    }
-
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/shorts/holder/PrimitiveShortHolder_mixinPropertyNavigable.java b/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/shorts/holder/PrimitiveShortHolder_mixinPropertyNavigable.java
deleted file mode 100644
index 3ed0dab..0000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/shorts/holder/PrimitiveShortHolder_mixinPropertyNavigable.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- *  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 demoapp.dom.types.primitive.shorts.holder;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-
-import lombok.RequiredArgsConstructor;
-
-
-//@Property()
-//@PropertyLayout( navigable = Navigable.PARENT, describedAs = "navigable=PARENT") // TODO: doesn't seem to do anything
-@RequiredArgsConstructor
-public class PrimitiveShortHolder_mixinPropertyNavigable {
-
-    private final PrimitiveShortHolder primitiveShortHolder;
-
-    @MemberOrder(name = "contributed", sequence = "1")
-    public short prop() {
-        return primitiveShortHolder.getReadOnlyProperty();
-    }
-
-
-}