Class CWEs
java.lang.Object
io.github.jeremylong.openvulnerability.client.ghsa.AbstractPageable
io.github.jeremylong.openvulnerability.client.ghsa.CWEs
- All Implemented Interfaces:
Serializable
Represents a collection of Common Weakness Enumerations (CWEs).
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe list of CWEs.private static final longSerialization version UID. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.github.jeremylong.openvulnerability.client.ghsa.AbstractPageable
getPageInfo, getTotalCount
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
cwes
The list of CWEs.
-
-
Constructor Details
-
CWEs
public CWEs()
-
-
Method Details
-
getEdges
Returns the list of CWEs.- Returns:
- the CWEs
-
toString
-
equals
-
hashCode
public int hashCode() -
addAllCwes
Adds all CWEs from the given list.- Parameters:
c- the list of CWEs to add- Returns:
- true if the list changed
-