Thursday, February 21, 2008

Classes for Library...

More on the Library Project

Was thinking further on this and found a basic idea of the classes I would see..

  1. Book
    1. Properties
      1. Id
      2. title
      3. author1
      4. author2
      5. author3
      6. isbn no
      7. language
      8. type
        1. printed matter [default]
        2. dvd
        3. CD
      9. meta tags [comma delimited]
      10. year of publishing
      11. edition #
      12. issue cycle (days)
      13. No of copies
    2. Methods
      1. add
      2. remove
      3. update
      4. add a copy
  2. Lib Transactions
    1. Properties
      1. date of issue
      2. member id
      3. book id
      4. date of return
    2. Methods
      1. issue book
      2. return book
  3. Member
    1. Properties
      1. Name
      2. age
      3. address
      4. sex
    2. Methods
      1. Add
      2. delete
      3. update
Would update more...

No comments:

Post a Comment