Project Wonder 5.0

er.grouping
Class DRAttributeGroup

java.lang.Object
  extended by er.grouping.DRAttribute
      extended by er.grouping.DRAttributeGroup

public class DRAttributeGroup
extends DRAttribute

Group of attributes which is also an attribute by itself.


Field Summary
protected  com.webobjects.foundation.NSMutableArray _attributes
           
protected  com.webobjects.foundation.NSMutableArray _flatAttributes
           
protected  com.webobjects.foundation.NSMutableArray _flatAttributesTotal
           
 
Fields inherited from class er.grouping.DRAttribute
_attributeGroup, _emptyArray, _format, _isComputed, _isGroup, _isPlaceHolderTotal, _isTotal, _keyPath, _label, _shouldRestrictToFirstRow, _shouldSort, _shouldTotal, _userInfo
 
Constructor Summary
DRAttributeGroup(com.webobjects.foundation.NSDictionary dictionary, com.webobjects.foundation.NSArray subAttributes)
           
DRAttributeGroup(java.lang.String keyPath, java.lang.String format, java.lang.String label, boolean shouldTotal, com.webobjects.foundation.NSArray attributes, com.webobjects.foundation.NSDictionary userInfo)
           
 
Method Summary
 com.webobjects.foundation.NSMutableArray attributes()
           
 com.webobjects.foundation.NSArray flatAttributes()
           
 com.webobjects.foundation.NSArray flatAttributesTotal()
           
protected  com.webobjects.foundation.NSArray flatAttributesWithDepthDictionary(int attributeListDepth, com.webobjects.foundation.NSMutableDictionary flatAttributeDepthDict)
           
protected  void flatListForAttributeDepthDictionary(DRAttribute att, int attributeListDepth, com.webobjects.foundation.NSMutableDictionary flatAttributeDepthDict)
           
protected  void flatListForAttributeList()
           
 boolean isGroup()
           
 void resetDefaults()
           
 boolean showTotal()
           
 java.lang.String toString()
           
static DRAttributeGroup withKeyPathFormatLabelTotalListUserInfo(java.lang.String keyPath, java.lang.String format, java.lang.String label, boolean shouldTotal, com.webobjects.foundation.NSArray attributes, com.webobjects.foundation.NSDictionary userInfo)
           
 
Methods inherited from class er.grouping.DRAttribute
attributeGroup, computeFromRawRecords, format, isComputed, isPlaceHolderTotal, keyPath, label, setAttributeGroup, setFormat, setIsPlaceHolderTotal, setKeyPath, setLabel, setShouldRestrictToFirstRow, setShouldSort, setShouldTotal, setUserInfo, shouldRestrictToFirstRow, shouldSort, shouldTotal, userInfo, withAttributeGroup, withKeyPathFormatLabelTotalUserInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_attributes

protected com.webobjects.foundation.NSMutableArray _attributes

_flatAttributes

protected com.webobjects.foundation.NSMutableArray _flatAttributes

_flatAttributesTotal

protected com.webobjects.foundation.NSMutableArray _flatAttributesTotal
Constructor Detail

DRAttributeGroup

public DRAttributeGroup(java.lang.String keyPath,
                        java.lang.String format,
                        java.lang.String label,
                        boolean shouldTotal,
                        com.webobjects.foundation.NSArray attributes,
                        com.webobjects.foundation.NSDictionary userInfo)

DRAttributeGroup

public DRAttributeGroup(com.webobjects.foundation.NSDictionary dictionary,
                        com.webobjects.foundation.NSArray subAttributes)
Method Detail

withKeyPathFormatLabelTotalListUserInfo

public static DRAttributeGroup withKeyPathFormatLabelTotalListUserInfo(java.lang.String keyPath,
                                                                       java.lang.String format,
                                                                       java.lang.String label,
                                                                       boolean shouldTotal,
                                                                       com.webobjects.foundation.NSArray attributes,
                                                                       com.webobjects.foundation.NSDictionary userInfo)

resetDefaults

public void resetDefaults()
Overrides:
resetDefaults in class DRAttribute

showTotal

public boolean showTotal()
Overrides:
showTotal in class DRAttribute

isGroup

public boolean isGroup()
Overrides:
isGroup in class DRAttribute

attributes

public com.webobjects.foundation.NSMutableArray attributes()
Overrides:
attributes in class DRAttribute

flatListForAttributeDepthDictionary

protected void flatListForAttributeDepthDictionary(DRAttribute att,
                                                   int attributeListDepth,
                                                   com.webobjects.foundation.NSMutableDictionary flatAttributeDepthDict)

flatAttributesWithDepthDictionary

protected com.webobjects.foundation.NSArray flatAttributesWithDepthDictionary(int attributeListDepth,
                                                                              com.webobjects.foundation.NSMutableDictionary flatAttributeDepthDict)
Overrides:
flatAttributesWithDepthDictionary in class DRAttribute

flatListForAttributeList

protected void flatListForAttributeList()

flatAttributes

public com.webobjects.foundation.NSArray flatAttributes()
Overrides:
flatAttributes in class DRAttribute

flatAttributesTotal

public com.webobjects.foundation.NSArray flatAttributesTotal()
Overrides:
flatAttributesTotal in class DRAttribute

toString

public java.lang.String toString()
Overrides:
toString in class DRAttribute

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

Copyright © 2002 – 2007 Project Wonder.