Example PIN File Definition

Following the constructors and parameter definitions set out above, a Table Query Report could be added and defined in the PIN file as:


 lsl = new TableQueryReport("lsl/gamma_"+df.format(period),
	  "LSL attributes for period "+age,
	  control.getBlockTable(),
	  null,
	  new String[] {
	     "LABEL",
	     "TOTALAREA",
	     "MANAGEDOFFSET",
	     "UNMANAGEDOFFSET",
	     "AVERAGEOFFSET",
	     "(feature.Area.managed.HWD1 + feature.Area.unmanaged.HWD1)",
	     "max(feature.Dbh.hdwd/TOTALAREA, feature.Dbh.sfwd/TOTALAREA)",
new String[] {
	     "LABEL",
	     "TOTALAREA",
	     "MgdAge",
	     "UnMgdAge",
	     "AvgAge",
	     "HWD1",
	     "Dbh"},
	new int[] {period});
	lsl.setSelected(true);
	rw.addReport(lsl);

The CSV file created by this report will contain eight columns. Seven will be dedicated data columns, as specified in the constructor. The report will automatically add a column containing the represented period.