org.virtualbox_7_0
Class IHostDrivePartition

java.lang.Object
  extended by org.virtualbox_7_0.IHostDrivePartition

public class IHostDrivePartition
extends java.lang.Object

The IHostDrivePartition interface represents the partition of the host drive. To enumerate all available drives partitions in the host, use theIHost.getHostDrives()attribute. Interface ID: {4F529A14-ACE3-407C-9C49-066E8E8027F0}


Constructor Summary
IHostDrivePartition(org.virtualbox_7_0.jaxws.IHostDrivePartition real, org.virtualbox_7_0.ObjectRefManager objMgr, org.virtualbox_7_0.jaxws.VboxPortType port)
           
 
Method Summary
 java.lang.Boolean getActive()
          The partition is bootable when TRUE.
 java.lang.Long getEndCylinder()
          The cylinder (0..1023) of the last sector (inclusive) in the partition on an MBR disk, zero for not an MBR disk.
 java.lang.Long getEndHead()
          The head (0..255) of the last sector (inclusive) in the partition on an MBR disk, zero for not an MBR disk.
 java.lang.Long getEndSector()
          The sector (1..63) of the last sector (inclusive) in the partition on an MBR disk, zero for not an MBR disk.
 java.lang.String getName()
          The name of the partition if GPT partitioning is used, empty if not a GPT disk.
 java.lang.Long getNumber()
          The number of the partition.
 java.lang.Long getSize()
          The partition size in bytes.
 java.lang.Long getStart()
          The start byte offset of this partition in bytes relative to the beginning of the hard disk.
 java.lang.Long getStartCylinder()
          The cylinder (0..1023) of the first sector in the partition on an MBR disk, zero for not an MBR disk.
 java.lang.Long getStartHead()
          The head (0..255) of the first sector in the partition on an MBR disk, zero for not an MBR disk.
 java.lang.Long getStartSector()
          The sector (0..63) of the first sector in the partition on an MBR disk, zero for not an MBR disk.
 PartitionType getType()
          A translation ofgetTypeMBR()andgetTypeUuid()when possible, otherwise set toPartitionType.Unknown.
 java.lang.Long getTypeMBR()
          The raw MBR partition type, 0 for non-MBR disks.
 java.lang.String getTypeUuid()
          The partition type when GUID partitioning scheme is used, NULL UUID value for not a GPT disks.
 java.lang.String getUuid()
          The GUID of the partition when GUID partitioning scheme is used, NULL UUID value for not a GPT disks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IHostDrivePartition

public IHostDrivePartition(org.virtualbox_7_0.jaxws.IHostDrivePartition real,
                           org.virtualbox_7_0.ObjectRefManager objMgr,
                           org.virtualbox_7_0.jaxws.VboxPortType port)
Method Detail

getNumber

public java.lang.Long getNumber()
The number of the partition. Represents the system number of the partition, e.g. /dev/sdX in the linux, where X is the number returned.

Returns:
Long

getSize

public java.lang.Long getSize()
The partition size in bytes.

Returns:
Long

getStart

public java.lang.Long getStart()
The start byte offset of this partition in bytes relative to the beginning of the hard disk.

Returns:
Long

getType

public PartitionType getType()
A translation ofgetTypeMBR()andgetTypeUuid()when possible, otherwise set toPartitionType.Unknown.

Returns:
org.virtualbox_7_0.PartitionType

getActive

public java.lang.Boolean getActive()
The partition is bootable when TRUE.

Returns:
Boolean

getTypeMBR

public java.lang.Long getTypeMBR()
The raw MBR partition type, 0 for non-MBR disks.

Returns:
Long

getStartCylinder

public java.lang.Long getStartCylinder()
The cylinder (0..1023) of the first sector in the partition on an MBR disk, zero for not an MBR disk.

Returns:
Long

getStartHead

public java.lang.Long getStartHead()
The head (0..255) of the first sector in the partition on an MBR disk, zero for not an MBR disk.

Returns:
Long

getStartSector

public java.lang.Long getStartSector()
The sector (0..63) of the first sector in the partition on an MBR disk, zero for not an MBR disk.

Returns:
Long

getEndCylinder

public java.lang.Long getEndCylinder()
The cylinder (0..1023) of the last sector (inclusive) in the partition on an MBR disk, zero for not an MBR disk.

Returns:
Long

getEndHead

public java.lang.Long getEndHead()
The head (0..255) of the last sector (inclusive) in the partition on an MBR disk, zero for not an MBR disk.

Returns:
Long

getEndSector

public java.lang.Long getEndSector()
The sector (1..63) of the last sector (inclusive) in the partition on an MBR disk, zero for not an MBR disk.

Returns:
Long

getTypeUuid

public java.lang.String getTypeUuid()
The partition type when GUID partitioning scheme is used, NULL UUID value for not a GPT disks.

Returns:
String

getUuid

public java.lang.String getUuid()
The GUID of the partition when GUID partitioning scheme is used, NULL UUID value for not a GPT disks.

Returns:
String

getName

public java.lang.String getName()
The name of the partition if GPT partitioning is used, empty if not a GPT disk.

Returns:
String