TPTP 4.6.0 Tracing and Profiling Tools Project
Internal API Specification

org.eclipse.tptp.trace.arm.internal.metric
Class ArmMetricGroupImpl

java.lang.Object
  extended by org.eclipse.tptp.trace.arm.internal.transaction.ArmInterfaceImpl
      extended by org.eclipse.tptp.trace.arm.internal.metric.ArmMetricGroupImpl
All Implemented Interfaces:
org.opengroup.arm40.metric.ArmMetricGroup, org.opengroup.arm40.transaction.ArmInterface

public class ArmMetricGroupImpl
extends ArmInterfaceImpl
implements org.opengroup.arm40.metric.ArmMetricGroup

ArmMetricGroup is used to bind objects that implement a subclass of ArmMetric to an ArmTransactionWithMetrics or ArmTranReportWithMetrics object. Instances of ArmMetricGroup are created using the newArmMetricGroup() method of ArmMetricFactory.


Field Summary
 
Fields inherited from class org.eclipse.tptp.trace.arm.internal.transaction.ArmInterfaceImpl
validationPropertyKey
 
Constructor Summary
ArmMetricGroupImpl(org.opengroup.arm40.metric.ArmMetricGroupDefinition groupDefinition, org.opengroup.arm40.metric.ArmMetric[] metrics)
          Create ARM Metric Group.
 
Method Summary
 org.opengroup.arm40.metric.ArmMetricGroupDefinition getDefinition()
           
 org.opengroup.arm40.metric.ArmMetric getMetric(int index)
           
 org.opengroup.arm40.metric.ArmMetric[] getMetrics()
          Return a list of all the Arm Metrics in the group.
 boolean isMetricValid(int index)
           
 int setMetricValid(int index, boolean value)
           
 java.lang.String toString()
          Returns a XML string based version of this entity.
 
Methods inherited from class org.eclipse.tptp.trace.arm.internal.transaction.ArmInterfaceImpl
checkValidation, getErrorCode, getErrorMessage, getFactory, setErrorCode, setFactory
 
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(org.opengroup.arm40.metric.ArmMetricGroupDefinition groupDefinition,
                          org.opengroup.arm40.metric.ArmMetric[] metrics)
Create ARM Metric Group.

Parameters:
metrics -
Method Detail

getDefinition

public org.opengroup.arm40.metric.ArmMetricGroupDefinition getDefinition()
Specified by:
getDefinition in interface org.opengroup.arm40.metric.ArmMetricGroup

getMetric

public org.opengroup.arm40.metric.ArmMetric getMetric(int index)
Specified by:
getMetric in interface org.opengroup.arm40.metric.ArmMetricGroup

getMetrics

public org.opengroup.arm40.metric.ArmMetric[] getMetrics()
Return a list of all the Arm Metrics in the group.

Returns:
a list of all the Arm Metrics in the group.

isMetricValid

public boolean isMetricValid(int index)
Specified by:
isMetricValid in interface org.opengroup.arm40.metric.ArmMetricGroup

setMetricValid

public int setMetricValid(int index,
                          boolean value)
Specified by:
setMetricValid in interface org.opengroup.arm40.metric.ArmMetricGroup

toString

public java.lang.String toString()
Returns a XML string based version of this entity.

Overrides:
toString in class java.lang.Object
Returns:
a XML string based version of this entity.

TPTP 4.6.0 Tracing and Profiling Tools Project
Internal API Specification