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.DefaultNested 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 protectedDefault() -
Method Summary
Modifier and Type Method Description AnimalCreatorcopy(Animal other)AnimalcreateData(Animal entityInstance)protected EntityLayerIdentitycreateEntityInstance()AnimalCreatorpartner(Animal partner)AnimalCreatorspecies(String species)Methods inherited from class one.microstream.entity.Entity.Creator.Abstract
create, dispatchDataInstance, layersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface one.microstream.entity.Entity.Creator
addLayer, addLayer, create, layers
-
Constructor Details
-
Default
protected Default()
-
-
Method Details
-
species
- Specified by:
speciesin interfaceAnimalCreator
-
partner
- Specified by:
partnerin interfaceAnimalCreator
-
createEntityInstance
- Specified by:
createEntityInstancein classEntity.Creator.Abstract<Animal,AnimalCreator>
-
createData
- Specified by:
createDatain interfaceEntity.Creator<Animal,AnimalCreator>
-
copy
- Specified by:
copyin interfaceEntity.Creator<Animal,AnimalCreator>
-