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="_this" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="settingsFile" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="groups" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="osTypeId" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="flags" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "", propOrder = {
     "_this",
     "settingsFile",
     "name",
     "groups",
     "osTypeId",
     "flags"
 })
 @XmlRootElement(name = "IVirtualBox_createMachine")
 public class IVirtualBoxCreateMachine {
 
     @XmlElement(required = true)
     protected String _this;
     @XmlElement(required = true)
     protected String settingsFile;
     @XmlElement(required = true)
     protected String name;
     protected List<Stringgroups;
     @XmlElement(required = true)
     protected String osTypeId;
     @XmlElement(required = true)
     protected String flags;

    
Gets the value of the this property.

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

    
Sets the value of the this property.

Parameters:
value allowed object is
 
     public void setThis(String value) {
         this. = value;
     }

    
Gets the value of the settingsFile property.

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

    
Sets the value of the settingsFile property.

Parameters:
value allowed object is
    public void setSettingsFile(String value) {
        this. = value;
    }

    
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;
    }

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

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

    getGroups().add(newItem);
 

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

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

    
Gets the value of the osTypeId property.

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

    
Sets the value of the osTypeId property.

Parameters:
value allowed object is
    public void setOsTypeId(String value) {
        this. = value;
    }

    
Gets the value of the flags property.

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

    
Sets the value of the flags property.

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