spring-framework / org.springframework.beans / PropertyValue / <init>

<init>

PropertyValue(name: String, @Nullable value: Any)

Create a new PropertyValue instance.

Parameters

name - the name of the property (never null)

value - the value of the property (possibly before type conversion)

PropertyValue(original: PropertyValue)

Copy constructor.

Parameters

original - the PropertyValue to copy (never null)

PropertyValue(original: PropertyValue, @Nullable newValue: Any)

Constructor that exposes a new value for an original value holder. The original holder will be exposed as source of the new holder.

Parameters

original - the PropertyValue to link to (never null)

newValue - the new value to apply