FileDocCategorySizeDatePackage
Entry.javaAPI DocGlassfish v2 API2544Fri May 04 22:34:20 BST 2007cal

Entry

public class Entry extends Object

Fields Summary
String
hour
String
description
String
color
Constructors Summary
public Entry(String hour)

    this.hour = hour;
    this.description = "";

  
Methods Summary
public java.lang.StringgetColor()

    if (description.equals("")) return "lightblue";
    else return "red";
  
public java.lang.StringgetDescription()

    if (description.equals("")) return "None";
    else return this.description;
  
public java.lang.StringgetHour()

    return this.hour;
  
public voidsetDescription(java.lang.String descr)

    description = descr;