Class PluginRiskInformation
java.lang.Object
tenapull.data.entity.template.ExtensibleJsonPojo
tenapull.data.entity.template.GeneratedIdPojo
tenapull.data.entity.template.HashLookupTemplate<PluginRiskInformation>
tenapull.data.entity.objectLookup.PluginRiskInformation
- All Implemented Interfaces:
java.lang.Comparable<PluginRiskInformation>,DbPojo,HashLookupPojo<PluginRiskInformation>
@Entity(name="PluginRiskInformation") public class PluginRiskInformation extends HashLookupTemplate<PluginRiskInformation>
Represents a reusable "object lookup", for the "risk_information" object included
in the plugin attributes returned from the Nessus API at /scans/<scan-id>
-
Field Summary
Fields Modifier and Type Field Description static HashLookupDao<PluginRiskInformation>daoThe dao for PluginRiskInformation -
Constructor Summary
Constructors Constructor Description PluginRiskInformation() -
Method Summary
Modifier and Type Method Description boolean_match(PluginRiskInformation o)Determine if this pojo represents the same DB record as another POJO of the same type.void_prepare()Perform any operations necessary to prepare this pojo for insertion or updating in the databasevoid_set(PluginRiskInformation o)Synchronize the values of two matching POJOs which represent the same DB recordVulnerabilityScoregetCvss3BaseScore()Gets cvss 3 base score.VulnerabilityScoregetCvss3TemporalScore()Gets cvss 3 temporal score.CvssTemporalVectorgetCvss3TemporalVector()Gets cvss 3 temporal vector.CvssVectorgetCvss3Vector()Gets cvss 3 vector.VulnerabilityScoregetCvssBaseScore()Gets cvss base score.VulnerabilityScoregetCvssTemporalScore()Gets cvss temporal score.CvssTemporalVectorgetCvssTemporalVector()Gets cvss temporal vector.CvssVectorgetCvssVector()Gets cvss vector.PluginRiskFactorgetRiskFactor()Gets risk factor.voidsetCvss3BaseScore(VulnerabilityScore cvss3BaseScore)Sets cvss 3 base score.voidsetCvss3TemporalScore(VulnerabilityScore cvss3TemporalScore)Sets cvss 3 temporal score.voidsetCvss3TemporalVector(CvssTemporalVector cvss3TemporalVector)Sets cvss 3 temporal vector.voidsetCvss3Vector(CvssVector cvss3Vector)Sets cvss 3 vector.voidsetCvssBaseScore(VulnerabilityScore cvssBaseScore)Sets cvss base score.voidsetCvssTemporalScore(VulnerabilityScore cvssTemporalScore)Sets cvss temporal score.voidsetCvssTemporalVector(CvssTemporalVector cvssTemporalVector)Sets cvss temporal vector.voidsetCvssVector(CvssVector cvssVector)Sets cvss vector.voidsetRiskFactor(PluginRiskFactor riskFactor)Sets risk factor.Methods inherited from class tenapull.data.entity.template.HashLookupTemplate
__prepare, __set, _isHashCalculated, get_hash, hashCode, set_hashMethods inherited from class tenapull.data.entity.template.ExtensibleJsonPojo
getExtraJson, getExtraJson, getExtraJsonMap, putExtraJson, setExtraJson, toJsonNode, toJsonString, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface tenapull.data.entity.template.DbPojo
getId, setId, toJsonNode, toJsonString
-
Field Details
-
dao
The dao for PluginRiskInformation
-
-
Constructor Details
-
PluginRiskInformation
public PluginRiskInformation()
-
-
Method Details
-
_prepare
public void _prepare()Description copied from interface:DbPojoPerform any operations necessary to prepare this pojo for insertion or updating in the database -
_set
Description copied from interface:HashLookupPojoSynchronize the values of two matching POJOs which represent the same DB record- Parameters:
o- the other pojo representing the same DB record, which the values should be taken from
-
_match
Description copied from interface:HashLookupPojoDetermine if this pojo represents the same DB record as another POJO of the same type. Note that this is NOT the same as the equals() method (though it may be in certain cases). Equals may be used to determine if two pojos of the same type contain all of the same values, regardless of whether they represent the same DB record (depending on implementation) while _match determines only if they represent the same DB record even if some of the values may not be equivalent. In many cases the two methods may be the same, but their purpose is different.- Parameters:
o- other pojo to match- Returns:
- true if the two pojos represent the same DB record, false if not
-
getRiskFactor
Gets risk factor.- Returns:
- the risk factor
-
setRiskFactor
Sets risk factor.- Parameters:
riskFactor- the risk factor
-
getCvssBaseScore
Gets cvss base score.- Returns:
- the cvss base score
-
setCvssBaseScore
Sets cvss base score.- Parameters:
cvssBaseScore- the cvss base score
-
getCvssVector
Gets cvss vector.- Returns:
- the cvss vector
-
setCvssVector
Sets cvss vector.- Parameters:
cvssVector- the cvss vector
-
getCvssTemporalScore
Gets cvss temporal score.- Returns:
- the cvss temporal score
-
setCvssTemporalScore
Sets cvss temporal score.- Parameters:
cvssTemporalScore- the cvss temporal score
-
getCvssTemporalVector
Gets cvss temporal vector.- Returns:
- the cvss temporal vector
-
setCvssTemporalVector
Sets cvss temporal vector.- Parameters:
cvssTemporalVector- the cvss temporal vector
-
getCvss3BaseScore
Gets cvss 3 base score.- Returns:
- the cvss 3 base score
-
setCvss3BaseScore
Sets cvss 3 base score.- Parameters:
cvss3BaseScore- the cvss 3 base score
-
getCvss3Vector
Gets cvss 3 vector.- Returns:
- the cvss 3 vector
-
setCvss3Vector
Sets cvss 3 vector.- Parameters:
cvss3Vector- the cvss 3 vector
-
getCvss3TemporalScore
Gets cvss 3 temporal score.- Returns:
- the cvss 3 temporal score
-
setCvss3TemporalScore
Sets cvss 3 temporal score.- Parameters:
cvss3TemporalScore- the cvss 3 temporal score
-
getCvss3TemporalVector
Gets cvss 3 temporal vector.- Returns:
- the cvss 3 temporal vector
-
setCvss3TemporalVector
Sets cvss 3 temporal vector.- Parameters:
cvss3TemporalVector- the cvss 3 temporal vector
-