org.opengroup.arm40.metric
Interface ArmMetricNumericId32

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

public interface ArmMetricNumericId32
extends ArmMetric

Implements a 32-bit integer numeric ID. It is the same as ARM 2.0 metric type=7 (ARM_NumericID32).

Objects implementing this interface are created using ArmMetricFactory.newArmMetricNumericId32(org.opengroup.arm40.metric.ArmMetricNumericId32Definition).

Author:
ARM Working Group of The Open Group

Method Summary
 int get()
          Gets the numeric ID value.
 int set(int value)
          Sets the numeric ID 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

int get()
Gets the numeric ID value.

Returns:
the numeric ID value.

set

int set(int value)
Sets the numeric ID value.

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