|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.phoenix.report.FindingType
public class FindingType
Base class identifies the unique type of a finding.
| Nested Class Summary | |
|---|---|
protected static class |
FindingType.LazyInit
|
| Constructor Summary | |
|---|---|
protected |
FindingType(String symbol,
String shortText,
String description)
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
static FindingType |
fromString(String symbol)
Retrieves the finding type based on it's symbol. |
String |
getDescription()
Returns a long description of this finding type. |
String |
getShortText()
Returns the short text description of this finding type. |
String |
getSymbol()
Returns the symbol of this finding type. |
int |
hashCode()
|
static void |
initialize(Origin origin)
Initializes the findings with the given origin. |
String |
toString()
Returns the finding type symbol as its string representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected FindingType(String symbol,
String shortText,
String description)
| Method Detail |
|---|
public static FindingType fromString(String symbol)
symbol - the symbol to look up.
public static void initialize(Origin origin)
origin - the class of findings to be initialized.public String getSymbol()
public String getShortText()
public String getDescription()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||