public class BugCategory extends Object implements Comparable<BugCategory>
| Constructor and Description |
|---|
BugCategory(String category)
Constructor.
|
BugCategory(String category,
String shortDescription)
Constructor.
|
BugCategory(String category,
String shortDescription,
String abbrev,
String detailText)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(BugCategory other) |
boolean |
equals(Object o) |
String |
getAbbrev()
Get the abbreviation (usually a single capital letter).
|
String |
getCategory()
Get the category.
|
String |
getDetailText()
Get the detail text describing the category. note: no HTML markup
allowed, may be null
|
String |
getShortDescription()
Get the short description (usually a word or three)
|
int |
hashCode() |
boolean |
isHidden() |
void |
setAbbrev(String abbrev)
Set the abbreviation (typically a single capital letter)
|
void |
setDetailText(String detailText)
Set the detail text describing the category. note: no HTML markup
allowed, may be null
|
void |
setHidden(boolean hidden) |
void |
setShortDescription(String shortDescription)
Set the short description of the category
|
String |
toString()
suitable for debugging. will be ugly if detailText has multiple lines
|
public BugCategory(String category, String shortDescription, String abbrev, String detailText)
category - the categoryshortDescription - short (a word or three) description of the bug speciesabbrev - the abbreviation (typically a single capital letter)detailText - full description of the bug category (no HTML markup, may be
null)public BugCategory(String category, String shortDescription)
category - the categoryshortDescription - short (a word or three) description of the bug speciespublic BugCategory(String category)
category - the categorypublic String getCategory()
public String getShortDescription()
public String getAbbrev()
public String getDetailText()
public void setShortDescription(String shortDescription)
public void setAbbrev(String abbrev)
public void setDetailText(String detailText)
public int compareTo(BugCategory other)
compareTo in interface Comparable<BugCategory>public String toString()
public boolean isHidden()
public void setHidden(boolean hidden)
hidden - The hidden to set.Copyright © 2003–2015. All rights reserved.