Package tenapull.data.entity.splunk
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 Summary
Fields Modifier and Type Field Description static Dao<HostOutput>dao -
Constructor Summary
Constructors Constructor Description HostOutput() -
Method Summary
Modifier and Type Method Description void_prepare()Perform any operations necessary to prepare this pojo for insertion or updating in the databasebooleanequals(java.lang.Object o)java.lang.StringgetFilename()intgetId()Get the surrogate or natural primary key id for the lookupjava.sql.TimestampgetOutputTimestamp()ScanHostResponsegetScanHostResponse()java.sql.TimestampgetScanTimestamp()java.util.List<HostVulnerabilityOutput>getVulnerabilities()inthashCode()voidsetFilename(java.lang.String filename)voidsetId(int id)Set the surrogate or natural primary key id for the lookupvoidsetOutputTimestamp(java.sql.Timestamp outputTimestamp)voidsetScanHostResponse(ScanHostResponse scanHostResponse)voidsetScanTimestamp(java.sql.Timestamp scanTimestamp)voidsetVulnerabilities(java.util.List<HostVulnerabilityOutput> vulnerabilityOutputs)voidsetVulnerabilityTimestamps()intsize()com.fasterxml.jackson.databind.JsonNodetoJsonNode()Convert the pojo into a JsonNodejava.lang.StringtoJsonString()Convert the pojo into a Json stringjava.lang.StringtoString()voiduseTimestampFrom(ScanResponse scanResponse)
-
Field Details
-
Constructor Details
-
HostOutput
public HostOutput()
-
-
Method Details
-
getId
public int getId()Description copied from interface:DbPojoGet the surrogate or natural primary key id for the lookup -
setId
public void setId(int id)Description copied from interface:DbPojoSet the surrogate or natural primary key id for the lookup -
toJsonNode
public com.fasterxml.jackson.databind.JsonNode toJsonNode()Description copied from interface:DbPojoConvert the pojo into a JsonNode- Specified by:
toJsonNodein interfaceDbPojo- Returns:
- a JsonNode representing the serialization of this pojo
-
toJsonString
public java.lang.String toJsonString() throws com.fasterxml.jackson.core.JsonProcessingExceptionDescription copied from interface:DbPojoConvert the pojo into a Json string- Specified by:
toJsonStringin interfaceDbPojo- Returns:
- a string representing the Json serialization of this pojo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
_prepare
public void _prepare()Description copied from interface:DbPojoPerform any operations necessary to prepare this pojo for insertion or updating in the database -
useTimestampFrom
-
setVulnerabilityTimestamps
public void setVulnerabilityTimestamps() -
getScanHostResponse
-
setScanHostResponse
-
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
-
setVulnerabilities
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-