Class HostOutput

java.lang.Object
tenapull.data.entity.splunk.HostOutput
All Implemented Interfaces:
DbPojo

@Entity(name="HostOutput")
public class HostOutput
extends java.lang.Object
implements DbPojo
  • Field Details

  • Constructor Details

  • Method Details

    • getId

      public int getId()
      Description copied from interface: DbPojo
      Get the surrogate or natural primary key id for the lookup
      Specified by:
      getId in interface DbPojo
      Returns:
      the id
    • setId

      public void setId​(int id)
      Description copied from interface: DbPojo
      Set the surrogate or natural primary key id for the lookup
      Specified by:
      setId in interface DbPojo
      Parameters:
      id - the id
    • toJsonNode

      public com.fasterxml.jackson.databind.JsonNode toJsonNode()
      Description copied from interface: DbPojo
      Convert the pojo into a JsonNode
      Specified by:
      toJsonNode in interface DbPojo
      Returns:
      a JsonNode representing the serialization of this pojo
    • toJsonString

      public java.lang.String toJsonString() throws com.fasterxml.jackson.core.JsonProcessingException
      Description copied from interface: DbPojo
      Convert the pojo into a Json string
      Specified by:
      toJsonString in interface DbPojo
      Returns:
      a string representing the Json serialization of this pojo
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • _prepare

      public void _prepare()
      Description copied from interface: DbPojo
      Perform any operations necessary to prepare this pojo for insertion or updating in the database
      Specified by:
      _prepare in interface DbPojo
    • useTimestampFrom

      public void useTimestampFrom​(ScanResponse scanResponse)
    • setVulnerabilityTimestamps

      public void setVulnerabilityTimestamps()
    • getScanHostResponse

      public ScanHostResponse getScanHostResponse()
    • setScanHostResponse

      public void setScanHostResponse​(ScanHostResponse scanHostResponse)
    • getScanTimestamp

      public java.sql.Timestamp getScanTimestamp()
    • setScanTimestamp

      public void setScanTimestamp​(java.sql.Timestamp scanTimestamp)
    • getOutputTimestamp

      public java.sql.Timestamp getOutputTimestamp()
    • setOutputTimestamp

      public void setOutputTimestamp​(java.sql.Timestamp outputTimestamp)
    • getVulnerabilities

      public java.util.List<HostVulnerabilityOutput> getVulnerabilities()
    • setVulnerabilities

      public void setVulnerabilities​(java.util.List<HostVulnerabilityOutput> vulnerabilityOutputs)
    • getFilename

      public java.lang.String getFilename()
    • setFilename

      public void setFilename​(java.lang.String filename)
    • size

      public int size()
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object