> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Variant

public class [Variant](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant.md)

This is a small class used to map win32 VARIANTs received by calls to ModelCenter's COM interface.

#### Author

Haisma, 2/2000

## Constructors

| | |
| - | - |
| [Variant](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-variant) | constructor(type: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), value: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)) \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Constructor |

## Properties

| Name | Summary |
| - | - |
| [BOOLEAN](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-b-o-o-l-e-a-n) | val [BOOLEAN](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-b-o-o-l-e-a-n): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 5 |
| [BOOLEAN\_ARRAY](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-b-o-o-l-e-a-n_-a-r-r-a-y) | val [BOOLEAN\_ARRAY](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-b-o-o-l-e-a-n_-a-r-r-a-y): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 11 |
| [DISPATCH](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-d-i-s-p-a-t-c-h) | val [DISPATCH](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-d-i-s-p-a-t-c-h): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 13 |
| [DOUBLE](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-d-o-u-b-l-e) | val [DOUBLE](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-d-o-u-b-l-e): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 1 |
| [DOUBLE\_ARRAY](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-d-o-u-b-l-e_-a-r-r-a-y) | val [DOUBLE\_ARRAY](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-d-o-u-b-l-e_-a-r-r-a-y): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 7 |
| [INT](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-i-n-t) | val [INT](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-i-n-t): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 2 |
| [INT\_ARRAY](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-i-n-t_-a-r-r-a-y) | val [INT\_ARRAY](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-i-n-t_-a-r-r-a-y): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 8 |
| [LONG](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-l-o-n-g) | val [LONG](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-l-o-n-g): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 3 |
| [LONG\_ARRAY](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-l-o-n-g_-a-r-r-a-y) | val [LONG\_ARRAY](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-l-o-n-g_-a-r-r-a-y): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 9 |
| [REFERENCE](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-r-e-f-e-r-e-n-c-e) | val [REFERENCE](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-r-e-f-e-r-e-n-c-e): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 6 |
| [STRING](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-s-t-r-i-n-g) | val [STRING](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-s-t-r-i-n-g): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 4 |
| [STRING\_ARRAY](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-s-t-r-i-n-g_-a-r-r-a-y) | val [STRING\_ARRAY](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-s-t-r-i-n-g_-a-r-r-a-y): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 10 |
| [UNKNOWN](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-u-n-k-n-o-w-n) | val [UNKNOWN](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/-u-n-k-n-o-w-n): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 0 |

## Functions

| Name | Summary |
| - | - |
| [booleanArrayValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/boolean-array-value) | public [booleanArrayValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/boolean-array-value)(): [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)\<[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)> |
| [booleanValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/boolean-value) | public [booleanValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/boolean-value)(): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) |
| [doubleArrayValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/double-array-value) | public [doubleArrayValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/double-array-value)(): [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)\<[Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)> |
| [doubleValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/double-value) | public [doubleValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/double-value)(): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) |
| [getType](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/get-type) | public [getType](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/get-type)(): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) |
| [getValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/get-value) | public [getValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/get-value)(): [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |
| [intArrayValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/int-array-value) | public [intArrayValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/int-array-value)(): [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)\<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)> |
| [intValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/int-value) | public [intValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/int-value)(): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) |
| [longArrayValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/long-array-value) | public [longArrayValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/long-array-value)(): [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)\<[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)> |
| [longValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/long-value) | public [longValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/long-value)(): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) |
| [stringArrayValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/string-array-value) | public [stringArrayValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/string-array-value)(): [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)\<[String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)> |
| [stringValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/string-value) | public [stringValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/string-value)(): [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html) |
| [toString](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/to-string) | public [toString](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-variant/to-string)(): [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html) |
