| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| SetSizeCount |
|
| 1.0;1 |
| 1 | /****************************************************************************** | |
| 2 | * SetSizeCount - Helper class for the FilterReportSummaryPage | |
| 3 | * | |
| 4 | * PicMan - The BuckoSoft Picture Manager in Java | |
| 5 | * Copyright(c) 2008 - Dick Balaska | |
| 6 | * | |
| 7 | */ | |
| 8 | package com.buckosoft.PicMan.domain; | |
| 9 | ||
| 10 | /** Helper class for the FilterReportSummaryPage | |
| 11 | * @author Dick Balaska | |
| 12 | */ | |
| 13 | public class SetSizeCount { | |
| 14 | private String name; | |
| 15 | private int[] counts; | |
| 16 | ||
| 17 | 0 | public SetSizeCount(int sizeCount) { |
| 18 | 0 | counts = new int[sizeCount]; |
| 19 | 0 | } |
| 20 | public void setValue(int index, int value) { | |
| 21 | 0 | counts[index] = value; |
| 22 | 0 | } |
| 23 | public void setName(String name) { | |
| 24 | 0 | this.name = name; |
| 25 | 0 | } |
| 26 | public String getName() { | |
| 27 | 0 | return(this.name); |
| 28 | } | |
| 29 | public int[] getCounts() { | |
| 30 | 0 | return(counts); |
| 31 | } | |
| 32 | ||
| 33 | } |