vault backup: 2024-04-12 09:39:31
This commit is contained in:
23
Semester 2/Programming 2/Project/Part 4 Complete/Book.ctxt
Normal file
23
Semester 2/Programming 2/Project/Part 4 Complete/Book.ctxt
Normal file
@@ -0,0 +1,23 @@
|
||||
#BlueJ class context
|
||||
comment0.params=
|
||||
comment0.target=Book()
|
||||
comment0.text=\n\ Constructor\ for\ objects\ of\ class\ Book\n\ Since\ all\ field\ variables\ initialise\ as\ null,\ nothing\ should\ happen\ here.\n
|
||||
comment1.params=
|
||||
comment1.target=java.lang.String\ getAuthor()
|
||||
comment1.text=\n\ Return\ value\ of\ @author\n
|
||||
comment2.params=
|
||||
comment2.target=java.lang.String\ getIsbn()
|
||||
comment2.text=\n\ Return\ value\ of\ @isbn.\n
|
||||
comment3.params=author
|
||||
comment3.target=void\ setAuthor(java.lang.String)
|
||||
comment3.text=\n\ Set\ value\ of\ @author.\n
|
||||
comment4.params=isbn
|
||||
comment4.target=void\ setIsbn(java.lang.String)
|
||||
comment4.text=\n\ Set\ value\ of\ @isbn\n
|
||||
comment5.params=
|
||||
comment5.target=void\ printDetails()
|
||||
comment5.text=\n\ Print\ to\ terminal,\ relevant\ details\ of\ current\ object.\n
|
||||
comment6.params=detailScanner
|
||||
comment6.target=void\ readItemData(java.util.Scanner)
|
||||
comment6.text=\n\ Populate\ the\ fields\ with\ details\ from\ the\ scanner\n\ Takes\ Parameters\n\ \ Scanner\ @detailScanner\n
|
||||
numComments=7
|
Reference in New Issue
Block a user