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 databaseboolean
equals(java.lang.Object o)
java.lang.String
getFilename()
int
getId()
Get the surrogate or natural primary key id for the lookupjava.sql.Timestamp
getOutputTimestamp()
ScanHostResponse
getScanHostResponse()
java.sql.Timestamp
getScanTimestamp()
java.util.List<HostVulnerabilityOutput>
getVulnerabilities()
int
hashCode()
void
setFilename(java.lang.String filename)
void
setId(int id)
Set the surrogate or natural primary key id for the lookupvoid
setOutputTimestamp(java.sql.Timestamp outputTimestamp)
void
setScanHostResponse(ScanHostResponse scanHostResponse)
void
setScanTimestamp(java.sql.Timestamp scanTimestamp)
void
setVulnerabilities(java.util.List<HostVulnerabilityOutput> vulnerabilityOutputs)
void
setVulnerabilityTimestamps()
int
size()
com.fasterxml.jackson.databind.JsonNode
toJsonNode()
Convert the pojo into a JsonNodejava.lang.String
toJsonString()
Convert the pojo into a Json stringjava.lang.String
toString()
void
useTimestampFrom(ScanResponse scanResponse)
-
Field Details
-
Constructor Details
-
HostOutput
public HostOutput()
-
-
Method Details
-
getId
public int getId()Description copied from interface:DbPojo
Get the surrogate or natural primary key id for the lookup -
setId
public void setId(int id)Description copied from interface:DbPojo
Set the surrogate or natural primary key id for the lookup -
toJsonNode
public com.fasterxml.jackson.databind.JsonNode toJsonNode()Description copied from interface:DbPojo
Convert the pojo into a JsonNode- Specified by:
toJsonNode
in 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:DbPojo
Convert the pojo into a Json string- Specified by:
toJsonString
in 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:DbPojo
Perform 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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-