Spring Data Commons

org.springframework.data.mapping.model
Class PreferredConstructor<T>

java.lang.Object
  extended by org.springframework.data.mapping.model.PreferredConstructor<T>

public class PreferredConstructor<T>
extends Object

Author:
Jon Brisbin

Nested Class Summary
static class PreferredConstructor.Parameter
           
static interface PreferredConstructor.ParameterValueProvider
           
 
Field Summary
protected  Constructor<T> constructor
           
protected  List<PreferredConstructor.Parameter> parameters
           
 
Constructor Summary
PreferredConstructor(Constructor<T> constructor)
           
 
Method Summary
 void addParameter(String name, Class<?> type, Annotation[] annotations)
           
 Constructor<T> getConstructor()
           
 List<PreferredConstructor.Parameter> getParameters()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

constructor

protected Constructor<T> constructor

parameters

protected List<PreferredConstructor.Parameter> parameters
Constructor Detail

PreferredConstructor

public PreferredConstructor(Constructor<T> constructor)
Method Detail

getConstructor

public Constructor<T> getConstructor()

getParameters

public List<PreferredConstructor.Parameter> getParameters()

addParameter

public void addParameter(String name,
                         Class<?> type,
                         Annotation[] annotations)

Spring Data Commons

Copyright © 2011. All Rights Reserved.