org.eclipse.tptp.trace.arm.internal.metric
Class ArmMetricDefinitionImpl
java.lang.Object
org.eclipse.tptp.trace.arm.internal.metric.ArmMetricDefinitionImpl
- All Implemented Interfaces:
- org.opengroup.arm40.transaction.ArmInterface, org.opengroup.arm40.metric.ArmMetricDefinition
- Direct Known Subclasses:
- ArmMetricCounter32DefinitionImpl, ArmMetricCounter64DefinitionImpl, ArmMetricCounterFloat32DefinitionImpl, ArmMetricGauge32DefinitionImpl, ArmMetricGauge64DefinitionImpl, ArmMetricGaugeFloat32DefinitionImpl, ArmMetricNumericId32DefinitionImpl, ArmMetricNumericId64DefinitionImpl, ArmMetricString32DefinitionImpl
- public class ArmMetricDefinitionImpl
- extends java.lang.Object
- implements org.opengroup.arm40.metric.ArmMetricDefinition
TODO: Write Documentation
- Since:
- 4.2 - 3-Apr-2006
| Fields inherited from interface org.opengroup.arm40.metric.ArmMetricDefinition |
METRIC_USE_GENERAL, METRIC_USE_TRAN_SIZE, METRIC_USE_TRAN_STATUS |
|
Constructor Summary |
ArmMetricDefinitionImpl(org.opengroup.arm40.transaction.ArmApplicationDefinition definition,
java.lang.String name,
java.lang.String units,
short usage,
org.opengroup.arm40.transaction.ArmID id)
Create the Arm Metric Definition. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MAX_NAME_LENGTH
public static final int MAX_NAME_LENGTH
- See Also:
- Constant Field Values
ArmMetricDefinitionImpl
public ArmMetricDefinitionImpl(org.opengroup.arm40.transaction.ArmApplicationDefinition definition,
java.lang.String name,
java.lang.String units,
short usage,
org.opengroup.arm40.transaction.ArmID id)
- Create the Arm Metric Definition.
- Parameters:
id - name -
getApplicationDefinition
public org.opengroup.arm40.transaction.ArmApplicationDefinition getApplicationDefinition()
getName
public java.lang.String getName()
- Specified by:
getName in interface org.opengroup.arm40.metric.ArmMetricDefinition
getUnits
public java.lang.String getUnits()
- Specified by:
getUnits in interface org.opengroup.arm40.metric.ArmMetricDefinition
getUsage
public short getUsage()
- Specified by:
getUsage in interface org.opengroup.arm40.metric.ArmMetricDefinition
getID
public org.opengroup.arm40.transaction.ArmID getID()
- Specified by:
getID in interface org.opengroup.arm40.metric.ArmMetricDefinition
getErrorCode
public int getErrorCode()
- Specified by:
getErrorCode in interface org.opengroup.arm40.transaction.ArmInterface
setErrorCode
public int setErrorCode(int errorCode)
- Specified by:
setErrorCode in interface org.opengroup.arm40.transaction.ArmInterface
getErrorMessage
public java.lang.String getErrorMessage(int errorCode)
- Specified by:
getErrorMessage in interface org.opengroup.arm40.transaction.ArmInterface
toString
public java.lang.String toString()
- Returns a XML string based version of this entity.