www.sdmetrics.com

com.sdmetrics.metrics
Class SetProcedure

java.lang.Object
  extended by com.sdmetrics.metrics.AbstractProcedure
      extended by com.sdmetrics.metrics.SetProcedure
Direct Known Subclasses:
SetProcedureCompare, SetProcedureCompound, SetProcedureProjection, SetProcedureSubelements

public abstract class SetProcedure
extends AbstractProcedure

Base class for all set procedures.


Constructor Summary
SetProcedure()
           
 
Method Summary
protected abstract  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

SetProcedure

public SetProcedure()
Method Detail

calculate

protected abstract java.util.Collection<?> calculate(ModelElement element,
                                                     Set set)
                                              throws SDMetricsException
Calculates the set procedure.

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