Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 
  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
  // Any modifications to this file will be lost upon recompilation of the source schema. 
  // Generated on: 2014.02.05 at 11:30:19 AM EST 
  //
  
  
  package io.apiman.test.common.plan;
 
 import java.util.List;

Java class for testGroupType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="testGroupType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="test" type="{urn:io.apiman.test:2014:02:testPlan}testType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "testGroupType", propOrder = {
     "test"
 })
 public class TestGroupType {
 
     protected List<TestTypetest;
     @XmlAttribute(required = true)
     protected String name;

    
Gets the value of the test 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 test property.

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

    getTest().add(newItem);
 

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

Returns:
the list of tests
 
     public List<TestTypegetTest() {
         if ( == null) {
              = new ArrayList<>();
         }
         return this.;
     }

    
Gets the value of the name property.

Returns:
possible object is
 
     public String getName() {
         return ;
     }

    
Sets the value of the name property.

Parameters:
value allowed object is
 
     public void setName(String value) {
         this. = value;
    }
New to GrepCode? Check out our FAQ X