Class TestCases.TestCase

  • Enclosing class:
    TestCases

    public static class TestCases.TestCase
    extends java.lang.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="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>
     
    • Constructor Detail

      • TestCase

        public TestCase()
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Gets the value of the description property.
        Returns:
        possible object is String
      • setDescription

        public void setDescription​(java.lang.String value)
        Sets the value of the description property.
        Parameters:
        value - allowed object is String
      • getInputNode

        public java.util.List<TestCases.TestCase.InputNode> getInputNode()
        Gets the value of the inputNode 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 inputNode property.

        For example, to add a new item, do as follows:

            getInputNode().add(newItem);
         

        Objects of the following type(s) are allowed in the list TestCases.TestCase.InputNode

      • getResultNode

        public java.util.List<TestCases.TestCase.ResultNode> getResultNode()
        Gets the value of the resultNode 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 resultNode property.

        For example, to add a new item, do as follows:

            getResultNode().add(newItem);
         

        Objects of the following type(s) are allowed in the list TestCases.TestCase.ResultNode

      • getId

        public java.lang.String getId()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setId

        public void setId​(java.lang.String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String
      • setType

        public void setType​(TestCaseType value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is TestCaseType
      • getInvocableName

        public java.lang.String getInvocableName()
        Gets the value of the invocableName property.
        Returns:
        possible object is String
      • setInvocableName

        public void setInvocableName​(java.lang.String value)
        Sets the value of the invocableName property.
        Parameters:
        value - allowed object is String
      • getName

        public java.lang.String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(java.lang.String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • getOtherAttributes

        public java.util.Map<javax.xml.namespace.QName,​java.lang.String> getOtherAttributes()
        Gets a map that contains attributes that aren't bound to any typed property on this class.

        the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

        Returns:
        always non-null
      • withInvocableName

        public TestCases.TestCase withInvocableName​(java.lang.String value)