public class TestCases extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="modelName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="labels" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="label" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="testCase" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="inputNode" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<extension base="{http://www.omg.org/spec/DMN/20160719/testcase}valueType">
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
</element>
<element name="resultNode" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="computed" type="{http://www.omg.org/spec/DMN/20160719/testcase}valueType" minOccurs="0"/>
<element name="expected" type="{http://www.omg.org/spec/DMN/20160719/testcase}valueType" minOccurs="0"/>
</sequence>
<attribute name="errorResult" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="cast" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="extensionElements" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="type" type="{http://www.omg.org/spec/DMN/20160719/testcase}testCaseType" default="decision" />
<attribute name="invocableName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<anyAttribute processContents='lax' namespace='##other'/>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
TestCases.Labels
Java class for anonymous complex type.
|
static class |
TestCases.TestCase
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected TestCases.Labels |
labels |
protected String |
modelName |
protected List<TestCases.TestCase> |
testCase |
| Constructor and Description |
|---|
TestCases() |
| Modifier and Type | Method and Description |
|---|---|
TestCases.Labels |
getLabels()
Gets the value of the labels property.
|
String |
getModelName()
Gets the value of the modelName property.
|
List<TestCases.TestCase> |
getTestCase()
Gets the value of the testCase property.
|
void |
setLabels(TestCases.Labels value)
Sets the value of the labels property.
|
void |
setModelName(String value)
Sets the value of the modelName property.
|
TestCases |
withLabels(TestCases.Labels value) |
TestCases |
withModelName(String value) |
TestCases |
withTestCase(Collection<TestCases.TestCase> values) |
TestCases |
withTestCase(TestCases.TestCase... values) |
protected String modelName
protected TestCases.Labels labels
protected List<TestCases.TestCase> testCase
public String getModelName()
Stringpublic void setModelName(String value)
value - allowed object is
Stringpublic TestCases.Labels getLabels()
TestCases.Labelspublic void setLabels(TestCases.Labels value)
value - allowed object is
TestCases.Labelspublic List<TestCases.TestCase> getTestCase()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the testCase property.
For example, to add a new item, do as follows:
getTestCase().add(newItem);
Objects of the following type(s) are allowed in the list
TestCases.TestCase
public TestCases withLabels(TestCases.Labels value)
public TestCases withTestCase(TestCases.TestCase... values)
public TestCases withTestCase(Collection<TestCases.TestCase> values)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.