com.tibco.rta.runtime.model
Interface MetricNode

All Superinterfaces:
RtaNode, java.io.Serializable

public interface MetricNode
extends RtaNode

A wrapper over a Metric instance. It provides convenience methods to iterate over its associated facts. This might by required by the metric computation function.


Method Summary
 MetricNode deepCopy()
           
<T extends Fact>
Browser<T>
getChildFactsBrowser(java.util.List<MetricFieldTuple> orderByList)
           
 RtaNodeContext getContext(java.lang.String metricName)
          Returns the context associated with the given metric name.
 java.lang.String getDimensionHierarchyName()
           
<N> Metric<N>
getMetric(java.lang.String metricName)
           
 java.util.Collection<java.lang.String> getMetricNames()
          A list of metric names that this mode stores.
 boolean isDeleted()
           
 
Methods inherited from interface com.tibco.rta.runtime.model.RtaNode
getChildNodeBrowser, getCreatedTime, getFactBrowser, getKey, getLastModifiedTime, getParent, getParentKey, isNew
 

Method Detail

getMetric

<N> Metric<N> getMetric(java.lang.String metricName)
Returns:
The encapsulated Metric object

getMetricNames

java.util.Collection<java.lang.String> getMetricNames()
A list of metric names that this mode stores.

Returns:
The list.

getContext

RtaNodeContext getContext(java.lang.String metricName)
Returns the context associated with the given metric name.

Parameters:
name - the metric name for which context is desired.
Returns:
the context associated with the name.

getDimensionHierarchyName

java.lang.String getDimensionHierarchyName()
Returns:
The dimension hierarchy to which this node belongs to

getChildFactsBrowser

<T extends Fact> Browser<T> getChildFactsBrowser(java.util.List<MetricFieldTuple> orderByList)
Parameters:
orderByList -
Returns:
get all associated facts for this metric node

isDeleted

boolean isDeleted()

deepCopy

MetricNode deepCopy()
Specified by:
deepCopy in interface RtaNode


Copyright © 2000-2014 TIBCO Inc. All Rights Reserved.