Class Win32PortConnector
java.lang.Object
io.github.eggy03.ferrumx.windows.entity.mainboard.Win32PortConnector
Immutable representation of a motherboard port on a Windows system.
Fields correspond to properties retrieved from the Win32_PortConnector WMI class.
Usage example
Win32PortConnector port = Win32PortConnector.builder()
.externalReferenceDesignator("USB3_0")
.build();
// Create a modified copy
Win32PortConnector updated = port.toBuilder()
.externalReferenceDesignator("USB3_1")
.build();
Win32Baseboard contains the details of the motherboard this port belongs to.
- Since:
- 3.0.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionArray of physical attributes of the connector used by this port.(package private) @Nullable StringExternal reference designator of the port.(package private) @Nullable StringInternal reference designator of the port.(package private) @Nullable IntegerFunction of the port.(package private) @Nullable StringUnique identifier of a port connection on the computer system. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
tag
Unique identifier of a port connection on the computer system.Example: "Port Connector 1"
-
externalReferenceDesignator
@SerializedName("ExternalReferenceDesignator") @Nullable @Nullable String externalReferenceDesignatorExternal reference designator of the port. External reference designators are identifiers that determine the type and use of the port. Example: "COM1" -
internalReferenceDesignator
@SerializedName("InternalReferenceDesignator") @Nullable @Nullable String internalReferenceDesignatorInternal reference designator of the port. Internal reference designators are specific to the manufacturer, and identify the circuit board location or use of the port. Example: "J101" -
portType
Function of the port.Possible values include:
- None (0)
- Parallel Port XT/AT Compatible (1)
- Parallel Port PS/2 (2)
- Parallel Port ECP (3)
- Parallel Port EPP (4)
- Parallel Port ECP/EPP (5)
- Serial Port XT/AT Compatible (6)
- Serial Port 16450 Compatible (7)
- Serial Port 16550 Compatible (8)
- Serial Port 16550A Compatible (9)
- SCSI Port (10)
- MIDI Port (11)
- Joy Stick Port (12)
- Keyboard Port (13)
- Mouse Port (14)
- SSA SCSI (15)
- USB (16)
- FireWire (IEEE P1394) (17)
- PCMCIA Type I (18)
- PCMCIA Type II (19)
- PCMCIA Type III (20)
- Cardbus (21)
- Access Bus Port (22)
- SCSI II (23)
- SCSI Wide (24)
- PC-98 (25)
- PC-98-Hireso (26)
- PC-H98 (27)
- Video Port (28)
- Audio Port (29)
- Modem Port (30)
- Network Port (31)
- 8251 Compatible (32)
- 8251 FIFO Compatible (33)
-
connectorType
-
-
Constructor Details
-
Win32PortConnector
public Win32PortConnector()
-
-
Method Details
-
toString
-