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 2012/12/06 15:29:39 UTC

[30/32] ISIS-188: factored out isis-parent pom

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/poly/Stringable.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/poly/Stringable.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/poly/Stringable.java
deleted file mode 100755
index e72dc47..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/poly/Stringable.java
+++ /dev/null
@@ -1,24 +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 org.apache.isis.tck.dom.poly;
-
-public interface Stringable {
-    public String getString();
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/poly/StringableEntityWithOwnDerivedProperty.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/poly/StringableEntityWithOwnDerivedProperty.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/poly/StringableEntityWithOwnDerivedProperty.java
deleted file mode 100644
index 5c8f63c..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/poly/StringableEntityWithOwnDerivedProperty.java
+++ /dev/null
@@ -1,41 +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 org.apache.isis.tck.dom.poly;
-
-
-public class StringableEntityWithOwnDerivedProperty implements Stringable {
-    
-    // {{ String
-    private String string;
-
-    @Override
-    public String getString() {
-        return string;
-    }
-
-    public void setString(final String string) {
-        this.string = string;
-    }
-    // }}
-
-    public String getSpecial() {
-        return "special";
-    }
-
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/poly/StringableEntityWithOwnProperties.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/poly/StringableEntityWithOwnProperties.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/poly/StringableEntityWithOwnProperties.java
deleted file mode 100755
index a626793..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/poly/StringableEntityWithOwnProperties.java
+++ /dev/null
@@ -1,71 +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 org.apache.isis.tck.dom.poly;
-
-import org.apache.isis.applib.AbstractDomainObject;
-import org.apache.isis.applib.annotation.MemberOrder;
-
-public class StringableEntityWithOwnProperties extends AbstractDomainObject implements Stringable, Empty {
-    
-    public String title() {
-        return string;
-    }
-
-    // {{ String type
-    private String string;
-
-    @Override
-    public String getString() {
-        return string;
-    }
-
-    public void setString(final String string) {
-        this.string = string;
-    }
-
-    // }}
-
-    // {{ Special
-    private String special;
-
-    public String getSpecial() {
-        return special;
-    }
-
-    public void setSpecial(final String special) {
-        this.special = special;
-    }
-
-    // }}
-
-    // {{ Integer
-    private Integer integerValue;
-
-    @MemberOrder(sequence = "1")
-    public Integer getInteger() {
-        return integerValue;
-    }
-
-    public void setInteger(final Integer integerValue) {
-        this.integerValue = integerValue;
-    }
-    // }}
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/poly/StringableEntityWithOwnProperty.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/poly/StringableEntityWithOwnProperty.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/poly/StringableEntityWithOwnProperty.java
deleted file mode 100755
index 77a0821..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/poly/StringableEntityWithOwnProperty.java
+++ /dev/null
@@ -1,51 +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 org.apache.isis.tck.dom.poly;
-
-import org.apache.isis.applib.AbstractDomainObject;
-
-public class StringableEntityWithOwnProperty extends AbstractDomainObject implements Stringable {
-
-    public String title() {
-        return string;
-    }
-
-    // {{ String type
-    private String string;
-    @Override
-    public String getString() {
-        return string;
-    }
-    public void setString(final String string) {
-        this.string = string;
-    }
-    // }}
-
-    // {{ Special
-    private String special;
-    public String getSpecial() {
-        return special;
-    }
-    public void setSpecial(final String special) {
-        this.special = special;
-    }
-    // }}
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/AggregatedEntity.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/AggregatedEntity.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/AggregatedEntity.java
deleted file mode 100644
index b81e8a0..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/AggregatedEntity.java
+++ /dev/null
@@ -1,47 +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 org.apache.isis.tck.dom.refs;
-
-import org.apache.isis.applib.annotation.Aggregated;
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.ObjectType;
-
-@javax.jdo.annotations.PersistenceCapable
-@javax.jdo.annotations.EmbeddedOnly
-@javax.jdo.annotations.Discriminator("RFCG")
-@Aggregated
-@ObjectType("AGGR")
-public class AggregatedEntity extends BaseEntity {
-    
-    // {{ Name
-    private String name;
-
-    @MemberOrder(sequence = "1")
-    public String getName() {
-        return name;
-    }
-
-    public void setName(final String name) {
-        this.name = name;
-    }
-
-    // }}
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BaseEntity.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BaseEntity.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BaseEntity.java
deleted file mode 100644
index 0c5f027..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BaseEntity.java
+++ /dev/null
@@ -1,26 +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 org.apache.isis.tck.dom.refs;
-
-import org.apache.isis.applib.AbstractContainedObject;
-
-public abstract class BaseEntity extends AbstractContainedObject {
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithListChildEntity.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithListChildEntity.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithListChildEntity.java
deleted file mode 100644
index 77fc124..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithListChildEntity.java
+++ /dev/null
@@ -1,94 +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 org.apache.isis.tck.dom.refs;
-
-import java.util.List;
-
-import javax.jdo.annotations.IdentityType;
-
-import org.apache.isis.applib.AbstractDomainObject;
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.applib.annotation.Optional;
-import org.apache.isis.applib.annotation.Title;
-
-@javax.jdo.annotations.PersistenceCapable(identityType=IdentityType.DATASTORE)
-@javax.jdo.annotations.Discriminator("BDLC")
-@javax.jdo.annotations.DatastoreIdentity(strategy=javax.jdo.annotations.IdGeneratorStrategy.IDENTITY)
-@ObjectType("BDLC")
-public class BidirWithListChildEntity extends AbstractDomainObject {
-    
-    // {{ Parent (title #1)
-    private BidirWithListParentEntity parent;
-
-    @Title(sequence="1", append="-")
-    @MemberOrder(sequence = "1")
-    @Optional
-    public BidirWithListParentEntity getParent() {
-        return parent;
-    }
-
-    public void setParent(final BidirWithListParentEntity parent) {
-        this.parent = parent;
-    }
-
-    // }}
-
-    // {{ Name  (title #2)
-    private String name;
-
-    @Title(sequence="2")
-    @MemberOrder(sequence = "1")
-    public String getName() {
-        return name;
-    }
-
-    public void setName(final String name) {
-        this.name = name;
-    }
-
-    // }}
-
-    // {{ moveTo
-    @MemberOrder(sequence = "1")
-    public BidirWithListChildEntity moveTo(final BidirWithListParentEntity newParent) {
-        if (newParent == getParent()) {
-            // nothing to do
-            return this;
-        }
-        if (getParent() != null) {
-            getParent().removeChild(this);
-        }
-        newParent.getChildren().add(this);
-        this.setParent(newParent);
-        return this;
-    }
-
-    public BidirWithListParentEntity default0MoveTo() {
-        return getParent();
-    }
-
-    public List<BidirWithListParentEntity> choices0MoveTo() {
-        return getContainer().allInstances(BidirWithListParentEntity.class);
-    }
-
-    // }}
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithListParentEntity.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithListParentEntity.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithListParentEntity.java
deleted file mode 100644
index 27a4bd7..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithListParentEntity.java
+++ /dev/null
@@ -1,99 +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 org.apache.isis.tck.dom.refs;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.Persistent;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.applib.annotation.Optional;
-import org.apache.isis.applib.annotation.Title;
-
-@javax.jdo.annotations.PersistenceCapable(identityType=IdentityType.DATASTORE)
-@javax.jdo.annotations.Discriminator("BDLP")
-@javax.jdo.annotations.DatastoreIdentity(strategy=javax.jdo.annotations.IdGeneratorStrategy.IDENTITY)
-@ObjectType("BDLP")
-public class BidirWithListParentEntity extends BaseEntity {
-
-    // {{ Name (also title)
-    private String name;
-    
-    @Title
-    @MemberOrder(sequence = "1")
-    @Optional
-    public String getName() {
-        return name;
-    }
-
-    public void setName(final String name) {
-        this.name = name;
-    }
-
-    // }}
-
-
-    
-    // {{ Children
-    @Persistent(mappedBy="parent")
-    private List<BidirWithListChildEntity> children = new ArrayList<BidirWithListChildEntity>();
-
-    @MemberOrder(sequence = "1")
-    public List<BidirWithListChildEntity> getChildren() {
-        return children;
-    }
-
-    public void setChildren(final List<BidirWithListChildEntity> children) {
-        this.children = children;
-    }
-    // }}
-
-    
-
-    // {{ newChild (action)
-    public BidirWithListChildEntity newChild(final String name) {
-        final BidirWithListChildEntity childEntity = newTransientInstance(BidirWithListChildEntity.class);
-        childEntity.setName(name);
-        childEntity.setParent(this);
-        this.getChildren().add(childEntity);
-        persistIfNotAlready(childEntity);
-        return childEntity;
-    }
-    // }}
-
-    
-    // {{ removeChild (action)
-    public BidirWithListParentEntity removeChild(final BidirWithListChildEntity childEntity) {
-        if (getChildren().contains(childEntity)) {
-            getChildren().remove(childEntity);
-            childEntity.setParent(null);
-        }
-        return this;
-    }
-
-    public List<BidirWithListChildEntity> choices0RemoveChild() {
-        return getChildren();
-    }
-    // }}
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithListParentEntityRepository.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithListParentEntityRepository.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithListParentEntityRepository.java
deleted file mode 100644
index 41e0958..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithListParentEntityRepository.java
+++ /dev/null
@@ -1,43 +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 org.apache.isis.tck.dom.refs;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.Named;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.tck.dom.AbstractEntityRepository;
-
-@Named("BidirWithListParentEntities")
-@ObjectType("BidirWithListParentEntities")
-public class BidirWithListParentEntityRepository extends AbstractEntityRepository<BidirWithListParentEntity> {
-
-    public BidirWithListParentEntityRepository() {
-        super(BidirWithListParentEntity.class, "BidirWithListParentEntities");
-    }
-
-    @MemberOrder(sequence = "2")
-    public BidirWithListParentEntity newEntity(final String name) {
-        final BidirWithListParentEntity entity = newTransientInstance(BidirWithListParentEntity.class);
-        entity.setName(name);
-        persist(entity);
-        return entity;
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithSetChildEntity.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithSetChildEntity.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithSetChildEntity.java
deleted file mode 100644
index 816fab6..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithSetChildEntity.java
+++ /dev/null
@@ -1,93 +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 org.apache.isis.tck.dom.refs;
-
-import java.util.List;
-
-import javax.jdo.annotations.IdentityType;
-
-import org.apache.isis.applib.AbstractDomainObject;
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.applib.annotation.Optional;
-import org.apache.isis.applib.annotation.Title;
-
-@javax.jdo.annotations.PersistenceCapable(identityType=IdentityType.DATASTORE)
-@javax.jdo.annotations.Discriminator("BDSC")
-@javax.jdo.annotations.DatastoreIdentity(strategy=javax.jdo.annotations.IdGeneratorStrategy.IDENTITY)
-@ObjectType("BDSC")
-public class BidirWithSetChildEntity extends AbstractDomainObject {
-
-    // {{ Parent (title #1)
-    private BidirWithSetParentEntity parent;
-
-    @Title(sequence="1", append="-")
-    @MemberOrder(sequence = "1")
-    @Optional
-    public BidirWithSetParentEntity getParent() {
-        return parent;
-    }
-
-    public void setParent(final BidirWithSetParentEntity parent) {
-        this.parent = parent;
-    }
-
-    // }}
-
-    // {{ Name  (title #2)
-    private String name;
-
-    @Title(sequence="2")
-    @MemberOrder(sequence = "1")
-    public String getName() {
-        return name;
-    }
-
-    public void setName(final String name) {
-        this.name = name;
-    }
-
-    // }}
-
-    // {{ moveTo
-    @MemberOrder(sequence = "1")
-    public BidirWithSetChildEntity moveTo(final BidirWithSetParentEntity newParent) {
-        if (newParent == getParent()) {
-            // nothing to do
-            return this;
-        }
-        if (getParent() != null) {
-            getParent().removeChild(this);
-        }
-        newParent.getChildren().add(this);
-        this.setParent(newParent);
-        return this;
-    }
-
-    public BidirWithSetParentEntity default0MoveTo() {
-        return getParent();
-    }
-
-    public List<BidirWithSetParentEntity> choices0MoveTo() {
-        return getContainer().allInstances(BidirWithSetParentEntity.class);
-    }
-    // }}
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithSetParentEntity.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithSetParentEntity.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithSetParentEntity.java
deleted file mode 100644
index 49d47b6..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithSetParentEntity.java
+++ /dev/null
@@ -1,100 +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 org.apache.isis.tck.dom.refs;
-
-import java.util.Arrays;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Set;
-
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.Persistent;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.applib.annotation.Optional;
-import org.apache.isis.applib.annotation.Title;
-
-@javax.jdo.annotations.PersistenceCapable(identityType=IdentityType.DATASTORE)
-@javax.jdo.annotations.Discriminator("BDSP")
-@javax.jdo.annotations.DatastoreIdentity(strategy=javax.jdo.annotations.IdGeneratorStrategy.IDENTITY)
-@ObjectType("BDSP")
-public class BidirWithSetParentEntity extends BaseEntity {
-
-    
-    // {{ Name (also title)
-    private String name;
-    
-    @Title
-    @MemberOrder(sequence = "1")
-    @Optional
-    public String getName() {
-        return name;
-    }
-
-    public void setName(final String name) {
-        this.name = name;
-    }
-
-    // }}
-
-
-    // {{ Children
-    @Persistent(mappedBy="parent")
-    private Set<BidirWithSetChildEntity> children = new HashSet<BidirWithSetChildEntity>();
-
-    @MemberOrder(sequence = "1")
-    public Set<BidirWithSetChildEntity> getChildren() {
-        return children;
-    }
-
-    public void setChildren(final Set<BidirWithSetChildEntity> children) {
-        this.children = children;
-    }
-    // }}
-
-    
-    // {{ newChild (action)
-    public BidirWithSetChildEntity newChild(final String name) {
-        final BidirWithSetChildEntity childEntity = newTransientInstance(BidirWithSetChildEntity.class);
-        childEntity.setName(name);
-        childEntity.setParent(this);
-        this.getChildren().add(childEntity);
-        persistIfNotAlready(childEntity);
-        return childEntity;
-    }
-    // }}
-
-    
-    // {{ removeChild (action)
-    public BidirWithSetParentEntity removeChild(final BidirWithSetChildEntity childEntity) {
-        if (getChildren().contains(childEntity)) {
-            getChildren().remove(childEntity);
-            childEntity.setParent(null);
-        }
-        return this;
-    }
-
-    public List<BidirWithSetChildEntity> choices0RemoveChild() {
-        return Arrays.asList(getChildren().toArray(new BidirWithSetChildEntity[0]));
-    }
-    // }}
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithSetParentEntityRepository.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithSetParentEntityRepository.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithSetParentEntityRepository.java
deleted file mode 100644
index e5bf31f..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/BidirWithSetParentEntityRepository.java
+++ /dev/null
@@ -1,43 +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 org.apache.isis.tck.dom.refs;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.Named;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.tck.dom.AbstractEntityRepository;
-
-@Named("BidirWithSetParentEntities")
-@ObjectType("BidirWithSetParentEntities")
-public class BidirWithSetParentEntityRepository extends AbstractEntityRepository<BidirWithSetParentEntity> {
-
-    public BidirWithSetParentEntityRepository() {
-        super(BidirWithSetParentEntity.class, "BidirWithSetParentEntities");
-    }
-
-    @MemberOrder(sequence = "2")
-    public BidirWithSetParentEntity newEntity(final String name) {
-        final BidirWithSetParentEntity entity = newTransientInstance(BidirWithSetParentEntity.class);
-        entity.setName(name);
-        persist(entity);
-        return entity;
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/ChildEntity.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/ChildEntity.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/ChildEntity.java
deleted file mode 100644
index a9bc1a4..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/ChildEntity.java
+++ /dev/null
@@ -1,90 +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 org.apache.isis.tck.dom.refs;
-
-import java.util.List;
-
-import javax.jdo.annotations.IdentityType;
-
-import org.apache.isis.applib.AbstractDomainObject;
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.applib.annotation.Optional;
-import org.apache.isis.applib.annotation.Title;
-
-@ObjectType("CHLD")
-public class ChildEntity extends AbstractDomainObject {
-
-    // {{ Parent (title #1)
-    private ParentEntity parent;
-
-    @Title(sequence="1", append="-")
-    @MemberOrder(sequence = "1")
-    @Optional
-    public ParentEntity getParent() {
-        return parent;
-    }
-
-    public void setParent(final ParentEntity parent) {
-        this.parent = parent;
-    }
-
-    // }}
-
-    // {{ Name  (title #2)
-    private String name;
-
-    @Title(sequence="2")
-    @MemberOrder(sequence = "1")
-    public String getName() {
-        return name;
-    }
-
-    public void setName(final String name) {
-        this.name = name;
-    }
-
-    // }}
-
-    // {{ moveTo
-    @MemberOrder(sequence = "1")
-    public ChildEntity moveTo(final ParentEntity newParent) {
-        if (newParent == getParent()) {
-            // nothing to do
-            return this;
-        }
-        if (getParent() != null) {
-            getParent().removeChild(this);
-        }
-        newParent.getChildren().add(this);
-        this.setParent(newParent);
-        return this;
-    }
-
-    public ParentEntity default0MoveTo() {
-        return getParent();
-    }
-
-    public List<ParentEntity> choices0MoveTo() {
-        return getContainer().allInstances(ParentEntity.class);
-    }
-    // }}
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/ParentEntity.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/ParentEntity.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/ParentEntity.java
deleted file mode 100644
index c3a8bec..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/ParentEntity.java
+++ /dev/null
@@ -1,128 +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 org.apache.isis.tck.dom.refs;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Set;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.NotPersisted;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.applib.annotation.Optional;
-import org.apache.isis.applib.annotation.Title;
-
-@ObjectType("PRNT")
-public class ParentEntity extends BaseEntity {
-
-    // {{ Name (also title)
-    private String name;
-    
-    @Title
-    @MemberOrder(sequence = "1")
-    @Optional
-    public String getName() {
-        return name;
-    }
-
-    public void setName(final String name) {
-        this.name = name;
-    }
-
-    // }}
-
-    // {{ HomogeneousCollection
-    private List<SimpleEntity> homogeneousCollection = new ArrayList<SimpleEntity>();
-
-    public List<SimpleEntity> getHomogeneousCollection() {
-        return homogeneousCollection;
-    }
-
-    public void setHomogeneousCollection(final List<SimpleEntity> homogenousCollection) {
-        this.homogeneousCollection = homogenousCollection;
-    }
-
-    // }}
-
-    // {{ HeterogeneousCollection
-    private List<BaseEntity> heterogeneousCollection = new ArrayList<BaseEntity>();
-
-    public List<BaseEntity> getHeterogeneousCollection() {
-        return heterogeneousCollection;
-    }
-
-    public void setHeterogeneousCollection(final List<BaseEntity> hetrogenousCollection) {
-        this.heterogeneousCollection = hetrogenousCollection;
-    }
-
-    // }}
-
-    // {{ Children
-    private Set<ChildEntity> children = new HashSet<ChildEntity>();
-
-    @MemberOrder(sequence = "1")
-    public Set<ChildEntity> getChildren() {
-        return children;
-    }
-
-    public void setChildren(final Set<ChildEntity> children) {
-        this.children = children;
-    }
-    // }}
-
-    
-    // {{ NotPersisted
-    @NotPersisted
-    public List<SimpleEntity> getNotPersisted() {
-        throw new org.apache.isis.applib.ApplicationException("unexpected call");
-    }
-    // }}
-
-    
-
-    // {{ newChild (action)
-    public ChildEntity newChild(final String name) {
-        final ChildEntity childEntity = newTransientInstance(ChildEntity.class);
-        childEntity.setName(name);
-        childEntity.setParent(this);
-        this.getChildren().add(childEntity);
-        persistIfNotAlready(childEntity);
-        return childEntity;
-    }
-    // }}
-
-    
-    // {{ removeChild (action)
-    public ParentEntity removeChild(final ChildEntity childEntity) {
-        if (getChildren().contains(childEntity)) {
-            getChildren().remove(childEntity);
-            childEntity.setParent(null);
-        }
-        return this;
-    }
-
-    public List<BidirWithSetChildEntity> choices0RemoveChild() {
-        return Arrays.asList(getChildren().toArray(new BidirWithSetChildEntity[0]));
-    }
-    // }}
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/ParentEntityRepository.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/ParentEntityRepository.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/ParentEntityRepository.java
deleted file mode 100644
index c4d4d43..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/ParentEntityRepository.java
+++ /dev/null
@@ -1,49 +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 org.apache.isis.tck.dom.refs;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.Named;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.tck.dom.AbstractEntityRepository;
-
-@Named("ParentEntities")
-@ObjectType("ParentEntities")
-public class ParentEntityRepository extends AbstractEntityRepository<ParentEntity> {
-
-    public ParentEntityRepository() {
-        super(ParentEntity.class, "ParentEntities");
-    }
-
-    public BaseEntity someAction() { return null; }
-    
-    public SimpleEntity someAction2() { return null; }
-    
-    public ReferencingEntity someAction3() { return null; }
- 
-    @MemberOrder(sequence = "2")
-    public ParentEntity newEntity(final String name) {
-        final ParentEntity entity = newTransientInstance(ParentEntity.class);
-        entity.setName(name);
-        persist(entity);
-        return entity;
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassChildEntity.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassChildEntity.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassChildEntity.java
deleted file mode 100644
index 3b43028..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassChildEntity.java
+++ /dev/null
@@ -1,96 +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 org.apache.isis.tck.dom.refs;
-
-import java.util.List;
-
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.Inheritance;
-import javax.jdo.annotations.InheritanceStrategy;
-
-import org.apache.isis.applib.AbstractDomainObject;
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.applib.annotation.Optional;
-import org.apache.isis.applib.annotation.Title;
-
-@javax.jdo.annotations.PersistenceCapable(identityType=IdentityType.DATASTORE)
-@javax.jdo.annotations.Discriminator("PCCH")
-@javax.jdo.annotations.DatastoreIdentity(strategy=javax.jdo.annotations.IdGeneratorStrategy.IDENTITY)
-@Inheritance(strategy=InheritanceStrategy.NEW_TABLE)
-@ObjectType("PCCH")
-public abstract class PolyClassChildEntity extends AbstractDomainObject {
-
-    // {{ Parent (title #1)
-    private PolyClassParentEntity parent;
-
-    @Title(sequence="1", append="-")
-    @MemberOrder(sequence = "1")
-    @Optional
-    public PolyClassParentEntity getParent() {
-        return parent;
-    }
-
-    public void setParent(final PolyClassParentEntity parent) {
-        this.parent = parent;
-    }
-
-    // }}
-
-    // {{ Name  (title #2)
-    private String name;
-
-    @Title(sequence="2")
-    @MemberOrder(sequence = "1")
-    public String getName() {
-        return name;
-    }
-
-    public void setName(final String name) {
-        this.name = name;
-    }
-
-    // }}
-
-    // {{ moveTo
-    @MemberOrder(sequence = "1")
-    public PolyClassChildEntity moveTo(final PolyClassParentEntity newParent) {
-        if (newParent == getParent()) {
-            // nothing to do
-            return this;
-        }
-        if (getParent() != null) {
-            getParent().removeChild(this);
-        }
-        newParent.getChildren().add(this);
-        this.setParent(newParent);
-        return this;
-    }
-
-    public PolyClassParentEntity default0MoveTo() {
-        return getParent();
-    }
-
-    public List<PolyClassParentEntity> choices0MoveTo() {
-        return getContainer().allInstances(PolyClassParentEntity.class);
-    }
-    // }}
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassParentEntity.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassParentEntity.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassParentEntity.java
deleted file mode 100644
index f904d14..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassParentEntity.java
+++ /dev/null
@@ -1,125 +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 org.apache.isis.tck.dom.refs;
-
-import java.math.BigDecimal;
-import java.util.Arrays;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Set;
-
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.Persistent;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.applib.annotation.Optional;
-import org.apache.isis.applib.annotation.Title;
-
-@javax.jdo.annotations.PersistenceCapable(identityType=IdentityType.DATASTORE)
-@javax.jdo.annotations.Discriminator("PCPR")
-@javax.jdo.annotations.DatastoreIdentity(strategy=javax.jdo.annotations.IdGeneratorStrategy.IDENTITY)
-@ObjectType("PCPR")
-public class PolyClassParentEntity extends BaseEntity {
-
-    
-    // {{ Name (also title)
-    private String name;
-    
-    @Title
-    @MemberOrder(sequence = "1")
-    @Optional
-    public String getName() {
-        return name;
-    }
-
-    public void setName(final String name) {
-        this.name = name;
-    }
-
-    // }}
-
-
-    // {{ Children
-    @Persistent(mappedBy="parent")
-    private Set<PolyClassChildEntity> children = new HashSet<PolyClassChildEntity>();
-
-    @MemberOrder(sequence = "1")
-    public Set<PolyClassChildEntity> getChildren() {
-        return children;
-    }
-
-    public void setChildren(final Set<PolyClassChildEntity> children) {
-        this.children = children;
-    }
-    // }}
-
-    
-    // {{ newSubtype1 (action)
-    public PolyClassSubtype1Entity newSubtype1(final String name, int foo) {
-        final PolyClassSubtype1Entity childEntity = newTransientInstance(PolyClassSubtype1Entity.class);
-        childEntity.setName(name);
-        childEntity.setFoo(foo);
-        childEntity.setParent(this);
-        this.getChildren().add(childEntity);
-        persistIfNotAlready(childEntity);
-        return childEntity;
-    }
-    // }}
-
-    // {{ newSubtype2 (action)
-    public PolyClassSubtype2Entity newSubtype2(final String name, String bar) {
-        final PolyClassSubtype2Entity childEntity = newTransientInstance(PolyClassSubtype2Entity.class);
-        childEntity.setName(name);
-        childEntity.setParent(this);
-        childEntity.setBar(bar);
-        this.getChildren().add(childEntity);
-        persistIfNotAlready(childEntity);
-        return childEntity;
-    }
-    // }}
-    
-    // {{ newSubtype3 (action)
-    public PolyClassSubtype3Entity newSubtype3(final String name, BigDecimal boz) {
-        final PolyClassSubtype3Entity childEntity = newTransientInstance(PolyClassSubtype3Entity.class);
-        childEntity.setName(name);
-        childEntity.setParent(this);
-        childEntity.setBoz(boz);
-        this.getChildren().add(childEntity);
-        persistIfNotAlready(childEntity);
-        return childEntity;
-    }
-    // }}
-    
-    // {{ removeChild (action)
-    public PolyClassParentEntity removeChild(final PolyClassChildEntity childEntity) {
-        if (getChildren().contains(childEntity)) {
-            getChildren().remove(childEntity);
-            childEntity.setParent(null);
-        }
-        return this;
-    }
-
-    public List<PolyClassChildEntity> choices0RemoveChild() {
-        return Arrays.asList(getChildren().toArray(new PolyClassChildEntity[0]));
-    }
-    // }}
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassParentEntityRepository.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassParentEntityRepository.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassParentEntityRepository.java
deleted file mode 100644
index 934ee83..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassParentEntityRepository.java
+++ /dev/null
@@ -1,54 +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 org.apache.isis.tck.dom.refs;
-
-import org.apache.isis.applib.annotation.Hidden;
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.Named;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.tck.dom.AbstractEntityRepository;
-
-@Named("PolyClassParentEntities")
-@ObjectType("PolyClassParentEntities")
-public class PolyClassParentEntityRepository extends AbstractEntityRepository<PolyClassParentEntity> {
-
-    public PolyClassParentEntityRepository() {
-        super(PolyClassParentEntity.class, "PolyClassParentEntities");
-    }
-
-    @MemberOrder(sequence = "2")
-    public PolyClassParentEntity newEntity(final String name) {
-        final PolyClassParentEntity entity = newTransientInstance(PolyClassParentEntity.class);
-        entity.setName(name);
-        persist(entity);
-        return entity;
-    }
-
-    
-    @Hidden
-    public void registerType(PolyClassSubtype1Entity e) { }
-
-    @Hidden
-    public void registerType(PolyClassSubtype2Entity e) { }
-
-    @Hidden
-    public void registerType(PolyClassSubtype3Entity e) { }
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassSubtype1Entity.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassSubtype1Entity.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassSubtype1Entity.java
deleted file mode 100644
index 8eebe2c..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassSubtype1Entity.java
+++ /dev/null
@@ -1,52 +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 org.apache.isis.tck.dom.refs;
-
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.Inheritance;
-import javax.jdo.annotations.InheritanceStrategy;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.ObjectType;
-
-@javax.jdo.annotations.PersistenceCapable(identityType=IdentityType.DATASTORE)
-@javax.jdo.annotations.Discriminator("PCS1")
-@javax.jdo.annotations.DatastoreIdentity(strategy=javax.jdo.annotations.IdGeneratorStrategy.IDENTITY)
-@Inheritance(strategy=InheritanceStrategy.NEW_TABLE)
-@ObjectType("PCS1")
-public class PolyClassSubtype1Entity extends PolyClassChildEntity {
-
-
-    
-    // {{ Foo (property)
-    private int foo;
-
-    @MemberOrder(sequence = "1")
-    public int getFoo() {
-        return foo;
-    }
-
-    public void setFoo(final int foo) {
-        this.foo = foo;
-    }
-    // }}
-
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassSubtype2Entity.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassSubtype2Entity.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassSubtype2Entity.java
deleted file mode 100644
index 57ab760..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassSubtype2Entity.java
+++ /dev/null
@@ -1,52 +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 org.apache.isis.tck.dom.refs;
-
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.Inheritance;
-import javax.jdo.annotations.InheritanceStrategy;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.ObjectType;
-
-@javax.jdo.annotations.PersistenceCapable(identityType=IdentityType.DATASTORE)
-@javax.jdo.annotations.Discriminator("PCS2")
-@javax.jdo.annotations.DatastoreIdentity(strategy=javax.jdo.annotations.IdGeneratorStrategy.IDENTITY)
-@Inheritance(strategy=InheritanceStrategy.SUPERCLASS_TABLE)
-@ObjectType("PCS2")
-public class PolyClassSubtype2Entity extends PolyClassChildEntity {
-
-    
-    // {{ Bar (property)
-    private String bar;
-
-    @MemberOrder(sequence = "1")
-    public String getBar() {
-        return bar;
-    }
-
-    public void setBar(final String bar) {
-        this.bar = bar;
-    }
-    // }}
-
-
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassSubtype3Entity.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassSubtype3Entity.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassSubtype3Entity.java
deleted file mode 100644
index 38b270d..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyClassSubtype3Entity.java
+++ /dev/null
@@ -1,53 +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 org.apache.isis.tck.dom.refs;
-
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.Inheritance;
-import javax.jdo.annotations.InheritanceStrategy;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.ObjectType;
-
-@javax.jdo.annotations.PersistenceCapable(identityType=IdentityType.DATASTORE)
-@javax.jdo.annotations.Discriminator("PCS3")
-@javax.jdo.annotations.DatastoreIdentity(strategy=javax.jdo.annotations.IdGeneratorStrategy.IDENTITY)
-@Inheritance(strategy=InheritanceStrategy.SUPERCLASS_TABLE)
-@ObjectType("PCS3")
-public class PolyClassSubtype3Entity extends PolyClassChildEntity {
-
-    
-
-    // {{ Baz (property)
-    private java.math.BigDecimal boz;
-
-    @MemberOrder(sequence = "1")
-    public java.math.BigDecimal getBoz() {
-        return boz;
-    }
-
-    public void setBoz(final java.math.BigDecimal baz) {
-        this.boz = baz;
-    }
-    // }}
-
-
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterface.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterface.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterface.java
deleted file mode 100644
index fac4e78..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterface.java
+++ /dev/null
@@ -1,30 +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 org.apache.isis.tck.dom.refs;
-
-
-public interface PolyInterface  {
-
-    public PolyInterfaceParentEntity getParent();
-    public void setParent(PolyInterfaceParentEntity parent);
-
-    public String getName();
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategy.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategy.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategy.java
deleted file mode 100644
index c78048b..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategy.java
+++ /dev/null
@@ -1,30 +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 org.apache.isis.tck.dom.refs;
-
-
-public interface PolyInterfaceIdentityStrategy  {
-
-    public PolyInterfaceIdentityStrategyParentEntity getParent();
-    public void setParent(PolyInterfaceIdentityStrategyParentEntity parent);
-
-    public String getName();
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategyParentEntity.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategyParentEntity.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategyParentEntity.java
deleted file mode 100644
index 4527a17..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategyParentEntity.java
+++ /dev/null
@@ -1,129 +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 org.apache.isis.tck.dom.refs;
-
-import java.math.BigDecimal;
-import java.util.Arrays;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Set;
-
-import javax.jdo.annotations.Extension;
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.Join;
-import javax.jdo.annotations.Persistent;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.applib.annotation.Optional;
-import org.apache.isis.applib.annotation.Title;
-
-@javax.jdo.annotations.PersistenceCapable(identityType=IdentityType.DATASTORE)
-@javax.jdo.annotations.Discriminator("PIIP")
-@javax.jdo.annotations.DatastoreIdentity(strategy=javax.jdo.annotations.IdGeneratorStrategy.IDENTITY)
-@ObjectType("PIIP")
-public class PolyInterfaceIdentityStrategyParentEntity extends BaseEntity {
-
-    
-    // {{ Name (also title)
-    private String name;
-    
-    @Title
-    @MemberOrder(sequence = "1")
-    @Optional
-    public String getName() {
-        return name;
-    }
-
-    public void setName(final String name) {
-        this.name = name;
-    }
-
-    // }}
-
-
-    // {{ Children
-    @Persistent
-    @Join
-    @Extension(vendorName="datanucleus", key="mapping-strategy", value="identity")
-    private Set<PolyInterfaceIdentityStrategy> children = new HashSet<PolyInterfaceIdentityStrategy>();
-
-    @MemberOrder(sequence = "1")
-    public Set<PolyInterfaceIdentityStrategy> getChildren() {
-        return children;
-    }
-
-    public void setChildren(final Set<PolyInterfaceIdentityStrategy> children) {
-        this.children = children;
-    }
-    // }}
-
-    
-    // {{ newSubtype1 (action)
-    public PolyInterfaceIdentityStrategySubtype1Entity newSubtype1(final String name, int foo) {
-        final PolyInterfaceIdentityStrategySubtype1Entity childEntity = newTransientInstance(PolyInterfaceIdentityStrategySubtype1Entity.class);
-        childEntity.setName(name);
-        childEntity.setFoo(foo);
-        childEntity.setParent(this);
-        this.getChildren().add(childEntity);
-        persistIfNotAlready(childEntity);
-        return childEntity;
-    }
-    // }}
-
-    // {{ newSubtype2 (action)
-    public PolyInterfaceIdentityStrategySubtype2Entity newSubtype2(final String name, String bar) {
-        final PolyInterfaceIdentityStrategySubtype2Entity childEntity = newTransientInstance(PolyInterfaceIdentityStrategySubtype2Entity.class);
-        childEntity.setName(name);
-        childEntity.setParent(this);
-        childEntity.setBar(bar);
-        this.getChildren().add(childEntity);
-        persistIfNotAlready(childEntity);
-        return childEntity;
-    }
-    // }}
-    
-    // {{ newSubtype3 (action)
-    public PolyInterfaceIdentityStrategySubtype3Entity newSubtype3(final String name, BigDecimal boz) {
-        final PolyInterfaceIdentityStrategySubtype3Entity childEntity = newTransientInstance(PolyInterfaceIdentityStrategySubtype3Entity.class);
-        childEntity.setName(name);
-        childEntity.setParent(this);
-        childEntity.setBoz(boz);
-        this.getChildren().add(childEntity);
-        persistIfNotAlready(childEntity);
-        return childEntity;
-    }
-    // }}
-    
-    // {{ removeChild (action)
-    public PolyInterfaceIdentityStrategyParentEntity removeChild(final PolyInterfaceIdentityStrategy childEntity) {
-        if (getChildren().contains(childEntity)) {
-            getChildren().remove(childEntity);
-            childEntity.setParent(null);
-        }
-        return this;
-    }
-
-    public List<PolyInterfaceIdentityStrategy> choices0RemoveChild() {
-        return Arrays.asList(getChildren().toArray(new PolyInterfaceIdentityStrategy[0]));
-    }
-    // }}
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategyParentEntityRepository.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategyParentEntityRepository.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategyParentEntityRepository.java
deleted file mode 100644
index fab97a6..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategyParentEntityRepository.java
+++ /dev/null
@@ -1,54 +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 org.apache.isis.tck.dom.refs;
-
-import org.apache.isis.applib.annotation.Hidden;
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.Named;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.tck.dom.AbstractEntityRepository;
-
-@Named("PolyInterfaceIdentityStrategyParentEntities")
-@ObjectType("PolyInterfaceIdentityStrategyParentEntities")
-public class PolyInterfaceIdentityStrategyParentEntityRepository extends AbstractEntityRepository<PolyInterfaceIdentityStrategyParentEntity> {
-
-    public PolyInterfaceIdentityStrategyParentEntityRepository() {
-        super(PolyInterfaceIdentityStrategyParentEntity.class, "PolyInterfaceIdentityStrategyParentEntities");
-    }
-
-    @MemberOrder(sequence = "2")
-    public PolyInterfaceIdentityStrategyParentEntity newEntity(final String name) {
-        final PolyInterfaceIdentityStrategyParentEntity entity = newTransientInstance(PolyInterfaceIdentityStrategyParentEntity.class);
-        entity.setName(name);
-        persist(entity);
-        return entity;
-    }
-
-    
-    @Hidden
-    public void registerType(PolyInterfaceIdentityStrategySubtype1Entity e) { }
-
-    @Hidden
-    public void registerType(PolyInterfaceIdentityStrategySubtype2Entity e) { }
-
-    @Hidden
-    public void registerType(PolyInterfaceIdentityStrategySubtype3Entity e) { }
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategySubtype1Entity.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategySubtype1Entity.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategySubtype1Entity.java
deleted file mode 100644
index 46ca39d..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategySubtype1Entity.java
+++ /dev/null
@@ -1,86 +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 org.apache.isis.tck.dom.refs;
-
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.Inheritance;
-import javax.jdo.annotations.InheritanceStrategy;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.applib.annotation.Optional;
-import org.apache.isis.applib.annotation.Title;
-
-@javax.jdo.annotations.PersistenceCapable(identityType=IdentityType.DATASTORE)
-@javax.jdo.annotations.Discriminator("PII1")
-@javax.jdo.annotations.DatastoreIdentity(strategy=javax.jdo.annotations.IdGeneratorStrategy.IDENTITY)
-@Inheritance(strategy=InheritanceStrategy.NEW_TABLE)
-@ObjectType("PII1")
-public class PolyInterfaceIdentityStrategySubtype1Entity extends BaseEntity implements PolyInterfaceIdentityStrategy {
-
-
-    
-    // {{ Parent (title #1)
-    private PolyInterfaceIdentityStrategyParentEntity parent;
-
-    @Title(sequence="1", append="-")
-    @MemberOrder(sequence = "1")
-    @Optional
-    public PolyInterfaceIdentityStrategyParentEntity getParent() {
-        return parent;
-    }
-
-    public void setParent(final PolyInterfaceIdentityStrategyParentEntity parent) {
-        this.parent = parent;
-    }
-
-    // }}
-
-    // {{ Name  (title #2)
-    private String name;
-
-    @Title(sequence="2")
-    @MemberOrder(sequence = "1")
-    public String getName() {
-        return name;
-    }
-
-    public void setName(final String name) {
-        this.name = name;
-    }
-
-    // }}
-
-    
-    // {{ Foo (property)
-    private int foo;
-
-    @MemberOrder(sequence = "1")
-    public int getFoo() {
-        return foo;
-    }
-
-    public void setFoo(final int foo) {
-        this.foo = foo;
-    }
-    // }}
-
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategySubtype2Entity.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategySubtype2Entity.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategySubtype2Entity.java
deleted file mode 100644
index add8ed9..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategySubtype2Entity.java
+++ /dev/null
@@ -1,86 +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 org.apache.isis.tck.dom.refs;
-
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.Inheritance;
-import javax.jdo.annotations.InheritanceStrategy;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.applib.annotation.Optional;
-import org.apache.isis.applib.annotation.Title;
-
-@javax.jdo.annotations.PersistenceCapable(identityType=IdentityType.DATASTORE)
-@javax.jdo.annotations.Discriminator("PII2")
-@javax.jdo.annotations.DatastoreIdentity(strategy=javax.jdo.annotations.IdGeneratorStrategy.IDENTITY)
-@Inheritance(strategy=InheritanceStrategy.NEW_TABLE)
-@ObjectType("PII2")
-public class PolyInterfaceIdentityStrategySubtype2Entity extends BaseEntity implements PolyInterfaceIdentityStrategy {
-
-    
-    // {{ Parent (title #1)
-    private PolyInterfaceIdentityStrategyParentEntity parent;
-
-    @Title(sequence="1", append="-")
-    @MemberOrder(sequence = "1")
-    @Optional
-    public PolyInterfaceIdentityStrategyParentEntity getParent() {
-        return parent;
-    }
-
-    public void setParent(final PolyInterfaceIdentityStrategyParentEntity parent) {
-        this.parent = parent;
-    }
-
-    // }}
-
-    // {{ Name  (title #2)
-    private String name;
-
-    @Title(sequence="2")
-    @MemberOrder(sequence = "1")
-    public String getName() {
-        return name;
-    }
-
-    public void setName(final String name) {
-        this.name = name;
-    }
-
-    // }}
-
-    
-    // {{ Bar (property)
-    private String bar;
-
-    @MemberOrder(sequence = "1")
-    public String getBar() {
-        return bar;
-    }
-
-    public void setBar(final String bar) {
-        this.bar = bar;
-    }
-    // }}
-
-
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategySubtype3Entity.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategySubtype3Entity.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategySubtype3Entity.java
deleted file mode 100644
index 5afc036..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceIdentityStrategySubtype3Entity.java
+++ /dev/null
@@ -1,87 +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 org.apache.isis.tck.dom.refs;
-
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.Inheritance;
-import javax.jdo.annotations.InheritanceStrategy;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.applib.annotation.Optional;
-import org.apache.isis.applib.annotation.Title;
-
-@javax.jdo.annotations.PersistenceCapable(identityType=IdentityType.DATASTORE)
-@javax.jdo.annotations.Discriminator("PIS3")
-@javax.jdo.annotations.DatastoreIdentity(strategy=javax.jdo.annotations.IdGeneratorStrategy.IDENTITY)
-@Inheritance(strategy=InheritanceStrategy.NEW_TABLE)
-@ObjectType("PIS3")
-public class PolyInterfaceIdentityStrategySubtype3Entity extends BaseEntity implements PolyInterfaceIdentityStrategy {
-
-    
-
-    // {{ Parent (title #1)
-    private PolyInterfaceIdentityStrategyParentEntity parent;
-
-    @Title(sequence="1", append="-")
-    @MemberOrder(sequence = "1")
-    @Optional
-    public PolyInterfaceIdentityStrategyParentEntity getParent() {
-        return parent;
-    }
-
-    public void setParent(final PolyInterfaceIdentityStrategyParentEntity parent) {
-        this.parent = parent;
-    }
-
-    // }}
-
-    // {{ Name  (title #2)
-    private String name;
-
-    @Title(sequence="2")
-    @MemberOrder(sequence = "1")
-    public String getName() {
-        return name;
-    }
-
-    public void setName(final String name) {
-        this.name = name;
-    }
-
-    // }}
-
-    
-    // {{ Baz (property)
-    private java.math.BigDecimal boz;
-
-    @MemberOrder(sequence = "1")
-    public java.math.BigDecimal getBoz() {
-        return boz;
-    }
-
-    public void setBoz(final java.math.BigDecimal baz) {
-        this.boz = baz;
-    }
-    // }}
-
-
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceParentEntity.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceParentEntity.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceParentEntity.java
deleted file mode 100644
index 6927506..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceParentEntity.java
+++ /dev/null
@@ -1,127 +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 org.apache.isis.tck.dom.refs;
-
-import java.math.BigDecimal;
-import java.util.Arrays;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Set;
-
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.Join;
-import javax.jdo.annotations.Persistent;
-
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.applib.annotation.Optional;
-import org.apache.isis.applib.annotation.Title;
-
-@javax.jdo.annotations.PersistenceCapable(identityType=IdentityType.DATASTORE)
-@javax.jdo.annotations.Discriminator("PIPR")
-@javax.jdo.annotations.DatastoreIdentity(strategy=javax.jdo.annotations.IdGeneratorStrategy.IDENTITY)
-@ObjectType("PIPR")
-public class PolyInterfaceParentEntity extends BaseEntity {
-
-    
-    // {{ Name (also title)
-    private String name;
-    
-    @Title
-    @MemberOrder(sequence = "1")
-    @Optional
-    public String getName() {
-        return name;
-    }
-
-    public void setName(final String name) {
-        this.name = name;
-    }
-
-    // }}
-
-
-    // {{ Children
-    @Persistent
-    @Join
-    private Set<PolyInterface> children = new HashSet<PolyInterface>();
-
-    @MemberOrder(sequence = "1")
-    public Set<PolyInterface> getChildren() {
-        return children;
-    }
-
-    public void setChildren(final Set<PolyInterface> children) {
-        this.children = children;
-    }
-    // }}
-
-    
-    // {{ newSubtype1 (action)
-    public PolyInterfaceSubtype1Entity newSubtype1(final String name, int foo) {
-        final PolyInterfaceSubtype1Entity childEntity = newTransientInstance(PolyInterfaceSubtype1Entity.class);
-        childEntity.setName(name);
-        childEntity.setFoo(foo);
-        childEntity.setParent(this);
-        this.getChildren().add(childEntity);
-        persistIfNotAlready(childEntity);
-        return childEntity;
-    }
-    // }}
-
-    // {{ newSubtype2 (action)
-    public PolyInterfaceSubtype2Entity newSubtype2(final String name, String bar) {
-        final PolyInterfaceSubtype2Entity childEntity = newTransientInstance(PolyInterfaceSubtype2Entity.class);
-        childEntity.setName(name);
-        childEntity.setParent(this);
-        childEntity.setBar(bar);
-        this.getChildren().add(childEntity);
-        persistIfNotAlready(childEntity);
-        return childEntity;
-    }
-    // }}
-    
-    // {{ newSubtype3 (action)
-    public PolyInterfaceSubtype3Entity newSubtype3(final String name, BigDecimal boz) {
-        final PolyInterfaceSubtype3Entity childEntity = newTransientInstance(PolyInterfaceSubtype3Entity.class);
-        childEntity.setName(name);
-        childEntity.setParent(this);
-        childEntity.setBoz(boz);
-        this.getChildren().add(childEntity);
-        persistIfNotAlready(childEntity);
-        return childEntity;
-    }
-    // }}
-    
-    // {{ removeChild (action)
-    public PolyInterfaceParentEntity removeChild(final PolyInterface childEntity) {
-        if (getChildren().contains(childEntity)) {
-            getChildren().remove(childEntity);
-            childEntity.setParent(null);
-        }
-        return this;
-    }
-
-    public List<PolyInterface> choices0RemoveChild() {
-        return Arrays.asList(getChildren().toArray(new PolyInterface[0]));
-    }
-    // }}
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/cb83d4c7/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceParentEntityRepository.java
----------------------------------------------------------------------
diff --git a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceParentEntityRepository.java b/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceParentEntityRepository.java
deleted file mode 100644
index 7819d27..0000000
--- a/framework/tck/tck-dom/src/main/java/org/apache/isis/tck/dom/refs/PolyInterfaceParentEntityRepository.java
+++ /dev/null
@@ -1,54 +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 org.apache.isis.tck.dom.refs;
-
-import org.apache.isis.applib.annotation.Hidden;
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.Named;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.tck.dom.AbstractEntityRepository;
-
-@Named("PolyClassParentEntities")
-@ObjectType("PolyClassParentEntities")
-public class PolyInterfaceParentEntityRepository extends AbstractEntityRepository<PolyInterfaceParentEntity> {
-
-    public PolyInterfaceParentEntityRepository() {
-        super(PolyInterfaceParentEntity.class, "PolyClassParentEntities");
-    }
-
-    @MemberOrder(sequence = "2")
-    public PolyInterfaceParentEntity newEntity(final String name) {
-        final PolyInterfaceParentEntity entity = newTransientInstance(PolyInterfaceParentEntity.class);
-        entity.setName(name);
-        persist(entity);
-        return entity;
-    }
-
-    
-    @Hidden
-    public void registerType(PolyInterfaceSubtype1Entity e) { }
-
-    @Hidden
-    public void registerType(PolyInterfaceSubtype2Entity e) { }
-
-    @Hidden
-    public void registerType(PolyInterfaceSubtype3Entity e) { }
-
-}