Class CWE
java.lang.Object
io.github.jeremylong.openvulnerability.client.ghsa.CWE
- All Implemented Interfaces:
Serializable
Common weakness enumeration.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classA common weakness enumeration. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CWE.CWERecordThe CWE record containing the CWE details.private static final longSerialization version UID. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
node
The CWE record containing the CWE details.
-
-
Constructor Details
-
CWE
public CWE()
-
-
Method Details
-
getCweId
Returns the id of the CWE.- Returns:
- the id of the CWE
-
setCweId
-
getDescription
Returns a detailed description of this CWE.- Returns:
- a detailed description of this CWE.
-
setDescription
-
getName
The name of this CWE.- Returns:
- the name of this CWE.
-
setName
-
toString
-
equals
-
hashCode
public int hashCode()
-