public class MetricProcedureAttributeValue extends MetricProcedure
Constructor and Description |
---|
MetricProcedureAttributeValue() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
calculate(ModelElement element,
Metric metric)
Calculates the metric procedure.
|
evalBooleanExpression, evalElementSetExpression, evalExpression, evalSetExpression, getFilterAttributeProcessor, getMetaModel, getMetricsEngine, getModel, getRelationOrSet, isCompatible
protected java.lang.Object calculate(ModelElement element, Metric metric) throws SDMetricsException
calculate
in class MetricProcedure
element
- The model element for which to calculate the procedure.metric
- The metric to calculate.ModelElement
object is returned.SDMetricsException
- if required attributes are missing or have the
wrong type.