FileDocCategorySizeDatePackage
BoardSummaryImpl.javaAPI DocExample1183Sun Sep 02 14:59:06 BST 2001com.oreilly.forum.domain

BoardSummaryImpl

public class BoardSummaryImpl extends Object implements BoardSummary
An implementation of the BoardSummary interface.

Fields Summary
private long
id
private String
name
private String
description
private List
monthsWithMessages
Constructors Summary
public BoardSummaryImpl(long id, String name, String description, List monthsWithMessages)

param
monthsWithMessages a list of MonthYear objects.

        this.id = id;
        this.name = name;
        this.description = description;
        this.monthsWithMessages = monthsWithMessages;

    
Methods Summary
public java.lang.StringgetDescription()

        return this.description;
    
public longgetID()

        return this.id;
    
public java.util.IteratorgetMonthsWithMessages()

return
an iterator of MonthYear objects.

        // ensure that the iterator is immutable
        return Collections.unmodifiableList(
                this.monthsWithMessages).iterator();
    
public java.lang.StringgetName()

        return this.name;