java.lang.Object
org.kie.dmn.validation.dtanalysis.mcdc.dmntck.ValueType
Direct Known Subclasses:
TestCases.TestCase.InputNode, ValueType.Component

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>
 
  • Field Details

  • Constructor Details

    • ValueType

      public ValueType()
  • Method Details

    • getValue

      public jakarta.xml.bind.JAXBElement<Object> getValue()
      Gets the value of the value property.
      Returns:
      possible object is JAXBElement<Object>
    • setValue

      public void setValue(jakarta.xml.bind.JAXBElement<Object> value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is JAXBElement<Object>
    • getComponent

      public List<ValueType.Component> 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 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

    • getList

      public jakarta.xml.bind.JAXBElement<ValueType.List> getList()
      Gets the value of the list property.
      Returns:
      possible object is JAXBElement<ValueType.List>
    • setList

      public void setList(jakarta.xml.bind.JAXBElement<ValueType.List> value)
      Sets the value of the list property.
      Parameters:
      value - allowed object is JAXBElement<ValueType.List>
    • getExtensionElements

      public ValueType.ExtensionElements getExtensionElements()
      Gets the value of the extensionElements property.
      Returns:
      possible object is ValueType.ExtensionElements
    • setExtensionElements

      public void setExtensionElements(ValueType.ExtensionElements value)
      Sets the value of the extensionElements property.
      Parameters:
      value - allowed object is ValueType.ExtensionElements
    • getOtherAttributes

      public Map<QName,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
    • withValue

      public ValueType withValue(jakarta.xml.bind.JAXBElement<Object> value)
    • withComponent

      public ValueType withComponent(ValueType.Component... values)
    • withComponent

      public ValueType withComponent(Collection<ValueType.Component> values)
    • withList

      public ValueType withList(jakarta.xml.bind.JAXBElement<ValueType.List> value)
    • withExtensionElements

      public ValueType withExtensionElements(ValueType.ExtensionElements value)