com.phoenix_int.aserver.types
Interface IPHXUnits
- All Known Implementing Classes:
- PHXBoolean, PHXBooleanArray, PHXDouble, PHXDoubleArray, PHXFile, PHXGeometry, PHXInteger, PHXLong, PHXLongArray, PHXObjectArray, PHXRawFile, PHXRawFileArray, PHXScriptObject, PHXSimpleArray, PHXSimpleType, PHXString, PHXStringArray
-
public interface IPHXUnits
Interface for PHX variables that support units
Example usage:
IPHXType var = wrapper.getVariable("myVar");
if (var instanceof IPHXUnits)
{
((IPHXUnits)var).setUnits("m");
}
| Method Summary |
java.lang.String |
getUnits()
Get the units string for the variable |
void |
setUnits(java.lang.String units)
Set the units string for the variable |
getUnits
java.lang.String getUnits()
- Get the units string for the variable
-
- Returns:
- units string
setUnits
void setUnits(java.lang.String units)
- Set the units string for the variable
-
- Parameters:
units - units for the variable