public class PreferredConstructorDiscoverer<T,P extends PersistentProperty<P>> extends Object
PreferredConstructor
.Modifier | Constructor and Description |
---|---|
|
PreferredConstructorDiscoverer(Class<T> type)
Creates a new
PreferredConstructorDiscoverer for the given type. |
|
PreferredConstructorDiscoverer(PersistentEntity<T,P> entity)
Creates a new
PreferredConstructorDiscoverer for the given PersistentEntity . |
protected |
PreferredConstructorDiscoverer(TypeInformation<T> type,
PersistentEntity<T,P> entity)
Creates a new
PreferredConstructorDiscoverer for the given type. |
Modifier and Type | Method and Description |
---|---|
PreferredConstructor<T,P> |
getConstructor()
Returns the discovered
PreferredConstructor . |
public PreferredConstructorDiscoverer(Class<T> type)
PreferredConstructorDiscoverer
for the given type.type
- must not be null.public PreferredConstructorDiscoverer(PersistentEntity<T,P> entity)
PreferredConstructorDiscoverer
for the given PersistentEntity
.entity
- must not be null.protected PreferredConstructorDiscoverer(TypeInformation<T> type, PersistentEntity<T,P> entity)
PreferredConstructorDiscoverer
for the given type.type
- must not be null.entity
- public PreferredConstructor<T,P> getConstructor()
PreferredConstructor
.Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.