FileDocCategorySizeDatePackage
BookDetails.javaAPI DocExample2114Tue Dec 12 18:59:38 GMT 2000database

BookDetails

public class BookDetails extends Object implements Comparable

Fields Summary
private String
bookId
private String
title
private String
firstName
private String
surname
private float
price
private int
year
private String
description
Constructors Summary
public BookDetails(String bookId, String surname, String firstName, String title, float price, int year, String description)

    
           
                            
                         
        this.bookId = bookId;
        this.title = title;
        this.firstName =  firstName;
        this.surname = surname;
        this.price = price;
        this.year = year;
        this.description = description;
    
Methods Summary
public intcompareTo(java.lang.Object o)

			BookDetails n = (BookDetails)o;
			int lastCmp = title.compareTo(n.title);
				return (lastCmp);
    
public java.lang.StringgetBookId()

        return this.bookId;
    
public java.lang.StringgetDescription()

        return description;
    
public java.lang.StringgetFirstName()

        return this.firstName;
    
public floatgetPrice()

       return price;
    
public java.lang.StringgetSurname()

        return this.surname;
    
public java.lang.StringgetTitle()

        return title;
    
public intgetYear()

        return year;