com.tibco.rta.model.mutable
Interface MutableMeasurement

All Superinterfaces:
Measurement, MetadataElement, MutableMetadataElement, java.io.Serializable

public interface MutableMeasurement
extends MutableMetadataElement, Measurement

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
     void addDependency(Measurement dependency)
              Add dependency of measurement
     void addFunctionParamBinding(java.lang.String paramName, java.lang.String attributeName)
              Add a function binding to this measurement.
     void setDataType(DataType dataType)
              Set DataType for the measurement
     void setMetricFunctionDescriptor(MetricFunctionDescriptor functionDescriptor)
              Associate a function descriptor with this measurement.
     void setUnitOfMeasurement(java.lang.String unitOfMeasurement)
              set the unit for this measurement.
     
    Methods inherited from interface com.tibco.rta.model.mutable.MutableMetadataElement
    setDescription, setDisplayName, setName, setProperty
     
    Methods inherited from interface com.tibco.rta.model.Measurement
    getDataType, getDependencies, getFunctionParamBinding, getMetricFunctionDescriptor, getUnitOfMeasurement
     
    Methods inherited from interface com.tibco.rta.model.MetadataElement
    getDescription, getDisplayName, getName, getOwnerSchema, getProperty, getPropertyNames, serialize
     

    Method Detail

    setMetricFunctionDescriptor

    void setMetricFunctionDescriptor(MetricFunctionDescriptor functionDescriptor)
    Associate a function descriptor with this measurement.

    Parameters:
    functionDescriptor -

    addFunctionParamBinding

    void addFunctionParamBinding(java.lang.String paramName,
                                 java.lang.String attributeName)
    Add a function binding to this measurement.

    Parameters:
    paramName - the parameter to map to in the function descriptor.
    attributeName - the attribute from the fact to use for this computation.

    setUnitOfMeasurement

    void setUnitOfMeasurement(java.lang.String unitOfMeasurement)
    set the unit for this measurement.

    Parameters:
    unit - the unit for this measurement.

    addDependency

    void addDependency(Measurement dependency)
    Add dependency of measurement

    Parameters:
    dependency -

    setDataType

    void setDataType(DataType dataType)
    Set DataType for the measurement

    Parameters:
    dataType -


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