Class CpePlus
- java.lang.Object
-
- org.owasp.dependencycheck.data.update.cpe.CpePlus
-
@ThreadSafe public class CpePlus extends java.lang.Object
A simple wrapper object that allows one to carry the ecosystem along with the CPE.- Author:
- Jeremy Long
-
-
Constructor Summary
Constructors Constructor Description CpePlus(us.springett.parsers.cpe.Cpe cpe, java.lang.String ecosystem)
Construct a new CPE plus object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description us.springett.parsers.cpe.Cpe
getCpe()
Get the value of CPE.java.lang.String
getEcosystem()
Get the value of ecosystem.void
setCpe(us.springett.parsers.cpe.Cpe cpe)
Set the value of CPE.void
setEcosystem(java.lang.String ecosystem)
Set the value of ecosystem.
-
-
-
Method Detail
-
getEcosystem
public java.lang.String getEcosystem()
Get the value of ecosystem.- Returns:
- the value of ecosystem
-
setEcosystem
public void setEcosystem(java.lang.String ecosystem)
Set the value of ecosystem.- Parameters:
ecosystem
- new value of ecosystem
-
getCpe
public us.springett.parsers.cpe.Cpe getCpe()
Get the value of CPE.- Returns:
- the value of CPE
-
setCpe
public void setCpe(us.springett.parsers.cpe.Cpe cpe)
Set the value of CPE.- Parameters:
cpe
- new value of CPE
-
-