public interface EntityInstantiator
PersistentEntity
s.Modifier and Type | Method and Description |
---|---|
<T,E extends PersistentEntity<? extends T,P>,P extends PersistentProperty<P>> |
createInstance(E entity,
ParameterValueProvider<P> provider)
Creates a new instance of the given entity using the given source to pull data from.
|
<T,E extends PersistentEntity<? extends T,P>,P extends PersistentProperty<P>> T createInstance(E entity, ParameterValueProvider<P> provider)
entity
- will not be null.provider
- will not be null.Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.