KotlinClassGeneratingEntityInstantiator
instead.@Deprecated public class KotlinClassGeneratingEntityInstantiator extends Object implements EntityInstantiator
ClassGeneratingEntityInstantiator
that adapts Kotlin constructors with
defaulting.Constructor and Description |
---|
KotlinClassGeneratingEntityInstantiator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T,E extends PersistentEntity<? extends T,P>,P extends PersistentProperty<P>> |
createInstance(E entity,
ParameterValueProvider<P> provider)
Deprecated.
Creates a new instance of the given entity using the given source to pull data from.
|
public KotlinClassGeneratingEntityInstantiator()
public <T,E extends PersistentEntity<? extends T,P>,P extends PersistentProperty<P>> T createInstance(E entity, ParameterValueProvider<P> provider)
EntityInstantiator
createInstance
in interface EntityInstantiator
entity
- will not be null.provider
- will not be null.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.