Class Identifier
- java.lang.Object
-
- io.github.jeremylong.openvulnerability.client.ghsa.Identifier
-
- All Implemented Interfaces:
java.io.Serializable
public class Identifier extends java.lang.Object implements java.io.SerializableA GitHub Security Advisory Identifier.type SecurityAdvisoryIdentifier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Identifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetType()The identifier type, e.g.java.lang.StringgetValue()The identifier.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public java.lang.String getType()
The identifier type, e.g. GHSA, CVE.- Returns:
- the identifier type.
-
getValue
public java.lang.String getValue()
The identifier.- Returns:
- the identifier.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-