Class PropertiesType

java.lang.Object
org.citrusframework.model.config.core.PropertiesType

public class PropertiesType extends Object
Basic property with name and optional value.

Java-Klasse für PropertiesType complex type.

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.


 <complexType name="PropertiesType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="property" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • PropertiesType

      public PropertiesType()
  • Method Details

    • getProperties

      public List<PropertiesType.Property> getProperties()
      Gets the value of the properties 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 Jakarta XML Binding object. This is why there is not a set method for the properties property.

      For example, to add a new item, do as follows:

          getProperties().add(newItem);
       

      Objects of the following type(s) are allowed in the list PropertiesType.Property

      Returns:
      The value of the properties property.