Class PHXRefArrayProperty
Last update: 22.06.2026Packages: com.phoenix_int.aserver.types
↳ java.lang.Object
↳ com.phoenix_int.aserver.types.PHXRefArrayProperty
All Implemented Interfaces:
Declaration:
public class PHXRefArrayProperty
extends java.lang.Object
implements IPHXRefPropInfo
This is a class for holding properties of a reference object
- type: String
- enumValues: String[]
- description: String
- title: String
- input: boolean
where type may be any of the following:
- "long"
- "double"
- "boolean"
- "string"
Method Summary
| Modifier and Type | Method and Description |
|---|---|
void |
enumValuesFromString(java.lang.String enumValues)sets the enum values from a comma-separated list of values |
java.lang.String |
getDescription()retrieves a description of the ref prop |
java.lang.String[] |
getEnumValues()lists enum values |
boolean |
getInput()retrieves an indicator of whether the ref prop is an input or an output. |
java.lang.String |
getName()retrieves the name of the variable |
java.lang.String |
getTitle()retrieves a title of the ref prop. |
java.lang.String |
getType()retrieves the current type of the variable |
java.lang.String |
getValues(int index)gets the value at an index |
void |
setDescription(java.lang.String value)sets a description of the ref prop |
void |
setEnumValues(java.lang.String[] enumValues)sets the enum values |
void |
setInput(boolean value)sets an indicator for the ref prop |
void |
setTitle(java.lang.String value)sets a title of the ref prop |
void |
setValues(int index, java.lang.String v)sets the value for the variable |
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail
getName
public java.lang.String getName()
retrieves the name of the variable
Specified by:
getNamein interfaceIPHXRefPropInfo###
Returns:
- the name of the variable
getDescription
public java.lang.String getDescription()
retrieves a description of the ref prop
Specified by:
getDescriptionin interfaceIPHXDescription
Returns:
- a description of the ref prop
setDescription
public void setDescription(java.lang.String value)
sets a description of the ref prop
Specified by:
setDescriptionin interfaceIPHXDescription
Parameters:
value- a description of the ref prop
getTitle
public java.lang.String getTitle()
retrieves a title of the ref prop. Used by ModelCenter when displaying the variable in certain dialogs
Specified by:
getTitlein interfaceIPHXRefPropInfo
Returns:
- a title for the ref prop
setTitle
public void setTitle(java.lang.String value)
sets a title of the ref prop
Specified by:
setTitlein interfaceIPHXRefPropInfo
Parameters:
value- a title for the ref prop
getInput
public boolean getInput()
retrieves an indicator of whether the ref prop is an input or an output. If it's an output, the driver component will calculate a value for it.
Specified by:
getInputin interfaceIPHXRefPropInfo
Returns:
- an indicator if the ref prop is an input
setInput
public void setInput(boolean value)
sets an indicator for the ref prop
Specified by:
setInputin interfaceIPHXRefPropInfo
Parameters:
value- an indicator for the ref prop
getValues
public java.lang.String getValues(int index)
gets the value at an index
Parameters:
index- the desired index
setValues
public void setValues(int index,
java.lang.String v)
sets the value for the variable
Parameters:
v- the value
getType
public java.lang.String getType()
retrieves the current type of the variable
Specified by:
getTypein interfaceIPHXRefPropInfo
Returns:
- the value of the variable
getEnumValues
public java.lang.String[] getEnumValues()
lists enum values
Specified by:
getEnumValuesin interfaceIPHXRefPropInfo
Returns:
- enum values
setEnumValues
public void setEnumValues(java.lang.String[] enumValues)
sets the enum values
Specified by:
setEnumValuesin interfaceIPHXRefPropInfo
Parameters:
enumValues- an array enum values
enumValuesFromString
public void enumValuesFromString(java.lang.String enumValues)
sets the enum values from a comma-separated list of values
Specified by:
enumValuesFromStringin interfaceIPHXRefPropInfo
Parameters:
enumValues- a comma-separated list of values