/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at legal-notices/CDDLv1_0.txt.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information:
* Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*
*
* Copyright 2008 Sun Microsystems, Inc.
*/
public class ArrayData
{
public ArrayData()
{
}
public void setTestSuitePurpose(String inTestSuitePurpose){ testSuitePurpose.add(inTestSuitePurpose); }
public void setTestSuitePreamble(String inTestSuitePreamble){ testSuitePreamble.add(inTestSuitePreamble); }
public void setTestSuitePostamble(String inTestSuitePostamble){ testSuitePostamble.add(inTestSuitePostamble); }
public String getGroupName(int index){ if(testGroupName != null && index < testGroupName.size()) return (String)(testGroupName.get(index)); else return null;}
public String getGroupPurpose(int index){ if(testGroupPurpose != null && index < testGroupPurpose.size()) return (String)(testGroupPurpose.get(index)); else return null;}
public String getSubgroupName(int index){ if(testSubgroupName != null && index < testSubgroupName.size()) return (String)(testSubgroupName.get(index)); else return null;}
public String getTestSuiteName(int index){ if(testSuiteName != null && index < testSuiteName.size()) return (String)(testSuiteName.get(index)); else return null;}
public String getTestSuitePurpose(int index){ if(testSuitePurpose != null && index < testSuitePurpose.size()) return (String)(testSuitePurpose.get(index)); else return null;}
public String getTestSuiteID(int index){ if(testSuiteID != null && index < testSuiteID.size()) return (String)(testSuiteID.get(index)); else return null;}
public String getTestSuiteGroup(int index){ if(testSuiteGroup != null && index < testSuiteGroup.size()) return (String)(testSuiteGroup.get(index)); else return null;}
public String getTestSuitePreamble(int index){ if(testSuitePreamble != null && index < testSuitePreamble.size()) return (String)(testSuitePreamble.get(index)); else return null;}
public String getTestSuitePostamble(int index){ if(testSuitePostamble != null && index < testSuitePostamble.size()) return (String)(testSuitePostamble.get(index)); else return null;}
public String getTestSuite(int index){ if(testSuite != null && index < testSuite.size()) return (String)(testSuite.get(index)); else return null;}
public String getTestName(int index){ if(testName != null && index < testName.size()) return (String)(testName.get(index)); else return null;}
public String getTestMarker(int index){ if(testMarker != null && index < testMarker.size()) return (String)(testMarker.get(index)); else return null;}
public String getTestID(int index){ if(testID != null && index < testID.size()) return (String)(testID.get(index)); else return null;}
public String getTestIssue(int index){ if(testIssue != null && index < testIssue.size()) return (String)(testIssue.get(index)); else return null;}
public String getTestGroup(int index){ if(testGroup != null && index < testGroup.size()) return (String)(testGroup.get(index)); else return null;}
public String getTestScript(int index){ if(testScript != null && index < testScript.size()) return (String)(testScript.get(index)); else return null;}
public String getTestHTMLLink(int index){ if(testHTMLLink != null && index < testHTMLLink.size()) return (String)(testHTMLLink.get(index)); else return null;}
public String getTestPurpose(int index){ if(testPurpose != null && index < testPurpose.size()) return (String)(testPurpose.get(index)); else return null;}
public String getTestPreamble(int index){if(testPreamble != null && index < testPreamble.size()) return (String)(testPreamble.get(index)); else return null;}
public ArrayList<String> getTestSteps(int index){ if(testSteps != null && index < testSteps.size()) return (ArrayList<String>)(testSteps.get(index)); else return null;}
public String getTestPostamble(int index){ if(testPostamble != null && index < testPostamble.size()) return (String)(testPostamble.get(index)); else return null;}
public String getTestResult(int index){ if(testResult != null && index < testResult.size()) return (String)(testResult.get(index)); else return null;}
}