Class TestCases.TestCase
- Enclosing class:
- 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="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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected TestCases.TestCase.ExtensionElementsprotected Stringprotected List<TestCases.TestCase.InputNode>protected Stringprotected Stringprotected List<TestCases.TestCase.ResultNode>protected TestCaseType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the description property.Gets the value of the extensionElements property.getId()Gets the value of the id property.Gets the value of the inputNode property.Gets the value of the invocableName property.getName()Gets the value of the name property.Gets a map that contains attributes that aren't bound to any typed property on this class.Gets the value of the resultNode property.getType()Gets the value of the type property.voidsetDescription(String value) Sets the value of the description property.voidSets the value of the extensionElements property.voidSets the value of the id property.voidsetInvocableName(String value) Sets the value of the invocableName property.voidSets the value of the name property.voidsetType(TestCaseType value) Sets the value of the type property.withDescription(String value) withInputNode(TestCases.TestCase.InputNode... values) withInvocableName(String value) withResultNode(TestCases.TestCase.ResultNode... values) withType(TestCaseType value)
-
Field Details
-
description
-
inputNode
-
resultNode
-
extensionElements
-
id
-
type
-
invocableName
-
name
-
-
Constructor Details
-
TestCase
public TestCase()
-
-
Method Details
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
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
setmethod 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
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
setmethod 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 -
getExtensionElements
Gets the value of the extensionElements property.- Returns:
- possible object is
TestCases.TestCase.ExtensionElements
-
setExtensionElements
Sets the value of the extensionElements property.- Parameters:
value- allowed object isTestCases.TestCase.ExtensionElements
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getType
Gets the value of the type property.- Returns:
- possible object is
TestCaseType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isTestCaseType
-
getInvocableName
Gets the value of the invocableName property.- Returns:
- possible object is
String
-
setInvocableName
Sets the value of the invocableName property.- Parameters:
value- allowed object isString
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
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
-
withDescription
-
withInputNode
-
withInputNode
-
withResultNode
-
withResultNode
-
withExtensionElements
-
withId
-
withType
-
withInvocableName
-
withName
-