net.m2technologies.open_arm.metric
Class ArmMetricDefinitionImpl

java.lang.Object
  extended bynet.m2technologies.open_arm.transaction.ArmInterfaceImpl
      extended bynet.m2technologies.open_arm.transaction.UniqueObjectImpl
          extended bynet.m2technologies.open_arm.metric.ArmMetricDefinitionImpl
All Implemented Interfaces:
ArmInterface, ArmMetricDefinition, UniqueObject
Direct Known Subclasses:
ArmMetricCounter32DefinitionImpl, ArmMetricCounter64DefinitionImpl, ArmMetricCounterFloat32DefinitionImpl, ArmMetricGauge32DefinitionImpl, ArmMetricGauge64DefinitionImpl, ArmMetricGaugeFloat32DefinitionImpl, ArmMetricNumericId32DefinitionImpl, ArmMetricNumericId64DefinitionImpl, ArmMetricString32DefinitionImpl

public class ArmMetricDefinitionImpl
extends UniqueObjectImpl
implements ArmMetricDefinition

Copyright 2005 Mark Masterson

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Description:

Version:
0.009
Author:
Mark Masterson

Field Summary
 
Fields inherited from class net.m2technologies.open_arm.transaction.ArmInterfaceImpl
HASH_CODE_MAGIC_NUMBER
 
Fields inherited from interface org.opengroup.arm40.metric.ArmMetricDefinition
METRIC_USE_GENERAL, METRIC_USE_TRAN_SIZE, METRIC_USE_TRAN_STATUS
 
Constructor Summary
ArmMetricDefinitionImpl(ArmID id, ArmTransactionFactory creatingFactory)
           
 
Method Summary
 java.lang.String getUnits()
           
 short getUsage()
           
 
Methods inherited from class net.m2technologies.open_arm.transaction.UniqueObjectImpl
equals, getID, getName, hashCode
 
Methods inherited from class net.m2technologies.open_arm.transaction.ArmInterfaceImpl
getCreatingFactory, getErrorCode, getErrorMessage, setErrorCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengroup.arm40.metric.ArmMetricDefinition
getID, getName
 
Methods inherited from interface org.opengroup.arm40.transaction.ArmInterface
getErrorCode, getErrorMessage, setErrorCode
 

Constructor Detail

ArmMetricDefinitionImpl

public ArmMetricDefinitionImpl(ArmID id,
                               ArmTransactionFactory creatingFactory)
Method Detail

getUnits

public java.lang.String getUnits()
Specified by:
getUnits in interface ArmMetricDefinition

getUsage

public short getUsage()
Specified by:
getUsage in interface ArmMetricDefinition