Class AnimalCreator.Default
java.lang.Object
one.microstream.entity.Entity.Creator.Abstract<Animal,AnimalCreator>
one.microstream.examples.layeredentities._Animal.AnimalCreator.Default
- All Implemented Interfaces:
Entity.Creator<Animal,AnimalCreator>
,AnimalCreator
- Enclosing interface:
- AnimalCreator
public static class AnimalCreator.Default extends Entity.Creator.Abstract<Animal,AnimalCreator> implements AnimalCreator
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.examples.layeredentities._Animal.AnimalCreator
AnimalCreator.Default
Nested classes/interfaces inherited from interface one.microstream.entity.Entity.Creator
Entity.Creator.Abstract<E extends Entity,C extends Entity.Creator<E,C>>, Entity.Creator.Static
-
Constructor Summary
Constructors Modifier Constructor Description protected
Default()
-
Method Summary
Modifier and Type Method Description AnimalCreator
copy(Animal other)
Animal
createData(Animal entityInstance)
protected EntityLayerIdentity
createEntityInstance()
AnimalCreator
partner(Animal partner)
AnimalCreator
species(String species)
Methods inherited from class one.microstream.entity.Entity.Creator.Abstract
create, dispatchDataInstance, layers
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface one.microstream.entity.Entity.Creator
addLayer, addLayer, create, layers
-
Constructor Details
-
Default
protected Default()
-
-
Method Details
-
species
- Specified by:
species
in interfaceAnimalCreator
-
partner
- Specified by:
partner
in interfaceAnimalCreator
-
createEntityInstance
- Specified by:
createEntityInstance
in classEntity.Creator.Abstract<Animal,AnimalCreator>
-
createData
- Specified by:
createData
in interfaceEntity.Creator<Animal,AnimalCreator>
-
copy
- Specified by:
copy
in interfaceEntity.Creator<Animal,AnimalCreator>
-