import java.util.* ;

public class Book
{
    private String isbn ;
    private String title ;
    private String subTitle ;
    private ArrayList authors ;
    private String publisher ;
    
    public void setIsbn( String isbn )
    {
        this.isbn = isbn ;
    }
    
    
    public String getIsbn()
    {
        return isbn ;
    }
    
    
    public void setTitle( String title )
    {
        this.title = title ;
    }
    
    
    public String getTitle()
    {
        return title ;
    }
    
    
    public void setSubTitle( String subTitle )
    {
        this.subTitle = subTitle ;
    }
    
    
    public String getSubTitle()
    {
        return subTitle ;
    }
    
    
    public void setAuthors( List authors )
    {
        this.authors = (ArrayList)authors ;
    }
    
    
    public List getAuthors()
    {
        return authors ;
    }
    
    
    public void setPublisher( String publisher )
    {
        this.publisher = publisher ;
    }
    
    
    public String getPublisher()
    {
        return publisher ;
    }
    
    
    public String toString()
    {
    	StringBuffer buffer = new StringBuffer();
    	buffer.append( "Title:  " + title + "\n" );
    	buffer.append( "Sub-title:  " + subTitle + "\n" );
    	for(int i = 0 ; i < authors.size(); i++ )
    	{
    	    buffer.append( "Author:  " + authors.get( i ) + "\n" );	
    	}
    	buffer.append( "Publisher:  " + publisher + "\n" );
    	buffer.append( "ISBN:  " + isbn + "\n" );
    	
    	return buffer.toString();
    }
}