001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common
008: * Development and Distribution License("CDDL") (collectively, the
009: * "License"). You may not use this file except in compliance with the
010: * License. You can obtain a copy of the License at
011: * http://www.netbeans.org/cddl-gplv2.html
012: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013: * specific language governing permissions and limitations under the
014: * License. When distributing the software, include this License Header
015: * Notice in each file and include the License file at
016: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
017: * particular file as subject to the "Classpath" exception as provided
018: * by Sun in the GPL Version 2 section of the License file that
019: * accompanied this code. If applicable, add the following below the
020: * License Header, with the fields enclosed by brackets [] replaced by
021: * your own identifying information:
022: * "Portions Copyrighted [year] [name of copyright owner]"
023: *
024: * Contributor(s):
025: *
026: * The Original Software is NetBeans. The Initial Developer of the Original
027: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
028: * Microsystems, Inc. All Rights Reserved.
029: *
030: * If you wish your version of this file to be governed by only the CDDL
031: * or only the GPL Version 2, indicate your decision by adding
032: * "[Contributor] elects to include this software in this distribution
033: * under the [CDDL or GPL Version 2] license." If you do not indicate a
034: * single choice of license, a recipient has the option to distribute
035: * your version of this file under either the CDDL, the GPL Version 2 or
036: * to extend the choice of license to its licensees as provided above.
037: * However, if you add GPL Version 2 code and therefore, elected the GPL
038: * Version 2 license, then the option applies only if the new code is
039: * made subject to such option by the copyright holder.
040: */
041:
042: /*
043: * PerformanceData.java
044: *
045: * Created on July 25, 2002, 4:14 PM
046: */
047:
048: package org.netbeans.xtest.pe.xmlbeans;
049:
050: /**
051: *
052: * @author <a href="mailto:adam.sotona@sun.com">Adam Sotona</a>
053: */
054: public class PerformanceData extends XMLBean {
055:
056: /** Creates new UnitTestCase */
057: public PerformanceData() {
058: }
059:
060: /** Getter for property name.
061: * @return Value of property name.
062: */
063: public String getName() {
064: return xmlat_name;
065: }
066:
067: /** Setter for property name.
068: * @param name New value of property name.
069: */
070: public void setName(String name) {
071: xmlat_name = name;
072: }
073:
074: /** Getter for property value.
075: * @return Value
076: */
077: public long getValue() {
078: return xmlat_value;
079: }
080:
081: /** Setter for property value.
082: * @param time New value of property value.
083: */
084: public void setValue(long value) {
085: xmlat_value = value;
086: }
087:
088: /** Getter for property unit.
089: * @return Value of property unit.
090: */
091: public String getUnit() {
092: return xmlat_unit;
093: }
094:
095: /** Setter for property unit.
096: * @param className New value of property unit.
097: */
098: public void setUnit(String unit) {
099: xmlat_unit = unit;
100: }
101:
102: /** Getter for property unitTestSuite_id.
103: * @return Value of property unitTestSuite_id.
104: */
105: public long getUnitTestSuite_id() {
106: return this .unitTestSuite_id;
107: }
108:
109: /** Setter for property unitTestSuite_id.
110: * @param unitTestSuite_id New value of property unitTestSuite_id.
111: */
112: public void setUnitTestSuite_id(long unitTestSuite_id) {
113: this .unitTestSuite_id = unitTestSuite_id;
114: }
115:
116: /** Getter for property xmlat_runOrder.
117: * @return Value of property xmlat_runOrder.
118: *
119: */
120: public int getRunOrder() {
121: return xmlat_runOrder;
122: }
123:
124: /** Setter for property xmlat_runOrder.
125: * @param xmlat_runOrder New value of property xmlat_runOrder.
126: *
127: */
128: public void setRunOrder(int xmlat_runOrder) {
129: this .xmlat_runOrder = xmlat_runOrder;
130: }
131:
132: /** Getter for property xmlat_threshold.
133: * @return Value of property xmlat_threshold.
134: *
135: */
136: public long getThreshold() {
137: return xmlat_threshold;
138: }
139:
140: /** Setter for property xmlat_threshold.
141: * @param xmlat_threshold New value of property xmlat_threshold.
142: *
143: */
144: public void setThreshold(long xmlat_threshold) {
145: this .xmlat_threshold = xmlat_threshold;
146: }
147:
148: /** Holds value of property unitTestSuite_id. */
149: private long unitTestSuite_id;
150:
151: // attributes
152: public String xmlat_name;
153: public long xmlat_value;
154: public String xmlat_unit;
155: public int xmlat_runOrder;
156: public long xmlat_threshold;
157: }
|