Represents a Menu configuration with a unique ID and a mode.
More...
|
| | Menu (Byte menuid, byte mode) |
| | Full constructor to initialize a menu with all fields.
|
| |
| boolean | equals (Object obj) |
| | Compares this menu with another object for equality based on all fields.
|
| |
| Byte | getMenuid () |
| | Returns the unique identifier of the menu.
|
| |
| byte | getMode () |
| | Returns the mode of the menu.
|
| |
| int | hashCode () |
| | Computes the hash code based on all fields.
|
| |
| void | setMode (byte mode) |
| | Sets the mode of the menu.
|
| |
| String | toString () |
| | Returns a string representation of the menu.
|
| |
|
| | Menu () |
| | Protected default constructor for JPA.
|
| |
|
| Byte | menuid |
| | Unique identifier of the menu (primary key).
|
| |
| byte | mode |
| | Mode of the menu (1–3).
|
| |
Represents a Menu configuration with a unique ID and a mode.
Provides getters, setters, and a builder for fluent construction.
◆ Menu() [1/2]
| fr.softsf.sudokufx.model.Menu.Menu |
( |
| ) |
|
|
protected |
Protected default constructor for JPA.
◆ Menu() [2/2]
| fr.softsf.sudokufx.model.Menu.Menu |
( |
Byte | menuid, |
|
|
byte | mode ) |
Full constructor to initialize a menu with all fields.
- Parameters
-
| menuid | the unique ID of the menu |
| mode | the mode value (1–3) |
◆ builder()
| static MenuBuilder fr.softsf.sudokufx.model.Menu.builder |
( |
| ) |
|
|
static |
◆ equals()
| boolean fr.softsf.sudokufx.model.Menu.equals |
( |
Object | obj | ) |
|
Compares this menu with another object for equality based on all fields.
◆ getMenuid()
| Byte fr.softsf.sudokufx.model.Menu.getMenuid |
( |
| ) |
|
Returns the unique identifier of the menu.
◆ getMode()
| byte fr.softsf.sudokufx.model.Menu.getMode |
( |
| ) |
|
Returns the mode of the menu.
◆ hashCode()
| int fr.softsf.sudokufx.model.Menu.hashCode |
( |
| ) |
|
Computes the hash code based on all fields.
◆ setMode()
| void fr.softsf.sudokufx.model.Menu.setMode |
( |
byte | mode | ) |
|
Sets the mode of the menu.
◆ toString()
| String fr.softsf.sudokufx.model.Menu.toString |
( |
| ) |
|
Returns a string representation of the menu.
◆ menuid
| Byte fr.softsf.sudokufx.model.Menu.menuid |
|
private |
Unique identifier of the menu (primary key).
◆ mode
| byte fr.softsf.sudokufx.model.Menu.mode |
|
private |
The documentation for this class was generated from the following file:
- src/main/java/fr/softsf/sudokufx/model/Menu.java