public static class ConstructorArgumentValues.ValueHolder extends Object implements BeanMetadataElement
| Constructor and Description | 
|---|
| ValueHolder(Object value)Create a new ValueHolder for the given value. | 
| ValueHolder(Object value,
           String type)Create a new ValueHolder for the given value and type. | 
| ValueHolder(Object value,
           String type,
           String name)Create a new ValueHolder for the given value, type and name. | 
| Modifier and Type | Method and Description | 
|---|---|
| ConstructorArgumentValues.ValueHolder | copy()Create a copy of this ValueHolder: that is, an independent
 ValueHolder instance with the same contents. | 
| Object | getConvertedValue()Return the converted value of the constructor argument,
 after processed type conversion. | 
| String | getName()Return the name of the constructor argument. | 
| Object | getSource()Return the configuration source  Objectfor this metadata element
 (may benull). | 
| String | getType()Return the type of the constructor argument. | 
| Object | getValue()Return the value for the constructor argument. | 
| boolean | isConverted()Return whether this holder contains a converted value already ( true),
 or whether the value still needs to be converted (false). | 
| void | setConvertedValue(Object value)Set the converted value of the constructor argument,
 after processed type conversion. | 
| void | setName(String name)Set the name of the constructor argument. | 
| void | setSource(Object source)Set the configuration source  Objectfor this metadata element. | 
| void | setType(String type)Set the type of the constructor argument. | 
| void | setValue(Object value)Set the value for the constructor argument. | 
public ValueHolder(@Nullable
                   Object value)
value - the argument valuepublic ValueHolder(@Nullable
                   Object value,
                   @Nullable
                   String type)
value - the argument valuetype - the type of the constructor argumentpublic void setValue(@Nullable
                     Object value)
@Nullable public Object getValue()
public void setType(@Nullable
                    String type)
@Nullable public String getType()
public void setName(@Nullable
                    String name)
@Nullable public String getName()
public void setSource(@Nullable
                      Object source)
Object for this metadata element.
 The exact type of the object will depend on the configuration mechanism used.
@Nullable public Object getSource()
BeanMetadataElementObject for this metadata element
 (may be null).getSource in interface BeanMetadataElementpublic boolean isConverted()
true),
 or whether the value still needs to be converted (false).public void setConvertedValue(@Nullable
                              Object value)
@Nullable public Object getConvertedValue()
public ConstructorArgumentValues.ValueHolder copy()