FileDocCategorySizeDatePackage
Book.javaAPI DocExample1538Wed May 18 09:38:58 BST 2005com.discursive.jccook.bean

Book

public class Book extends Object

Fields Summary
private String
name
private Author
author
private List
chapters
Constructors Summary
public Book()


      
public Book(String pName, Author pAuthor)

        setName(pName);
        setAuthor(pAuthor);
    
Methods Summary
public voidaddChapter(Chapter chapter)

 chapters.add( chapter ); 
public AuthorgetAuthor()

 return author; 
public java.util.ListgetChapters()

 return chapters; 
public java.lang.StringgetName()

 return name; 
public voidsetAuthor(Author pAuthor)

 author = pAuthor; 
public voidsetChapters(java.util.List list)

 chapters = list; 
public voidsetName(java.lang.String pName)

 name = pName;