DRValue Class Reference

Inherited by DRValueGroup.

Collaboration diagram for DRValue:

Collaboration graph
[legend]

List of all members.

Public Member Functions

DRAttribute attribute ()
 DRValue ()
 DRValue (double tot, DRAttribute att)
 DRValue (DRRecord rec, DRAttribute att)
NSArray flatValues ()
DRValue initAsNull ()
boolean isGroup ()
boolean isNull ()
boolean isTotal ()
String key ()
DRRecord record ()
void setTotal (double tot)
boolean shouldTotal ()
double total ()
Object val ()

Static Public Member Functions

static DRValue nullTotal ()
static DRValue withRecordAttribute (DRRecord rec, DRAttribute att)
static DRValue withTotalAttribute (double tot, DRAttribute att)

Protected Attributes

DRAttribute _attribute
boolean _isGroup = false
boolean _isNull = false
boolean _isTotal = false
String _key
double _rawTotal
DRRecord _record
Number _totalValue


Constructor & Destructor Documentation

DRValue ( DRRecord  rec,
DRAttribute  att 
)

DRValue ( double  tot,
DRAttribute  att 
)

DRValue (  ) 


Member Function Documentation

DRAttribute attribute (  ) 

NSArray flatValues (  ) 

Reimplemented in DRValueGroup.

DRValue initAsNull (  ) 

boolean isGroup (  ) 

Reimplemented in DRValueGroup.

boolean isNull (  ) 

boolean isTotal (  ) 

String key (  ) 

static DRValue nullTotal (  )  [static]

DRRecord record (  ) 

void setTotal ( double  tot  ) 

boolean shouldTotal (  ) 

double total (  ) 

Reimplemented in DRValueGroup.

Object val (  ) 

static DRValue withRecordAttribute ( DRRecord  rec,
DRAttribute  att 
) [static]

Reimplemented in DRValueGroup.

static DRValue withTotalAttribute ( double  tot,
DRAttribute  att 
) [static]


Member Data Documentation

DRAttribute _attribute [protected]

boolean _isGroup = false [protected]

boolean _isNull = false [protected]

boolean _isTotal = false [protected]

String _key [protected]

double _rawTotal [protected]

DRRecord _record [protected]

Number _totalValue [protected]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:18 2012 for Project Wonder by  doxygen 1.5.8