Class PluginVulnInformation
java.lang.Object
tenapull.data.entity.template.ExtensibleJsonPojo
tenapull.data.entity.template.GeneratedIdPojo
tenapull.data.entity.template.HashLookupTemplate<PluginVulnInformation>
tenapull.data.entity.objectLookup.PluginVulnInformation
- All Implemented Interfaces:
java.lang.Comparable<PluginVulnInformation>
,DbPojo
,HashLookupPojo<PluginVulnInformation>
@Entity(name="PluginVulnInformation") public class PluginVulnInformation extends HashLookupTemplate<PluginVulnInformation>
Represents a reusable "object lookup", for the vuln_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<PluginVulnInformation>
dao
The dao for PluginVulnInformation -
Constructor Summary
Constructors Constructor Description PluginVulnInformation()
-
Method Summary
Modifier and Type Method Description boolean
_match(PluginVulnInformation 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(PluginVulnInformation o)
Synchronize the values of two matching POJOs which represent the same DB recordCpe
getCpe()
Gets cpe.java.lang.String
getExploitabilityEase()
Gets exploitability ease.java.lang.String
getExploitAvailable()
Gets exploit available.java.lang.String
getInTheNews()
Gets in the news.java.lang.String
getPatchPublicationDate()
Gets patch publication date.java.lang.String
getVulnPublicationDate()
Gets vuln publication date.void
setCpe(Cpe cpe)
Sets cpe.void
setExploitabilityEase(java.lang.String exploitabilityEase)
Sets exploitability ease.void
setExploitAvailable(java.lang.String exploitAvailable)
Sets exploit available.void
setInTheNews(java.lang.String inTheNews)
Sets in the news.void
setPatchPublicationDate(java.lang.String patchPublicationDate)
Sets patch publication date.void
setVulnPublicationDate(java.lang.String vulnPublicationDate)
Sets vuln publication date.Methods inherited from class tenapull.data.entity.template.HashLookupTemplate
__prepare, __set, _isHashCalculated, get_hash, hashCode, set_hash
Methods inherited from class tenapull.data.entity.template.ExtensibleJsonPojo
getExtraJson, getExtraJson, getExtraJsonMap, putExtraJson, setExtraJson, toJsonNode, toJsonString, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface tenapull.data.entity.template.DbPojo
getId, setId, toJsonNode, toJsonString
-
Field Details
-
dao
The dao for PluginVulnInformation
-
-
Constructor Details
-
PluginVulnInformation
public PluginVulnInformation()
-
-
Method Details
-
_prepare
public void _prepare()Description copied from interface:DbPojo
Perform any operations necessary to prepare this pojo for insertion or updating in the database -
_set
Description copied from interface:HashLookupPojo
Synchronize 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:HashLookupPojo
Determine 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
-
getInTheNews
public java.lang.String getInTheNews()Gets in the news.- Returns:
- the in the news
-
setInTheNews
public void setInTheNews(java.lang.String inTheNews)Sets in the news.- Parameters:
inTheNews
- the in the news
-
getVulnPublicationDate
public java.lang.String getVulnPublicationDate()Gets vuln publication date.- Returns:
- the vuln publication date
-
setVulnPublicationDate
public void setVulnPublicationDate(java.lang.String vulnPublicationDate)Sets vuln publication date.- Parameters:
vulnPublicationDate
- the vuln publication date
-
getExploitabilityEase
public java.lang.String getExploitabilityEase()Gets exploitability ease.- Returns:
- the exploitability ease
-
setExploitabilityEase
public void setExploitabilityEase(java.lang.String exploitabilityEase)Sets exploitability ease.- Parameters:
exploitabilityEase
- the exploitability ease
-
getExploitAvailable
public java.lang.String getExploitAvailable()Gets exploit available.- Returns:
- the exploit available
-
setExploitAvailable
public void setExploitAvailable(java.lang.String exploitAvailable)Sets exploit available.- Parameters:
exploitAvailable
- the exploit available
-
getPatchPublicationDate
public java.lang.String getPatchPublicationDate()Gets patch publication date.- Returns:
- the patch publication date
-
setPatchPublicationDate
public void setPatchPublicationDate(java.lang.String patchPublicationDate)Sets patch publication date.- Parameters:
patchPublicationDate
- the patch publication date
-
getCpe
Gets cpe.- Returns:
- the cpe
-
setCpe
Sets cpe.- Parameters:
cpe
- the cpe
-