vault backup: 2024-02-20 13:05:19
This commit is contained in:
@@ -22,26 +22,19 @@ public class LibraryItem
|
||||
/**
|
||||
* Constructor for objects of class LibraryItem
|
||||
*/
|
||||
public LibraryItem( String title, String itemCode, int cost, int timesBorrowed, boolean onLoan)
|
||||
/*public LibraryItem( String title, String itemCode, int cost, int timesBorrowed, boolean onLoan)
|
||||
{
|
||||
this.title = title;
|
||||
this.itemCode = itemCode;
|
||||
this.cost = cost;
|
||||
this.timesBorrowed = timesBorrowed;
|
||||
this.onLoan = onLoan;
|
||||
}
|
||||
}*/
|
||||
|
||||
/*
|
||||
* Default constructor for object of class LibraryItem
|
||||
*/
|
||||
public LibraryItem()
|
||||
{
|
||||
title = "";
|
||||
itemCode = "";
|
||||
cost = 0;
|
||||
timesBorrowed = 0;
|
||||
onLoan = false;
|
||||
}
|
||||
public LibraryItem(){}
|
||||
|
||||
/*
|
||||
* Field Accessor Start
|
||||
|
Reference in New Issue
Block a user