Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

SCTDAQCharacterisation.java

00001 package ProdDatabase;
00002 import java.util.Set;
00003 import java.util.HashSet;
00004 
00005 public class SCTDAQCharacterisation {
00006     String location, date;
00007     Set failedTests;
00008     double temperature, deltaT;
00009     int[] nDefects = {-1,-1,-1,-1};
00010     public SCTDAQCharacterisation(String location, String date, double temperature, double deltaT) {
00011         this.date = date;
00012         this.location=location;
00013         this.deltaT=deltaT;
00014         this.temperature=temperature;
00015         failedTests = new HashSet();
00016         }
00017 
00018     public void setDefects(int index, int count) {
00019         nDefects[index]=count;
00020         }
00021     public int nDefects(int index) {
00022         return nDefects[index];
00023         }
00024 
00025     public String getLocation() {
00026         return location;
00027         }
00028  
00029     public String getDate() {
00030         return date;
00031         }
00032     public double getDeltaT() {
00033        return deltaT;
00034        }
00035     public double getTemperature() {
00036        return temperature;
00037        }
00038     public Set getFailedTests() {
00039        return failedTests;
00040        }
00041     public void addFailedTest(String testname) {
00042       failedTests.add(testname);
00043       }
00044 
00045 }
00046 

Generated on Thu Jul 15 09:55:48 2004 for SCT DAQ/DCS Software - Java by doxygen 1.3.5