Project Wonder 5.0

er.grouping
Class DRValueConverter

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

public class DRValueConverter
extends java.lang.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 org.apache.log4j.Logger log
          Logging support
 
Constructor Summary
DRValueConverter()
           
 
Method Summary
static DRValueConverter converter()
           
 double doubleForValue(java.lang.Object v)
           
 java.lang.Number numberForValue(java.lang.Object v)
           
static void setConverter(DRValueConverter value)
           
 com.webobjects.foundation.NSTimestamp timestampForValue(java.lang.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 org.apache.log4j.Logger log
Logging support

Constructor Detail

DRValueConverter

public DRValueConverter()
Method Detail

timestampForValue

public com.webobjects.foundation.NSTimestamp timestampForValue(java.lang.Object v)

doubleForValue

public double doubleForValue(java.lang.Object v)

numberForValue

public java.lang.Number numberForValue(java.lang.Object v)

converter

public static DRValueConverter converter()

setConverter

public static void setConverter(DRValueConverter value)

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.