ar.com.fdvs.dj.domain
Class DjBaseMMValueFormatter

java.lang.Object
  extended by ar.com.fdvs.dj.domain.DjBaseMMValueFormatter
All Implemented Interfaces:
DJValueFormatter

public abstract class DjBaseMMValueFormatter
extends Object
implements DJValueFormatter

This class is like a ValueFormatter but with some tricks to get the values and names of all propertyMeasures in a crosstab


Constructor Summary
DjBaseMMValueFormatter()
           
 
Method Summary
 Object evaluate(Object value, Map fields, Map variables, Map parameters)
           
 String[] getPropertyMeasures()
           
<T> T
getValueFor(Object[] values, String propertyMeasure)
           
protected abstract  Object innerEvaluate(Object[] value, Map fields, Map variables, Map parameters)
           
 void setPropertyMeasures(String[] propertyMeasures)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ar.com.fdvs.dj.domain.DJValueFormatter
getClassName
 

Constructor Detail

DjBaseMMValueFormatter

public DjBaseMMValueFormatter()
Method Detail

evaluate

public Object evaluate(Object value,
                       Map fields,
                       Map variables,
                       Map parameters)
Specified by:
evaluate in interface DJValueFormatter

getPropertyMeasures

public String[] getPropertyMeasures()

setPropertyMeasures

public void setPropertyMeasures(String[] propertyMeasures)

getValueFor

public <T> T getValueFor(Object[] values,
                         String propertyMeasure)

innerEvaluate

protected abstract Object innerEvaluate(Object[] value,
                                        Map fields,
                                        Map variables,
                                        Map parameters)


Copyright © 2006-2013 FDV Solutions. All Rights Reserved.