> ## 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.

# Class: PHXVariableInfo

**Package:** `com.phoenix_int.aserver`

**Class Hierarchy**

```text theme={null}
↳ java.lang.Object
  ↳ com.phoenix_int.aserver.PHXVariableInfo
```

**Declaration**

```java theme={null}
public class PHXVariableInfo
extends java.lang.Object
```

This is a utility class for holding parsing information about a variable.

## Constructor Summary

| Constructor and Description |
| - |
| `PHXVariableInfo()` Creates an uninitialized object. |
| `PHXVariableInfo(java.lang.String name, boolean input, java.lang.Object var)` |

## Method Summary

| Modifier and Type | Method and Description |
| - | - |
| `java.lang.String` | `getName()` |
| `java.lang.String` | `getType()` |
| `java.lang.Object` | `getVariable()` |
| `void` | `initialize(java.lang.String name, boolean input, java.lang.Object var)` Initializes the variable |
| `boolean` | `isInput()` |
| `void` | `setVariable(java.lang.Object var)` |

### Methods inherited from class java.lang.Object

`clone`, `equals`, `finalize`, `getClass`, `hashCode`, `notify`, `notifyAll`, `toString`, `wait`, `wait`, `wait`

## Constructor Detail

### PHXVariableInfo

```java theme={null}
public PHXVariableInfo()
```

Creates an uninitialized object. Initialize must be called before any of the methods will work properly.

### PHXVariableInfo

```java theme={null}
public PHXVariableInfo(java.lang.String name, boolean input, java.lang.Object var)
    throws PHXInvalidNameException
```

**Parameters:**

* `name` - the name of the variable
* `input` - true if the variable is an input, false if an output
* `var` - the actual variable

**Throws:**

* [`PHXInvalidNameException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2025-r2/com/phoenix_int/aserver/PHXInvalidNameException) - thrown if the name contains invalid characters

## Method Detail

### initialize

```java theme={null}
public void initialize(java.lang.String name, boolean input, java.lang.Object var)
    throws PHXInvalidNameException
```

Initializes the variable

**Parameters:**

* `name` - the name of the variable
* `input` - true if the variable is an input, false if an output
* `var` - the actual variable

**Throws:**

* [`PHXInvalidNameException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2025-r2/com/phoenix_int/aserver/PHXInvalidNameException) - thrown if the name contains invalid characters

### getName

```java theme={null}
public java.lang.String getName()
```

### isInput

```java theme={null}
public boolean isInput()
```

### getVariable

```java theme={null}
public java.lang.Object getVariable()
```

### setVariable

```java theme={null}
public void setVariable(java.lang.Object var)
```

### getType

```java theme={null}
public java.lang.String getType()
```
