Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.virtualbox_4_2.jaxws;
  
  import java.util.List;

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/>
         <element name="flags" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "", propOrder = {
     "name",
     "value",
     "timestamp",
     "flags"
 })
 @XmlRootElement(name = "IMachine_enumerateGuestPropertiesResponse")
 
     protected List<Stringname;
     protected List<Stringvalue;
     @XmlElement(type = Long.class)
     protected List<Longtimestamp;
     protected List<Stringflags;

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

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

    getName().add(newItem);
 

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

 
     public List<StringgetName() {
         if ( == null) {
              = new ArrayList<String>();
         }
         return this.;
     }

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

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

    getValue().add(newItem);
 

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

    public List<StringgetValue() {
        if ( == null) {
             = new ArrayList<String>();
        }
        return this.;
    }

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

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

    getTimestamp().add(newItem);
 

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

    public List<LonggetTimestamp() {
        if ( == null) {
             = new ArrayList<Long>();
        }
        return this.;
    }

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

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

    getFlags().add(newItem);
 

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

    public List<StringgetFlags() {
        if ( == null) {
             = new ArrayList<String>();
        }
        return this.;
    }
New to GrepCode? Check out our FAQ X