-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-806 - Unrelated all subclasses and implementing classes.
- Loading branch information
1 parent
6ebdbbe
commit 97d46ad
Showing
11 changed files
with
312 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
...m-integration-tests/src/test/java/org/neo4j/ogm/domain/gh806/EvenMoreConcreteElement.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* Copyright (c) 2002-2020 "Neo4j," | ||
* Neo4j Sweden AB [http://neo4j.com] | ||
* | ||
* This file is part of Neo4j. | ||
* | ||
* Licensed 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.neo4j.ogm.domain.gh806; | ||
|
||
import org.neo4j.ogm.annotation.NodeEntity; | ||
|
||
/** | ||
* @author Michael J. Simons | ||
*/ | ||
@NodeEntity | ||
public class EvenMoreConcreteElement extends VeryConcreteElementA { | ||
|
||
public EvenMoreConcreteElement() { | ||
} | ||
|
||
public EvenMoreConcreteElement(String globalName) { | ||
super(globalName); | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
...-tests/neo4j-ogm-integration-tests/src/test/java/org/neo4j/ogm/domain/gh806/IElement.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package org.neo4j.ogm.domain.gh806; | ||
|
||
public interface IElement { | ||
} |
66 changes: 66 additions & 0 deletions
66
...s/neo4j-ogm-integration-tests/src/test/java/org/neo4j/ogm/domain/gh806/IElementImpl1.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
/* | ||
* Copyright (c) 2002-2020 "Neo4j," | ||
* Neo4j Sweden AB [http://neo4j.com] | ||
* | ||
* This file is part of Neo4j. | ||
* | ||
* Licensed 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.neo4j.ogm.domain.gh806; | ||
|
||
import org.neo4j.ogm.annotation.GeneratedValue; | ||
import org.neo4j.ogm.annotation.Id; | ||
import org.neo4j.ogm.annotation.NodeEntity; | ||
import org.neo4j.ogm.annotation.Relationship; | ||
|
||
/** | ||
* @author Michael J. Simons | ||
*/ | ||
@NodeEntity | ||
public class IElementImpl1 implements IElement{ | ||
|
||
@Id @GeneratedValue | ||
Long id; | ||
|
||
String name; | ||
|
||
@Relationship(type = "RELATES_TO") | ||
Container container; | ||
|
||
public IElementImpl1() { | ||
} | ||
|
||
public IElementImpl1(String name) { | ||
this.name = name; | ||
} | ||
|
||
public Long getId() { | ||
return id; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public Container getContainer() { | ||
return container; | ||
} | ||
|
||
public void setContainer(Container container) { | ||
this.container = container; | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
.../neo4j-ogm-integration-tests/src/test/java/org/neo4j/ogm/domain/gh806/IElementImpl1A.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* Copyright (c) 2002-2020 "Neo4j," | ||
* Neo4j Sweden AB [http://neo4j.com] | ||
* | ||
* This file is part of Neo4j. | ||
* | ||
* Licensed 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.neo4j.ogm.domain.gh806; | ||
|
||
import org.neo4j.ogm.annotation.NodeEntity; | ||
|
||
/** | ||
* @author Michael J. Simons | ||
*/ | ||
@NodeEntity | ||
public class IElementImpl1A extends IElementImpl1 { | ||
|
||
public IElementImpl1A() { | ||
} | ||
|
||
public IElementImpl1A(String globalName) { | ||
super(globalName); | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...-ogm-integration-tests/src/test/java/org/neo4j/ogm/domain/gh806/VeryConcreteElementA.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* Copyright (c) 2002-2020 "Neo4j," | ||
* Neo4j Sweden AB [http://neo4j.com] | ||
* | ||
* This file is part of Neo4j. | ||
* | ||
* Licensed 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.neo4j.ogm.domain.gh806; | ||
|
||
import org.neo4j.ogm.annotation.NodeEntity; | ||
|
||
/** | ||
* @author Michael J. Simons | ||
*/ | ||
@NodeEntity | ||
public class VeryConcreteElementA extends ConcreteElement { | ||
|
||
public VeryConcreteElementA() { | ||
} | ||
|
||
public VeryConcreteElementA(String globalName) { | ||
super(globalName); | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...-ogm-integration-tests/src/test/java/org/neo4j/ogm/domain/gh806/VeryConcreteElementB.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* Copyright (c) 2002-2020 "Neo4j," | ||
* Neo4j Sweden AB [http://neo4j.com] | ||
* | ||
* This file is part of Neo4j. | ||
* | ||
* Licensed 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.neo4j.ogm.domain.gh806; | ||
|
||
import org.neo4j.ogm.annotation.NodeEntity; | ||
|
||
/** | ||
* @author Michael J. Simons | ||
*/ | ||
@NodeEntity | ||
public class VeryConcreteElementB extends ConcreteElement { | ||
|
||
public VeryConcreteElementB() { | ||
} | ||
|
||
public VeryConcreteElementB(String globalName) { | ||
super(globalName); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.