public class ValueType extends Object
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>
| Modifier and Type | Class and Description |
|---|---|
static class |
ValueType.Component
Java class for anonymous complex type.
|
static class |
ValueType.ExtensionElements
Java class for anonymous complex type.
|
static class |
ValueType.List
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<ValueType.Component> |
component |
protected ValueType.ExtensionElements |
extensionElements |
protected JAXBElement<ValueType.List> |
list |
protected JAXBElement<Object> |
value |
| Constructor and Description |
|---|
ValueType() |
| Modifier and Type | Method and Description |
|---|---|
List<ValueType.Component> |
getComponent()
Gets the value of the component property.
|
ValueType.ExtensionElements |
getExtensionElements()
Gets the value of the extensionElements property.
|
JAXBElement<ValueType.List> |
getList()
Gets the value of the list property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
JAXBElement<Object> |
getValue()
Gets the value of the value property.
|
void |
setExtensionElements(ValueType.ExtensionElements value)
Sets the value of the extensionElements property.
|
void |
setList(JAXBElement<ValueType.List> value)
Sets the value of the list property.
|
void |
setValue(JAXBElement<Object> value)
Sets the value of the value property.
|
ValueType |
withComponent(Collection<ValueType.Component> values) |
ValueType |
withComponent(ValueType.Component... values) |
ValueType |
withExtensionElements(ValueType.ExtensionElements value) |
ValueType |
withList(JAXBElement<ValueType.List> value) |
ValueType |
withValue(JAXBElement<Object> value) |
protected JAXBElement<Object> value
protected List<ValueType.Component> component
protected JAXBElement<ValueType.List> list
protected ValueType.ExtensionElements extensionElements
public JAXBElement<Object> getValue()
JAXBElement<Object>public void setValue(JAXBElement<Object> value)
value - allowed object is
JAXBElement<Object>public List<ValueType.Component> getComponent()
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 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
public JAXBElement<ValueType.List> getList()
JAXBElement<ValueType.List>public void setList(JAXBElement<ValueType.List> value)
value - allowed object is
JAXBElement<ValueType.List>public ValueType.ExtensionElements getExtensionElements()
ValueType.ExtensionElementspublic void setExtensionElements(ValueType.ExtensionElements value)
value - allowed object is
ValueType.ExtensionElementspublic 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 ValueType withValue(JAXBElement<Object> value)
public ValueType withComponent(ValueType.Component... values)
public ValueType withComponent(Collection<ValueType.Component> values)
public ValueType withList(JAXBElement<ValueType.List> value)
public ValueType withExtensionElements(ValueType.ExtensionElements value)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.