Class PetCreator.Default
java.lang.Object
one.microstream.entity.Entity.Creator.Abstract<Pet,PetCreator>
one.microstream.examples.layeredentities._Pet.PetCreator.Default
- All Implemented Interfaces:
Entity.Creator<Pet,PetCreator>,PetCreator
- Enclosing interface:
- PetCreator
public static class PetCreator.Default extends Entity.Creator.Abstract<Pet,PetCreator> implements PetCreator
-
Nested Class Summary
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.StaticNested classes/interfaces inherited from interface one.microstream.examples.layeredentities._Pet.PetCreator
PetCreator.Default -
Constructor Summary
Constructors Modifier Constructor Description protectedDefault() -
Method Summary
Modifier and Type Method Description PetCreatorcopy(Pet other)PetcreateData(Pet entityInstance)protected EntityLayerIdentitycreateEntityInstance()PetCreatorname(String name)PetCreatorpartner(Animal partner)PetCreatorspecies(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 interfacePetCreator
-
partner
- Specified by:
partnerin interfacePetCreator
-
name
- Specified by:
namein interfacePetCreator
-
createEntityInstance
- Specified by:
createEntityInstancein classEntity.Creator.Abstract<Pet,PetCreator>
-
createData
- Specified by:
createDatain interfaceEntity.Creator<Pet,PetCreator>
-
copy
- Specified by:
copyin interfaceEntity.Creator<Pet,PetCreator>
-