Class Win32DiskPartitionToLogicalDisk
Win32DiskPartition and its
1:N relationship with Win32LogicalDisk in a Windows system.
Each instance represents a single disk partition identified by partitionId,
and maintains a one-to-many mapping with its corresponding logical disks.
This class is purely a convenience class designed to eliminate the need for using
Win32LogicalDiskToPartition when
fetching a relation between Win32DiskPartition and Win32LogicalDisk
A class for representing1:N mappings of
Win32DiskDrive with Win32DiskPartition and Win32LogicalDisk
is also available by the name of Win32DiskDriveToPartitionAndLogicalDisk.
Usage example
Win32DiskPartitionToLogicalDisk partitionInfo = Win32DiskPartitionToLogicalDisk.builder()
.partitionId("Disk #0, Partition #1")
.diskPartition(partition)
.logicalDiskList(logicalDisks)
.build();
- Since:
- 3.0.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) @Nullable Win32DiskPartitionTheWin32DiskPartitionentity associated with thepartitionId.(package private) @Nullable List<Win32LogicalDisk> A list ofWin32LogicalDiskentities associated with thepartitionId.(package private) @Nullable StringThe unique identifier for theWin32DiskPartitioninstance. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
partitionId
The unique identifier for theWin32DiskPartitioninstance.Typically represented as a string such as
"Disk #0, Partition #1". -
diskPartition
TheWin32DiskPartitionentity associated with thepartitionId.Represents the physical partition on a disk drive that may contain one or more logical disks.
-
logicalDiskList
A list ofWin32LogicalDiskentities associated with thepartitionId.Represents all logical disks or drive letters mapped to the specified
diskPartition.
-
-
Constructor Details
-
Win32DiskPartitionToLogicalDisk
public Win32DiskPartitionToLogicalDisk()
-
-
Method Details
-
toString
-