The setVariant method of the ObjectDictionary class creates a VARIANT variable.
public void setVariant(java.lang.String name, com.ms.com.Variant v);