java.lang.Object | |
↳ | org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder |
Holder for a constructor argument value, with an optional type attribute indicating the target type of the actual constructor argument.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new ValueHolder for the given value.
| |||||||||||
Create a new ValueHolder for the given value and type.
| |||||||||||
Create a new ValueHolder for the given value, type and name.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a copy of this ValueHolder: that is, an independent
ValueHolder instance with the same contents.
| |||||||||||
Return the converted value of the constructor argument,
after processed type conversion.
| |||||||||||
Return the name of the constructor argument.
| |||||||||||
Return the configuration source
Object for this metadata element
(may be null ). | |||||||||||
Return the type of the constructor argument.
| |||||||||||
Return the value for the constructor argument.
| |||||||||||
Return whether this holder contains a converted value already (
true ),
or whether the value still needs to be converted (false ). | |||||||||||
Set the converted value of the constructor argument,
after processed type conversion.
| |||||||||||
Set the name of the constructor argument.
| |||||||||||
Set the configuration source
Object for this metadata element. | |||||||||||
Set the type of the constructor argument.
| |||||||||||
Set the value for the constructor argument.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.BeanMetadataElement
|
Create a new ValueHolder for the given value.
value | the argument value |
---|
Create a new ValueHolder for the given value and type.
value | the argument value |
---|---|
type | the type of the constructor argument |
Create a new ValueHolder for the given value, type and name.
value | the argument value |
---|---|
type | the type of the constructor argument |
name | the name of the constructor argument |
Create a copy of this ValueHolder: that is, an independent ValueHolder instance with the same contents.
Return the converted value of the constructor argument, after processed type conversion.
Return the configuration source Object
for this metadata element
(may be null
).
Return whether this holder contains a converted value already (true
),
or whether the value still needs to be converted (false
).
Set the converted value of the constructor argument, after processed type conversion.
Set the configuration source Object
for this metadata element.
The exact type of the object will depend on the configuration mechanism used.
Set the value for the constructor argument.