org.arm4.arm40.metric
Class ArmMetricString32
public
class
ArmMetricString32
extends ArmMetric
implements ArmMetricString32
Implements a string of 1 to 32 characters.
It is the same as ARM 2.0 metric type=10 (
ARM_String32
),
with two differences:
-
The characters are in the Java standard UCS-2 format.
-
The limit of 32 in the ARM 2.0 C language interface is a byte limit.
The limit in the ARM 4.0 C bindings is a character limit. Because a
character may be represented by more than one byte (e.g., a character
in UTF-8 is represented as 1, 2, or 3 bytes), the ARM 4.0 C
metric may be longer than 32 bytes.
Objects implementing this interface are created using
ArmMetricFactory.
Author: David Carter
protected String m_string32
Create ARM Metric.
Parameters: definition the descriptive metadata (name, units, usage, ID) for the metric
public String get()
public int set(String s)