public class DRValue extends Object
Modifier and Type | Field and Description |
---|---|
protected DRAttribute |
_attribute |
protected boolean |
_isGroup |
protected boolean |
_isNull |
protected boolean |
_isTotal |
protected String |
_key |
protected double |
_rawTotal |
protected DRRecord |
_record |
protected Number |
_totalValue |
Constructor and Description |
---|
DRValue() |
DRValue(double tot,
DRAttribute att) |
DRValue(DRRecord rec,
DRAttribute att) |
Modifier and Type | Method and Description |
---|---|
DRAttribute |
attribute() |
NSArray |
flatValues() |
DRValue |
initAsNull() |
boolean |
isGroup() |
boolean |
isNull() |
boolean |
isTotal() |
String |
key() |
static DRValue |
nullTotal() |
DRRecord |
record() |
void |
setTotal(double tot) |
boolean |
shouldTotal() |
double |
total() |
Object |
val() |
static DRValue |
withRecordAttribute(DRRecord rec,
DRAttribute att) |
static DRValue |
withTotalAttribute(double tot,
DRAttribute att) |
protected DRRecord _record
protected DRAttribute _attribute
protected boolean _isGroup
protected boolean _isTotal
protected boolean _isNull
protected Number _totalValue
protected double _rawTotal
protected String _key
public DRValue(DRRecord rec, DRAttribute att)
public DRValue(double tot, DRAttribute att)
public DRValue()
public static DRValue nullTotal()
public static DRValue withTotalAttribute(double tot, DRAttribute att)
public static DRValue withRecordAttribute(DRRecord rec, DRAttribute att)
public DRValue initAsNull()
public boolean isGroup()
public boolean isTotal()
public boolean isNull()
public boolean shouldTotal()
public String key()
public DRAttribute attribute()
public DRRecord record()
public Object val()
public double total()
public void setTotal(double tot)
public NSArray flatValues()
Copyright © 2002 – 2020 Project Wonder.