public static class TestCases.TestCase 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="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>
| Modifier and Type | Class and Description |
|---|---|
static class |
TestCases.TestCase.ExtensionElements
Java class for anonymous complex type.
|
static class |
TestCases.TestCase.InputNode
Java class for anonymous complex type.
|
static class |
TestCases.TestCase.ResultNode
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected TestCases.TestCase.ExtensionElements |
extensionElements |
protected String |
id |
protected List<TestCases.TestCase.InputNode> |
inputNode |
protected String |
invocableName |
protected String |
name |
protected List<TestCases.TestCase.ResultNode> |
resultNode |
protected TestCaseType |
type |
| Constructor and Description |
|---|
TestCase() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the value of the description property.
|
TestCases.TestCase.ExtensionElements |
getExtensionElements()
Gets the value of the extensionElements property.
|
String |
getId()
Gets the value of the id property.
|
List<TestCases.TestCase.InputNode> |
getInputNode()
Gets the value of the inputNode property.
|
String |
getInvocableName()
Gets the value of the invocableName property.
|
String |
getName()
Gets the value of the name property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
List<TestCases.TestCase.ResultNode> |
getResultNode()
Gets the value of the resultNode property.
|
TestCaseType |
getType()
Gets the value of the type property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setExtensionElements(TestCases.TestCase.ExtensionElements value)
Sets the value of the extensionElements property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setInvocableName(String value)
Sets the value of the invocableName property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setType(TestCaseType value)
Sets the value of the type property.
|
TestCases.TestCase |
withDescription(String value) |
TestCases.TestCase |
withExtensionElements(TestCases.TestCase.ExtensionElements value) |
TestCases.TestCase |
withId(String value) |
TestCases.TestCase |
withInputNode(Collection<TestCases.TestCase.InputNode> values) |
TestCases.TestCase |
withInputNode(TestCases.TestCase.InputNode... values) |
TestCases.TestCase |
withInvocableName(String value) |
TestCases.TestCase |
withName(String value) |
TestCases.TestCase |
withResultNode(Collection<TestCases.TestCase.ResultNode> values) |
TestCases.TestCase |
withResultNode(TestCases.TestCase.ResultNode... values) |
TestCases.TestCase |
withType(TestCaseType value) |
protected String description
protected List<TestCases.TestCase.InputNode> inputNode
protected List<TestCases.TestCase.ResultNode> resultNode
protected TestCases.TestCase.ExtensionElements extensionElements
protected String id
protected TestCaseType type
protected String invocableName
protected String name
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic List<TestCases.TestCase.InputNode> getInputNode()
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
public List<TestCases.TestCase.ResultNode> getResultNode()
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
public TestCases.TestCase.ExtensionElements getExtensionElements()
TestCases.TestCase.ExtensionElementspublic void setExtensionElements(TestCases.TestCase.ExtensionElements value)
value - allowed object is
TestCases.TestCase.ExtensionElementspublic void setId(String value)
value - allowed object is
Stringpublic TestCaseType getType()
TestCaseTypepublic void setType(TestCaseType value)
value - allowed object is
TestCaseTypepublic String getInvocableName()
Stringpublic void setInvocableName(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic Map<QName,String> getOtherAttributes()
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.
public TestCases.TestCase withDescription(String value)
public TestCases.TestCase withInputNode(TestCases.TestCase.InputNode... values)
public TestCases.TestCase withInputNode(Collection<TestCases.TestCase.InputNode> values)
public TestCases.TestCase withResultNode(TestCases.TestCase.ResultNode... values)
public TestCases.TestCase withResultNode(Collection<TestCases.TestCase.ResultNode> values)
public TestCases.TestCase withExtensionElements(TestCases.TestCase.ExtensionElements value)
public TestCases.TestCase withId(String value)
public TestCases.TestCase withType(TestCaseType value)
public TestCases.TestCase withInvocableName(String value)
public TestCases.TestCase withName(String value)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.