Class TestRecursiveEntity
java.lang.Object
org.fastnate.generator.test.BaseTestEntity
org.fastnate.generator.test.recursion.TestRecursiveEntity
Entity to test recursion in SQL generation.
- Author:
- Tobias Liefke
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTestRecursiveEntity(TestRecursiveEntity parent, String name) Creates a new instance ofTestRecursiveEntity. -
Method Summary
Modifier and TypeMethodDescriptiongetName()voidsetChildren(Collection<TestRecursiveEntity> children) voidMethods inherited from class org.fastnate.generator.test.BaseTestEntity
equals, getId, hashCode, toString
-
Constructor Details
-
TestRecursiveEntity
Creates a new instance ofTestRecursiveEntity.- Parameters:
parent- the parent entityname- the name of the entity
-
TestRecursiveEntity
protected TestRecursiveEntity()
-
-
Method Details
-
getName
-
getParent
-
getChildren
-
setName
-
setChildren
-