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="source" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="dest" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="flags" type="{http://www.virtualbox.org/}PathRenameFlag" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "", propOrder = {
     "_this",
     "source",
     "dest",
     "flags"
 })
 @XmlRootElement(name = "IGuestSession_directoryRename")
 public class IGuestSessionDirectoryRename {
 
     @XmlElement(required = true)
     protected String _this;
     @XmlElement(required = true)
     protected String source;
     @XmlElement(required = true)
     protected String dest;
     protected List<PathRenameFlagflags;

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

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

    
Sets the value of the source property.

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

    
Gets the value of the dest property.

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

    
Sets the value of the dest property.

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

    
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<PathRenameFlaggetFlags() {
        if ( == null) {
             = new ArrayList<PathRenameFlag>();
        }
        return this.;
    }
New to GrepCode? Check out our FAQ X