Class PluginInformation
java.lang.Object
tenapull.data.entity.template.ExtensibleJsonPojo
tenapull.data.entity.template.GeneratedIdPojo
tenapull.data.entity.template.HashLookupTemplate<PluginInformation>
tenapull.data.entity.objectLookup.PluginInformation
- All Implemented Interfaces:
java.lang.Comparable<PluginInformation>
,DbPojo
,HashLookupPojo<PluginInformation>
@Entity(name="PluginInformation") public class PluginInformation extends HashLookupTemplate<PluginInformation>
Represents a reusable "object lookup", for the 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<PluginInformation>
dao
The dao for PluginInformation -
Constructor Summary
Constructors Constructor Description PluginInformation()
-
Method Summary
Modifier and Type Method Description boolean
_match(PluginInformation 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(PluginInformation o)
Synchronize the values of two matching POJOs which represent the same DB recordjava.lang.String
getPluginFamily()
Gets plugin family.java.lang.Integer
getPluginId()
Gets plugin id.java.lang.String
getPluginModificationDate()
Gets plugin modification date.java.lang.String
getPluginPublicationDate()
Gets plugin publication date.java.lang.String
getPluginType()
Gets plugin type.java.lang.String
getPluginVersion()
Gets plugin version.void
setPluginFamily(java.lang.String pluginFamily)
Sets plugin family.void
setPluginId(java.lang.Integer pluginId)
Sets plugin id.void
setPluginModificationDate(java.lang.String pluginModificationDate)
Sets plugin modification date.void
setPluginPublicationDate(java.lang.String pluginPublicationDate)
Sets plugin publication date.void
setPluginType(java.lang.String pluginType)
Sets plugin type.void
setPluginVersion(java.lang.String pluginVersion)
Sets plugin version.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 PluginInformation
-
-
Constructor Details
-
PluginInformation
public PluginInformation()
-
-
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
-
getPluginVersion
public java.lang.String getPluginVersion()Gets plugin version.- Returns:
- the plugin version
-
setPluginVersion
public void setPluginVersion(java.lang.String pluginVersion)Sets plugin version.- Parameters:
pluginVersion
- the plugin version
-
getPluginId
public java.lang.Integer getPluginId()Gets plugin id.- Returns:
- the plugin id
-
setPluginId
public void setPluginId(java.lang.Integer pluginId)Sets plugin id.- Parameters:
pluginId
- the plugin id
-
getPluginType
public java.lang.String getPluginType()Gets plugin type.- Returns:
- the plugin type
-
setPluginType
public void setPluginType(java.lang.String pluginType)Sets plugin type.- Parameters:
pluginType
- the plugin type
-
getPluginPublicationDate
public java.lang.String getPluginPublicationDate()Gets plugin publication date.- Returns:
- the plugin publication date
-
setPluginPublicationDate
public void setPluginPublicationDate(java.lang.String pluginPublicationDate)Sets plugin publication date.- Parameters:
pluginPublicationDate
- the plugin publication date
-
getPluginFamily
public java.lang.String getPluginFamily()Gets plugin family.- Returns:
- the plugin family
-
setPluginFamily
public void setPluginFamily(java.lang.String pluginFamily)Sets plugin family.- Parameters:
pluginFamily
- the plugin family
-
getPluginModificationDate
public java.lang.String getPluginModificationDate()Gets plugin modification date.- Returns:
- the plugin modification date
-
setPluginModificationDate
public void setPluginModificationDate(java.lang.String pluginModificationDate)Sets plugin modification date.- Parameters:
pluginModificationDate
- the plugin modification date
-