|
Spring Data Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.mapping.model.PreferredConstructorDiscoverer<T,P>
public class PreferredConstructorDiscoverer<T,P extends PersistentProperty<P>>
Helper class to find a PreferredConstructor
.
Constructor Summary | |
---|---|
|
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. |
Method Summary | |
---|---|
PreferredConstructor<T,P> |
getConstructor()
Returns the discovered PreferredConstructor . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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
- Method Detail |
---|
public PreferredConstructor<T,P> getConstructor()
PreferredConstructor
.
|
Spring Data Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |