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