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="target" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="mode" type="{http://www.virtualbox.org/}CloneMode"/>
         <element name="options" type="{http://www.virtualbox.org/}CloneOptions" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "", propOrder = {
     "_this",
     "target",
     "mode",
     "options"
 })
 @XmlRootElement(name = "IMachine_cloneTo")
 public class IMachineCloneTo {
 
     @XmlElement(required = true)
     protected String _this;
     @XmlElement(required = true)
     protected String target;
     @XmlElement(required = true)
     protected CloneMode mode;
     protected List<CloneOptionsoptions;

    
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 target property.

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

    
Sets the value of the target property.

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

    
Gets the value of the mode property.

Returns:
possible object is
    public CloneMode getMode() {
        return ;
    }

    
Sets the value of the mode property.

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

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

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

    getOptions().add(newItem);
 

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

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