Value.assignVariant

Overview | Methods | This Package | All Packages

Value.assignVariant

Assigns a value to a variant.

Syntax

public static void assignVariant( Variant v, Object value )

Parameters

v

The variant to assign a value to.

value

The value to assign to the variant.

Remarks

The following actions can occur:

Variant objects should be treated as fixed entities. Once a variant is created, changing the value stored in the variant is not recommended. Whenever possible, avoid using the assignVariant method. Call the toVariant method instead.