www.sdmetrics.com

com.sdmetrics.metrics
Class SetProcedureProjection

java.lang.Object
  extended by com.sdmetrics.metrics.AbstractProcedure
      extended by com.sdmetrics.metrics.SetProcedure
          extended by com.sdmetrics.metrics.SetProcedureProjection

public class SetProcedureProjection
extends SetProcedure

Calculates the "projection" set procedure.


Constructor Summary
SetProcedureProjection()
           
 
Method Summary
 java.util.Collection<?> calculate(ModelElement element, Set set)
          Calculates the set procedure.
 
Methods inherited from class com.sdmetrics.metrics.AbstractProcedure
evalBooleanExpression, evalElementSetExpression, evalExpression, evalSetExpression, getFilterAttributeProcessor, getMetaModel, getMetricsEngine, getModel, getRelationOrSet, isCompatible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetProcedureProjection

public SetProcedureProjection()
Method Detail

calculate

public java.util.Collection<?> calculate(ModelElement element,
                                         Set set)
                                  throws SDMetricsException
Description copied from class: SetProcedure
Calculates the set procedure.

Specified by:
calculate in class SetProcedure
Parameters:
element - The model element for which to calculate the procedure.
set - Definition of the set to calculate.
Returns:
The value of the resulting set.
Throws:
SDMetricsException - Problem during the calculation of the set.

www.sdmetrics.com