Class TestCases
java.lang.Object
org.kie.dmn.validation.dtanalysis.mcdc.dmntck.TestCases
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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.static classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TestCases.Labelsprotected Stringprotected List<TestCases.TestCase> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the labels property.Gets the value of the modelName property.Gets the value of the testCase property.voidsetLabels(TestCases.Labels value) Sets the value of the labels property.voidsetModelName(String value) Sets the value of the modelName property.withLabels(TestCases.Labels value) withModelName(String value) withTestCase(Collection<TestCases.TestCase> values) withTestCase(TestCases.TestCase... values)
-
Field Details
-
modelName
-
labels
-
testCase
-
-
Constructor Details
-
TestCases
public TestCases()
-
-
Method Details
-
getModelName
Gets the value of the modelName property.- Returns:
- possible object is
String
-
setModelName
Sets the value of the modelName property.- Parameters:
value- allowed object isString
-
getLabels
Gets the value of the labels property.- Returns:
- possible object is
TestCases.Labels
-
setLabels
Sets the value of the labels property.- Parameters:
value- allowed object isTestCases.Labels
-
getTestCase
Gets the value of the testCase property.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
setmethod 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 -
withModelName
-
withLabels
-
withTestCase
-
withTestCase
-