4 namespace ${glPackageBaseCommonCBeanGrouping} {
\r
6 public class ${glGroupingOptionName}<ENTITY> {
\r
8 // =====================================================================================
\r
11 protected int _elementCount;
\r
13 protected ${glGroupingRowEndDeterminerName}<ENTITY> _groupingRowEndDeterminer;
\r
15 // =====================================================================================
\r
19 * Constructor. You should set the determiner of grouping row end after you create the instance.
\r
21 public ${glGroupingOptionName}() {
\r
26 * @param elementCount The count of row element in a group.
\r
28 public ${glGroupingOptionName}(int elementCount) {
\r
29 _elementCount = elementCount;
\r
32 // =====================================================================================
\r
35 public int ElementCount { get {
\r
36 return this._elementCount;
\r
39 public ${glGroupingRowEndDeterminerName}<ENTITY> GroupingRowEndDeterminer { get {
\r
40 return this._groupingRowEndDeterminer;
\r
42 this._groupingRowEndDeterminer = value;
\r