|
StudentLoanManagement
|
Classes | |
| enum | ItemCondition |
| enum | ItemStatus |
Public Member Functions | |
| Item () | |
| Item (Long id, String name, String description, String category, ItemStatus status, Long owner, Date purchaseDate, Double purchasePrice, ItemCondition condition, String image) | |
| Long | getId () |
| void | setId (Long id) |
| String | getName () |
| void | setName (String name) |
| String | getDescription () |
| void | setDescription (String description) |
| String | getCategory () |
| void | setCategory (String category) |
| ItemStatus | getStatus () |
| void | setStatus (ItemStatus status) |
| Long | getOwner () |
| void | setOwner (Long owner) |
| Date | getPurchaseDate () |
| void | setPurchaseDate (Date purchaseDate) |
| Double | getPurchasePrice () |
| void | setPurchasePrice (Double purchasePrice) |
| ItemCondition | getCondition () |
| void | setCondition (ItemCondition condition) |
| String | getImage () |
| void | setImage (String image) |
| String | toString () |
Entity class representing an item in the system. Maps to the "items" table in the database.
| com.student_loan.model.Item.Item | ( | ) |
| com.student_loan.model.Item.Item | ( | Long | id, |
| String | name, | ||
| String | description, | ||
| String | category, | ||
| ItemStatus | status, | ||
| Long | owner, | ||
| Date | purchaseDate, | ||
| Double | purchasePrice, | ||
| ItemCondition | condition, | ||
| String | image | ||
| ) |
Constructor for the Item class.
| id | The unique identifier for the item. |
| name | The name of the item. |
| description | A description of the item. |
| category | The category of the item. |
| status | The status of the item. |
| owner | The ID of the owner of the item. |
| purchaseDate | The purchase date of the item. |
| purchasePrice | The purchase price of the item. |
| condition | The condition of the item. |
| image | The URL or path to the image of the item. |
| String com.student_loan.model.Item.getCategory | ( | ) |
| ItemCondition com.student_loan.model.Item.getCondition | ( | ) |
| String com.student_loan.model.Item.getDescription | ( | ) |
| Long com.student_loan.model.Item.getId | ( | ) |
| String com.student_loan.model.Item.getImage | ( | ) |
| String com.student_loan.model.Item.getName | ( | ) |
| Long com.student_loan.model.Item.getOwner | ( | ) |
| Date com.student_loan.model.Item.getPurchaseDate | ( | ) |
| Double com.student_loan.model.Item.getPurchasePrice | ( | ) |
| ItemStatus com.student_loan.model.Item.getStatus | ( | ) |
| void com.student_loan.model.Item.setCategory | ( | String | category | ) |
| void com.student_loan.model.Item.setCondition | ( | ItemCondition | condition | ) |
| void com.student_loan.model.Item.setDescription | ( | String | description | ) |
| void com.student_loan.model.Item.setId | ( | Long | id | ) |
| void com.student_loan.model.Item.setImage | ( | String | image | ) |
| void com.student_loan.model.Item.setName | ( | String | name | ) |
| void com.student_loan.model.Item.setOwner | ( | Long | owner | ) |
| void com.student_loan.model.Item.setPurchaseDate | ( | Date | purchaseDate | ) |
| void com.student_loan.model.Item.setPurchasePrice | ( | Double | purchasePrice | ) |
| void com.student_loan.model.Item.setStatus | ( | ItemStatus | status | ) |
| String com.student_loan.model.Item.toString | ( | ) |