Class ValueType

  • Direct Known Subclasses:
    TestCases.TestCase.InputNode, ValueType.Component

    public class ValueType
    extends java.lang.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>
     
    • Constructor Detail

      • ValueType

        public ValueType()
    • Method Detail

      • getValue

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

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

        public java.util.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 javax.xml.bind.JAXBElement<ValueType.List> getList()
        Gets the value of the list property.
        Returns:
        possible object is JAXBElement<ValueType.List>
      • setList

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

        public java.util.Map<javax.xml.namespace.QName,​java.lang.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​(javax.xml.bind.JAXBElement<java.lang.Object> value)