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="screenId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt"/>
         <element name="x" type="{http://www.w3.org/2001/XMLSchema}unsignedInt"/>
         <element name="y" type="{http://www.w3.org/2001/XMLSchema}unsignedInt"/>
         <element name="defaultAction" type="{http://www.virtualbox.org/}DragAndDropAction"/>
         <element name="allowedActions" type="{http://www.virtualbox.org/}DragAndDropAction" maxOccurs="unbounded" minOccurs="0"/>
         <element name="formats" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "", propOrder = {
     "_this",
     "screenId",
     "x",
     "y",
     "defaultAction",
     "allowedActions",
     "formats"
 })
 @XmlRootElement(name = "IGuest_dragHGDrop")
 public class IGuestDragHGDrop {
 
     @XmlElement(required = true)
     protected String _this;
     @XmlSchemaType(name = "unsignedInt")
     protected long screenId;
     @XmlSchemaType(name = "unsignedInt")
     protected long x;
     @XmlSchemaType(name = "unsignedInt")
     protected long y;
     @XmlElement(required = true)
     protected DragAndDropAction defaultAction;
     protected List<DragAndDropActionallowedActions;
     protected List<Stringformats;

    
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 screenId property.
 
     public long getScreenId() {
         return ;
     }

    
Sets the value of the screenId property.
    public void setScreenId(long value) {
        this. = value;
    }

    
Gets the value of the x property.
    public long getX() {
        return ;
    }

    
Sets the value of the x property.
    public void setX(long value) {
        this. = value;
    }

    
Gets the value of the y property.
    public long getY() {
        return ;
    }

    
Sets the value of the y property.
    public void setY(long value) {
        this. = value;
    }

    
Gets the value of the defaultAction property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the defaultAction property.

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

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

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

    getAllowedActions().add(newItem);
 

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

        if ( == null) {
             = new ArrayList<DragAndDropAction>();
        }
        return this.;
    }

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

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

    getFormats().add(newItem);
 

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

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