public class BugCode extends Object implements Comparable<BugCode>
BugPattern| Constructor and Description |
|---|
BugCode(String abbrev,
String description)
Constructor.
|
BugCode(String abbrev,
String description,
int cweid) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(BugCode o) |
boolean |
equals(Object o) |
String |
getAbbrev()
Get the abbreviation for this bug code.
|
int |
getCWEid() |
String |
getDescription()
Get the short textual description of the bug code.
|
int |
hashCode() |
String |
toString()
Get the abbreviation fo this bug code.
|
public BugCode(String abbrev, String description)
abbrev - the abbreviation for the bug codedescription - a short textual description of the class of bug pattern
represented by this bug codepublic String getAbbrev()
public String getDescription()
public String toString()
public int getCWEid()
public int compareTo(BugCode o)
compareTo in interface Comparable<BugCode>Copyright © 2003–2015. All rights reserved.