KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > test > internal > performance > db > SummaryEntry


1 /*******************************************************************************
2  * Copyright (c) 2004 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.test.internal.performance.db;
12
13 import org.eclipse.test.internal.performance.data.Dim;
14
15
16 public class SummaryEntry {
17     public String JavaDoc scenarioName;
18     public String JavaDoc shortName;
19     public Dim dimension;
20     public boolean isGlobal;
21     public int commentKind;
22     public String JavaDoc comment;
23     
24     SummaryEntry(String JavaDoc scenarioName, String JavaDoc shortName, Dim dimension, boolean isGlobal) {
25         this.scenarioName= scenarioName;
26         this.shortName= shortName;
27         this.dimension= dimension;
28         this.isGlobal= isGlobal;
29     }
30     
31     SummaryEntry(String JavaDoc scenarioName, String JavaDoc shortName, Dim dimension, boolean isGlobal, int commentKind, String JavaDoc comment) {
32         this.scenarioName= scenarioName;
33         this.shortName= shortName;
34         this.dimension= dimension;
35         this.isGlobal= isGlobal;
36         this.commentKind= commentKind;
37         this.comment= comment;
38     }
39     
40     public String JavaDoc toString() {
41         return "SummaryEntry("+isGlobal+"): <" + scenarioName + "> <" + shortName + "> <" + dimension + '>'; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
42
}
43 }
44
Popular Tags