Class PerformanceTestEntity
java.lang.Object
org.fastnate.generator.test.BaseTestEntity
org.fastnate.generator.test.performance.PerformanceTestEntity
An entity for the
PerformanceTest.- Author:
- Tobias Liefke
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPerformanceTestEntity(String name) Creates a new root entity.PerformanceTestEntity(PerformanceTestEntity parent, String name) Creates a new child of an entity. -
Method Summary
Modifier and TypeMethodDescriptiongetName()intvoidsetChildren(List<PerformanceTestEntity> children) voidvoidsetOrdering(int ordering) voidsetParent(PerformanceTestEntity parent) voidsetStrings(List<String> strings) Methods inherited from class org.fastnate.generator.test.BaseTestEntity
equals, getId, hashCode, toString
-
Constructor Details
-
PerformanceTestEntity
Creates a new child of an entity.- Parameters:
parent- the parent of the new childname- the name of the entity
-
PerformanceTestEntity
Creates a new root entity.- Parameters:
name- the name of the entity
-
PerformanceTestEntity
protected PerformanceTestEntity()
-
-
Method Details
-
getName
-
getChildren
-
getParent
-
getOrdering
public int getOrdering() -
getStrings
-
setName
-
setChildren
-
setParent
-
setOrdering
public void setOrdering(int ordering) -
setStrings
-