Skip to main content
Package: com.phoenix_int.pacz.api.v2 All Superinterfaces
Declaration:
Component variable interface

Nested Class Summary

Nested classes/interfaces inherited from interface com.phoenix_int.aserver.types.IPHXType2

IPHXType2.IVisitor<T>

Method Summary

Methods inherited from interface com.phoenix_int.aserver.types.IPHXType2

Accept, fromString2, toString2

Methods inherited from interface com.phoenix_int.aserver.types.IPHXType

fromString, toString

Methods inherited from interface com.phoenix_int.aserver.types.IPHXUnits

getUnits, setUnits

Methods inherited from interface com.phoenix_int.pacz.api.v2.IRuntimeVariableMetadata

getOptionalEnumAliases, getOptionalEnumValues, getOptionalFormat, getOptionalLowerBound, getOptionalUpperBound

Method Detail

getVariableName

Get variable name Returns:
  • variable name

setVariableName

Set variable name Parameters:
  • name - variable name to use

getDescription

Get variable description Returns:
  • description of variable

setDescription

Set variable description Parameters:
  • description - description of variable to use

getType

Get variable data type Returns:
  • variable data type
See Also:

getMetaData

Get additional variable meta data Returns:
  • key-value pair of variable meta data

setMetaData

Set meta data property; will create a new entry if it does not exist Parameters:
  • key - meta data property for which to set value
  • value - value to set
Throws:
  • java.lang.IllegalArgumentException - if key is null or empty

isNumeric

Whether or not variable is a numeric type Returns:
  • true if numeric type, false otherwise

isArray

Whether or not variable is an array type Returns:
  • true if array type, false otherwise

isEnum

Whether or not variable is an enumerated type Returns:
  • true if enumerated type, false otherwise

toPHXSimpleType

Get the PHXSimpleType version of variable Returns:
  • PHXSimpleType version of variable

createCopy

Get a clone of this variable, including its metadata and value. Returns:
  • a newly constructed clone of the instance.