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>
 
  • Field Details

  • Constructor Details

    • TestCases

      public TestCases()
  • Method Details

    • 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 is String
    • 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 is TestCases.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 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

    • withModelName

      public TestCases withModelName(String value)
    • withLabels

      public TestCases withLabels(TestCases.Labels value)
    • withTestCase

      public TestCases withTestCase(TestCases.TestCase... values)
    • withTestCase

      public TestCases withTestCase(Collection<TestCases.TestCase> values)