org.opengroup.arm40.metric
Interface ArmMetricString32

All Superinterfaces:
ArmInterface, ArmMetric
All Known Implementing Classes:
ArmMetricString32

public interface ArmMetricString32
extends ArmMetric

Implements a string of 1 to 32 characters. It is the same as ARM 2.0 metric type=10 (ARM_String32), with two differences:

Objects implementing this interface are created using ArmMetricFactory.newArmMetricString32(org.opengroup.arm40.metric.ArmMetricString32Definition).

Author:
ARM Working Group of The Open Group

Method Summary
 java.lang.String get()
          Gets the string value.
 int set(java.lang.String s)
          Sets the string value.
 
Methods inherited from interface org.opengroup.arm40.metric.ArmMetric
getDefinition
 
Methods inherited from interface org.opengroup.arm40.transaction.ArmInterface
getErrorCode, getErrorMessage, setErrorCode
 

Method Detail

get

java.lang.String get()
Gets the string value.

Returns:
the string value.

set

int set(java.lang.String s)
Sets the string value.

Parameters:
s - new string value.
Returns:
0 on sucess; otherwise, a non-zero error code is returned (as specified in ArmInterface).