Class TestCases
- java.lang.Object
-
- org.kie.dmn.validation.dtanalysis.mcdc.dmntck.TestCases
-
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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTestCases.LabelsJava class for anonymous complex type.static classTestCases.TestCaseJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected TestCases.Labelslabelsprotected StringmodelNameprotected List<TestCases.TestCase>testCase
-
Constructor Summary
Constructors Constructor Description TestCases()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestCases.LabelsgetLabels()Gets the value of the labels property.StringgetModelName()Gets the value of the modelName property.List<TestCases.TestCase>getTestCase()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.TestCaseswithLabels(TestCases.Labels value)TestCaseswithModelName(String value)TestCaseswithTestCase(Collection<TestCases.TestCase> values)TestCaseswithTestCase(TestCases.TestCase... values)
-
-
-
Field Detail
-
modelName
protected String modelName
-
labels
protected TestCases.Labels labels
-
testCase
protected List<TestCases.TestCase> testCase
-
-
Method Detail
-
getModelName
public String getModelName()
Gets the value of the modelName property.- Returns:
- possible object is
String
-
setModelName
public void setModelName(String value)
Sets the value of the modelName property.- Parameters:
value- allowed object isString
-
getLabels
public TestCases.Labels getLabels()
Gets the value of the labels property.- Returns:
- possible object is
TestCases.Labels
-
setLabels
public void setLabels(TestCases.Labels value)
Sets the value of the labels property.- Parameters:
value- allowed object isTestCases.Labels
-
getTestCase
public List<TestCases.TestCase> 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
-
withLabels
public TestCases withLabels(TestCases.Labels value)
-
withTestCase
public TestCases withTestCase(TestCases.TestCase... values)
-
withTestCase
public TestCases withTestCase(Collection<TestCases.TestCase> values)
-
-