com.tibco.rta.model
Interface Measurement

All Superinterfaces:
MetadataElement, java.io.Serializable
All Known Subinterfaces:
MutableMeasurement

public interface Measurement
extends MetadataElement

Measurement is a representation of a quantity being measured.

e.g :

  • Sales of car in a year
  • Growth of Population of country in last x years.

  • Method Summary
     DataType getDataType()
              Get DataType of measurement
     java.util.Collection<Measurement> getDependencies()
              Return a collection of measurements which need to be computed before this measurement can be computed.
     java.lang.String getFunctionParamBinding(java.lang.String paramName)
              Get the attribute associated with this parameter.
    <T extends MetricFunctionDescriptor>
    T
    getMetricFunctionDescriptor()
              Gets the metric descriptor.
     java.lang.String getUnitOfMeasurement()
              Get unit of measurement.
     
    Methods inherited from interface com.tibco.rta.model.MetadataElement
    getDescription, getDisplayName, getName, getOwnerSchema, getProperty, getPropertyNames, serialize
     

    Method Detail

    getMetricFunctionDescriptor

    <T extends MetricFunctionDescriptor> T getMetricFunctionDescriptor()
    Gets the metric descriptor.

    Returns:
    the metric descriptor or null if none exists.

    getFunctionParamBinding

    java.lang.String getFunctionParamBinding(java.lang.String paramName)
    Get the attribute associated with this parameter.

    Parameters:
    paramName - function parameter to bind to.
    Returns:

    getUnitOfMeasurement

    java.lang.String getUnitOfMeasurement()
    Get unit of measurement.

    Returns:
    Unit of measurement

    getDependencies

    java.util.Collection<Measurement> getDependencies()
    Return a collection of measurements which need to be computed before this measurement can be computed.

    Measurements can be chained thus. If measurement A depends on measurement B and C then B and C will be evaluated before A.

    Returns:

    getDataType

    DataType getDataType()
    Get DataType of measurement

    Returns:
    DataType of measurement


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