Class 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 Details

  • Constructor Details

  • 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

      public void _set​(PluginInformation o)
      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

      public boolean _match​(PluginInformation o)
      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