/*******************************************************************************
 * Copyright (c), 2001, 2002 N2 Broadband, Inc.  All Rights Reserved.
 *
 * This module contains unpublished, confidential, proprietary
 * material.  The use and dissemination of this material are
 * governed by a license.  The above copyright notice does not
 * evidence any actual or intended publication of this material.
 *
 * Author:  Drake H. Henderson
 * Created:  11-12-01
 *
 ******************************************************************************/

package com.n2bb.web.help;

import java.util.Vector;

public class HelpBean {

  private String name = null;
  private String version = null;
  private Vector docs = null;

  public HelpBean (String name, String version) {
    this.name = name;
    this.version = version;
  }
  
  public String getName() {
    return name == null ? "Error in help initialization" : name;
  }

  public String getVersion() {
    return version == null ? "" : version;
  }

  public void setName(String name) {
    this.name = name;
  }

  public void setVersion(String version) {
    this.version = version;
  }

  public void addDoc(String doc) {
    if (docs == null)
      docs = new Vector();
    docs.addElement(doc);
  }
  
  public Vector getDocs() {
    return docs == null ? new Vector() : docs;
  }
  
 
}


