net.m2technologies.open_arm.metric
Class ArmMetricGroupImpl

java.lang.Object
  extended bynet.m2technologies.open_arm.transaction.ArmInterfaceImpl
      extended bynet.m2technologies.open_arm.metric.ArmMetricGroupImpl
All Implemented Interfaces:
ArmInterface, ArmMetricGroup

public class ArmMetricGroupImpl
extends ArmInterfaceImpl
implements ArmMetricGroup

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
 
Constructor Summary
ArmMetricGroupImpl(ArmTransactionFactory creatingFactory)
           
 
Method Summary
 ArmMetricGroupDefinition getDefinition()
           
 ArmMetric getMetric(int index)
           
 boolean isMetricValid(int index)
           
 int setMetricValid(int index, boolean value)
           
 
Methods inherited from class net.m2technologies.open_arm.transaction.ArmInterfaceImpl
getCreatingFactory, getErrorCode, getErrorMessage, setErrorCode, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengroup.arm40.transaction.ArmInterface
getErrorCode, getErrorMessage, setErrorCode
 

Constructor Detail

ArmMetricGroupImpl

public ArmMetricGroupImpl(ArmTransactionFactory creatingFactory)
Method Detail

getDefinition

public ArmMetricGroupDefinition getDefinition()
Specified by:
getDefinition in interface ArmMetricGroup

getMetric

public ArmMetric getMetric(int index)
Specified by:
getMetric in interface ArmMetricGroup

isMetricValid

public boolean isMetricValid(int index)
Specified by:
isMetricValid in interface ArmMetricGroup

setMetricValid

public int setMetricValid(int index,
                          boolean value)
Specified by:
setMetricValid in interface ArmMetricGroup