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.

     <restriction base="{}anyType">
         <element name="_this" type="{}string"/>
         <element name="groups" type="{}string" maxOccurs="unbounded" minOccurs="0"/>
@XmlType(name = "", propOrder = {
@XmlRootElement(name = "IMachine_setGroups")
public class IMachineSetGroups {
    @XmlElement(required = true)
    protected String _this;
    protected List<Stringgroups;

Gets the value of the this property.

possible object is
    public String getThis() {
        return ;

Sets the value of the this property.

value allowed object is
    public void setThis(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:


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

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