Project Wonder 5.0

er.grouping
Class DRValue

java.lang.Object
  extended by er.grouping.DRValue
Direct Known Subclasses:
DRValueGroup

public class DRValue
extends java.lang.Object


Field Summary
protected  DRAttribute _attribute
           
protected  boolean _isGroup
           
protected  boolean _isNull
           
protected  boolean _isTotal
           
protected  java.lang.String _key
           
protected  double _rawTotal
           
protected  DRRecord _record
           
protected  java.lang.Number _totalValue
           
 
Constructor Summary
DRValue()
           
DRValue(double tot, DRAttribute att)
           
DRValue(DRRecord rec, DRAttribute att)
           
 
Method Summary
 DRAttribute attribute()
           
 com.webobjects.foundation.NSArray flatValues()
           
 DRValue initAsNull()
           
 boolean isGroup()
           
 boolean isNull()
           
 boolean isTotal()
           
 java.lang.String key()
           
static DRValue nullTotal()
           
 DRRecord record()
           
 void setTotal(double tot)
           
 boolean shouldTotal()
           
 double total()
           
 java.lang.Object val()
           
static DRValue withRecordAttribute(DRRecord rec, DRAttribute att)
           
static DRValue withTotalAttribute(double tot, DRAttribute att)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_record

protected DRRecord _record

_attribute

protected DRAttribute _attribute

_isGroup

protected boolean _isGroup

_isTotal

protected boolean _isTotal

_isNull

protected boolean _isNull

_totalValue

protected java.lang.Number _totalValue

_rawTotal

protected double _rawTotal

_key

protected java.lang.String _key
Constructor Detail

DRValue

public DRValue(DRRecord rec,
               DRAttribute att)

DRValue

public DRValue(double tot,
               DRAttribute att)

DRValue

public DRValue()
Method Detail

nullTotal

public static DRValue nullTotal()

withTotalAttribute

public static DRValue withTotalAttribute(double tot,
                                         DRAttribute att)

withRecordAttribute

public static DRValue withRecordAttribute(DRRecord rec,
                                          DRAttribute att)

initAsNull

public DRValue initAsNull()

isGroup

public boolean isGroup()

isTotal

public boolean isTotal()

isNull

public boolean isNull()

shouldTotal

public boolean shouldTotal()

key

public java.lang.String key()

attribute

public DRAttribute attribute()

record

public DRRecord record()

val

public java.lang.Object val()

total

public double total()

setTotal

public void setTotal(double tot)

flatValues

public com.webobjects.foundation.NSArray flatValues()

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

Copyright © 2002 – 2007 Project Wonder.