Project Wonder 5.0.0.8794

er.grouping
Class DRValueConverter

java.lang.Object
  extended by er.grouping.DRValueConverter

public class DRValueConverter
extends Object

Converts values. The main reason for this class is to provide a point where you can patch into the internals of the grouping framework without needing to override many classes. You'd set an instance of your subclass if you want to deal with simple Timestamps, Dates or the like.


Field Summary
protected static Logger log
          Logging support
 
Constructor Summary
DRValueConverter()
           
 
Method Summary
static DRValueConverter converter()
           
 double doubleForValue(Object v)
           
 Number numberForValue(Object v)
           
static void setConverter(DRValueConverter value)
           
 NSTimestamp timestampForValue(Object v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final Logger log
Logging support

Constructor Detail

DRValueConverter

public DRValueConverter()
Method Detail

timestampForValue

public NSTimestamp timestampForValue(Object v)

doubleForValue

public double doubleForValue(Object v)

numberForValue

public Number numberForValue(Object v)

converter

public static DRValueConverter converter()

setConverter

public static void setConverter(DRValueConverter value)

Last updated: Thu, Jan 8, 2009 • 12:32 PM EST

Copyright © 2002 – 2007 Project Wonder.