> ## 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: PHXPropertyDescriptor

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

**Class Hierarchy**

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

**Declaration**

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

A utility class used by [PHXSimpleSelfManager](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/PHXSimpleSelfManager.md), [PHXSimpleSelfManager2](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/PHXSimpleSelfManager2.md), and [PHXSimpleSelfManager3](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/PHXSimpleSelfManager3.md) to indicate which properties it manages.

## Constructor Summary

| Constructor and Description |
| - |
| `PHXPropertyDescriptor()` Creates a property descriptor with all values set to "unknown" |
| `PHXPropertyDescriptor(java.beans.PropertyDescriptor prop)` |
| `PHXPropertyDescriptor(java.beans.PropertyDescriptor prop, java.lang.Object parent)` |
| `PHXPropertyDescriptor(java.lang.String name, java.lang.Object object, boolean canSet, boolean canGet)` |
| `PHXPropertyDescriptor(java.lang.String name, java.lang.String type, boolean canSet, boolean canGet)` |

## Method Summary

| Modifier and Type | Method and Description |
| - | - |
| `static void` | `asPropertyDescriptor(java.lang.StringBuffer out, java.lang.String name, java.lang.String type, boolean canSet, boolean canGet)` Stringify the property descriptor data. |
| `java.lang.String` | `asValueDescriptor()` Converts the property to a machine-readable format. |
| `static void` | `asValueDescriptor(java.lang.StringBuffer out, java.lang.String name, java.lang.String type, boolean canSet, boolean canGet, java.lang.String value)` Stringify the value descriptor data. |
| `void` | `asValueDescriptor2([util/PHXStringBuffer](util/PHXStringBuffer.md) out)` Converts the property to a readable format. |
| `void` | `asValueDescriptor3([util/PHXStringBuffer](util/PHXStringBuffer.md) out)` Converts the property to a readable format. |
| `boolean` | `getCanGet()` Determines if the property can be retrieved. |
| `boolean` | `getCanSet()` Determines if the property can be modified. |
| `java.lang.String` | `getName()` Retrieves the property name. |
| `java.lang.Object` | `getSource()` |
| `java.lang.String` | `getType()` Retrieves the type of the property as a string. |
| `java.lang.Class` | `getTypeClass()` Retrieves the type of the property as a Class object. |
| `java.lang.String` | `getValue()` |
| `[util/PHXStringBuffer](util/PHXStringBuffer.md)` | `getValue2()` |
| `[util/PHXStringBuffer](util/PHXStringBuffer.md)` | `getValue3()` |
| `void` | `setCanGet(boolean flag)` Sets whether the property can be retrieved. |
| `void` | `setCanSet(boolean flag)` Sets whether the property can be modified. |
| `java.lang.String` | `toString()` Converts the property to a readable format. |

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

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

## Constructor Detail

### PHXPropertyDescriptor

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

Creates a property descriptor with all values set to "unknown".

### PHXPropertyDescriptor

```java theme={null}
public PHXPropertyDescriptor(java.beans.PropertyDescriptor prop)
```

**Parameters:**

* `prop` - the PropertyDescriptor

### PHXPropertyDescriptor

```java theme={null}
public PHXPropertyDescriptor(java.lang.String name, 
                             java.lang.String type, 
                             boolean canSet, 
                             boolean canGet)
```

**Parameters:**

* `name` - the name of the property
* `type` - the property type
* `canGet` - true if the property is readable
* `canSet` - true if the property is writeable

### PHXPropertyDescriptor

```java theme={null}
public PHXPropertyDescriptor(java.lang.String name, 
                             java.lang.Object object, 
                             boolean canSet, 
                             boolean canGet)
```

**Parameters:**

* `name` - the name of the property
* `object` - the property
* `canGet` - true if the property is readable
* `canSet` - true if the property is writeable

### PHXPropertyDescriptor

```java theme={null}
public PHXPropertyDescriptor(java.beans.PropertyDescriptor prop, 
                             java.lang.Object parent)
                      throws java.lang.IllegalArgumentException
```

**Parameters:**

* `prop` - the PropertyDescriptor
* `parent` - the parent object - used to retrieve the actual object for prop if prop is an array (so that the array length can be determined). May be null.

**Throws:**

* `java.lang.IllegalArgumentException`

## Method Detail

### getCanGet

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

Determines if the property can be retrieved.

**Returns:**

* true if the property can be retrieved

### setCanGet

```java theme={null}
public void setCanGet(boolean flag)
```

Sets whether the property can be retrieved.

**Parameters:**

* `flag` - true if the property can be retrieved

### getCanSet

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

Determines if the property can be modified.

**Returns:**

* true if the property can be modified

### setCanSet

```java theme={null}
public void setCanSet(boolean flag)
```

Sets whether the property can be modified.

**Parameters:**

* `flag` - true if the property can be modified

### getName

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

Retrieves the property name.

**Returns:**

* the name of the property

### getType

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

Retrieves the type of the property as a string.

**Returns:**

* the type of the property as a String

### getTypeClass

```java theme={null}
public java.lang.Class getTypeClass()
```

Retrieves the type of the property as a Class object.

**Returns:**

* the type of the property as a Class object

### getValue

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

### getValue2

```java theme={null}
public PHXStringBuffer getValue2()
    throws java.io.IOException
```

**Throws:**

* `java.io.IOException`

### getValue3

```java theme={null}
public PHXStringBuffer getValue3()
    throws java.io.IOException
```

**Throws:**

* `java.io.IOException`

### getSource

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

### toString

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

Converts the property to a readable format.

**Overrides:**

* `toString` in class `java.lang.Object`

**Returns:**

* the property in String format

### asValueDescriptor

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

Converts the property to a machine-readable format.

**Returns:**

* the property in String format

### asValueDescriptor2

```java theme={null}
public void asValueDescriptor2(PHXStringBuffer out)
                        throws java.io.IOException
```

Converts the property to a readable format. Returns a [util/PHXStringBuffer](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/PHXStringBuffer.md) for performance.

**Parameters:**

* `out` - a buffer for the method to use to store the property in String format

**Throws:**

* `java.io.IOException`

### asValueDescriptor3

```java theme={null}
public void asValueDescriptor3(PHXStringBuffer out)
                        throws java.io.IOException
```

Converts the property to a readable format. Returns a [util/PHXStringBuffer](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/PHXStringBuffer.md) for performance.

**Parameters:**

* `out` - a buffer for the method to use to store the property in String format

**Throws:**

* `java.io.IOException`

### asPropertyDescriptor

```java theme={null}
public static void asPropertyDescriptor(java.lang.StringBuffer out, 
                                        java.lang.String name, 
                                        java.lang.String type, 
                                        boolean canSet, 
                                        boolean canGet)
```

Stringify the property descriptor data.

**Parameters:**

* `out` - the buffer to write to
* `name` - the property name
* `type` - the property type
* `canSet` - whether the property can be set
* `canGet` - whether the property can be read

### asValueDescriptor

```java theme={null}
public static void asValueDescriptor(java.lang.StringBuffer out, 
                                     java.lang.String name, 
                                     java.lang.String type, 
                                     boolean canSet, 
                                     boolean canGet, 
                                     java.lang.String value)
```

Stringify the value descriptor data.

**Parameters:**

* `out` - the buffer to write to
* `name` - the property name
* `type` - the property type
* `canSet` - whether the property can be set
* `canGet` - whether the property can be read
* `value` - the value to write
