Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.virtualbox_4_2.jaxws;
  

Java class for IMediumAttachment complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="IMediumAttachment">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="medium" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="controller" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="port" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="device" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="type" type="{http://www.virtualbox.org/}DeviceType"/>
         <element name="passthrough" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="temporaryEject" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="isEjected" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="nonRotational" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="discard" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="bandwidthGroup" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "IMediumAttachment", propOrder = {
     "medium",
     "controller",
     "port",
     "device",
     "type",
     "passthrough",
     "temporaryEject",
     "isEjected",
     "nonRotational",
     "discard",
     "bandwidthGroup"
 })
 public class IMediumAttachment {
 
     @XmlElement(required = true)
     protected String medium;
     @XmlElement(required = true)
     protected String controller;
     protected int port;
     protected int device;
     @XmlElement(required = true)
     protected DeviceType type;
     protected boolean passthrough;
     protected boolean temporaryEject;
     protected boolean isEjected;
     protected boolean nonRotational;
     protected boolean discard;
     @XmlElement(required = true)
     protected String bandwidthGroup;

    
Gets the value of the medium property.

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

    
Sets the value of the medium property.

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

    
Gets the value of the controller property.

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

    
Sets the value of the controller property.

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

    
Gets the value of the port property.
    public int getPort() {
        return ;
    }

    
Sets the value of the port property.
    public void setPort(int value) {
        this. = value;
    }

    
Gets the value of the device property.
    public int getDevice() {
        return ;
    }

    
Sets the value of the device property.
    public void setDevice(int value) {
        this. = value;
    }

    
Gets the value of the type property.

Returns:
possible object is
    public DeviceType getType() {
        return ;
    }

    
Sets the value of the type property.

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

    
Gets the value of the passthrough property.
    public boolean isPassthrough() {
        return ;
    }

    
Sets the value of the passthrough property.
    public void setPassthrough(boolean value) {
        this. = value;
    }

    
Gets the value of the temporaryEject property.
    public boolean isTemporaryEject() {
        return ;
    }

    
Sets the value of the temporaryEject property.
    public void setTemporaryEject(boolean value) {
        this. = value;
    }

    
Gets the value of the isEjected property.
    public boolean isIsEjected() {
        return ;
    }

    
Sets the value of the isEjected property.
    public void setIsEjected(boolean value) {
        this. = value;
    }

    
Gets the value of the nonRotational property.
    public boolean isNonRotational() {
        return ;
    }

    
Sets the value of the nonRotational property.
    public void setNonRotational(boolean value) {
        this. = value;
    }

    
Gets the value of the discard property.
    public boolean isDiscard() {
        return ;
    }

    
Sets the value of the discard property.
    public void setDiscard(boolean value) {
        this. = value;
    }

    
Gets the value of the bandwidthGroup property.

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

    
Sets the value of the bandwidthGroup property.

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