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-2013-2013 Pivotal. All Rights Reserved.