ca.aura.artefacts
Class Description

java.lang.Object
  |
  +--ca.aura.artefacts.Description

public class Description
extends java.lang.Object

Author:
Andrew

Constructor Summary
Description()
          default
Description(java.lang.String blurb)
          set the blurb
Description(java.lang.String type, java.lang.String blurb)
          set the blurb and the type
 
Method Summary
 boolean equals(java.lang.Object obj)
          check for equality
 java.lang.String getCategory()
          get the category
 java.lang.String getText()
          get the text of the description
 void setCategory(java.lang.String category)
          set the category
 void setText(java.lang.String text)
          set the text of the description
 java.lang.String toString()
          the object as a string
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Description

public Description()
default


Description

public Description(java.lang.String blurb)
set the blurb


Description

public Description(java.lang.String type,
                   java.lang.String blurb)
set the blurb and the type

Method Detail

getCategory

public java.lang.String getCategory()
get the category


setCategory

public void setCategory(java.lang.String category)
set the category


getText

public java.lang.String getText()
get the text of the description


setText

public void setText(java.lang.String text)
set the text of the description


equals

public boolean equals(java.lang.Object obj)
check for equality

Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
the object as a string

Overrides:
toString in class java.lang.Object


Copyright © 2002 University of Ottawa. All Rights Reserved.