Class ValueType
- Direct Known Subclasses:
TestCases.TestCase.InputNode,ValueType.Component
Java class for valueType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="valueType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<element name="value" type="{http://www.w3.org/2001/XMLSchema}anySimpleType"/>
<element name="component" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<extension base="{http://www.omg.org/spec/DMN/20160719/testcase}valueType">
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
</element>
<element name="list">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="item" type="{http://www.omg.org/spec/DMN/20160719/testcase}valueType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</choice>
<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>
<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 List<ValueType.Component>protected ValueType.ExtensionElementsprotected jakarta.xml.bind.JAXBElement<ValueType.List>protected jakarta.xml.bind.JAXBElement<Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the component property.Gets the value of the extensionElements property.jakarta.xml.bind.JAXBElement<ValueType.List>getList()Gets the value of the list property.Gets a map that contains attributes that aren't bound to any typed property on this class.jakarta.xml.bind.JAXBElement<Object>getValue()Gets the value of the value property.voidSets the value of the extensionElements property.voidsetList(jakarta.xml.bind.JAXBElement<ValueType.List> value) Sets the value of the list property.voidSets the value of the value property.withComponent(Collection<ValueType.Component> values) withComponent(ValueType.Component... values) withList(jakarta.xml.bind.JAXBElement<ValueType.List> value)
-
Field Details
-
value
-
component
-
list
-
extensionElements
-
-
Constructor Details
-
ValueType
public ValueType()
-
-
Method Details
-
getValue
Gets the value of the value property.- Returns:
- possible object is
JAXBElement<Object>
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isJAXBElement<Object>
-
getComponent
Gets the value of the component 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 component property.For example, to add a new item, do as follows:
getComponent().add(newItem);Objects of the following type(s) are allowed in the list
ValueType.Component -
getList
Gets the value of the list property.- Returns:
- possible object is
JAXBElement<ValueType.List>
-
setList
Sets the value of the list property.- Parameters:
value- allowed object isJAXBElement<ValueType.List>
-
getExtensionElements
Gets the value of the extensionElements property.- Returns:
- possible object is
ValueType.ExtensionElements
-
setExtensionElements
Sets the value of the extensionElements property.- Parameters:
value- allowed object isValueType.ExtensionElements
-
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
-
withValue
-
withComponent
-
withComponent
-
withList
-
withExtensionElements
-