KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > tools > verifier > TestInformation


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23 /*
24  * TestInformation.java
25  *
26  * Created on December 4, 2000, 4:29 PM
27  */

28
29 package com.sun.enterprise.tools.verifier;
30
31 /**
32  * Holds information about a particular test like the name of the class
33  * implementing the test or the version of the spec it applies to
34  *
35  * @author Jerom Dochez
36  * @version
37  */

38 public class TestInformation extends Object JavaDoc {
39
40     private String JavaDoc className =null;
41     private String JavaDoc minimumVersion =null;
42     private String JavaDoc maximumVersion =null;
43     
44     /**
45      * @return the className implementing the test
46      */

47     public String JavaDoc getClassName() {
48         return className;
49     }
50     
51     /*
52      * set the class name implementing the test
53      *
54      * @param className is the class name
55      */

56     public void setClassName(String JavaDoc className) {
57         this.className =className;
58     }
59     
60     /**
61      * @return the minimum version of the spec this test applies to
62      */

63     public String JavaDoc getMinimumVersion() {
64         return minimumVersion;
65     }
66     
67     /**
68      * set the minimum version of the spec this test applies to
69      *
70      * @param minimumVersion is the version
71      */

72     public void setMinimumVersion(String JavaDoc minimumVersion) {
73         this.minimumVersion = minimumVersion;
74     }
75     
76     /**
77      * @return the maximum version of the spec this test applies to
78      */

79     public String JavaDoc getMaximumVersion() {
80         return maximumVersion;
81     }
82     
83     /**
84      * set the minimum version of the spec this test applies to
85      *
86      * @param minimumVersion is the version
87      */

88     public void setMaximumVersion(String JavaDoc maximumVersion) {
89         this.maximumVersion = maximumVersion;
90     }
91 }
Popular Tags