Package tenapull.data.entity.scan
Class Folder
java.lang.Object
tenapull.data.entity.template.ExtensibleJsonPojo
tenapull.data.entity.template.NaturalIdPojo
tenapull.data.entity.scan.Folder
- All Implemented Interfaces:
DbPojo
@Entity(name="Folder") public class Folder extends NaturalIdPojo
Represents a folder object returned by the Nessus API in /scans
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description void
_prepare()
Perform any operations necessary to prepare this pojo for insertion or updating in the databasejava.lang.Integer
getCustom()
Gets custom.java.lang.Integer
getDefaultTag()
Gets default tag.java.lang.String
getName()
Gets name.java.lang.String
getType()
Gets type.java.lang.Integer
getUnreadCount()
Gets unread count.void
setCustom(java.lang.Integer custom)
Sets custom.void
setDefaultTag(java.lang.Integer defaultTag)
Sets default tag.void
setName(java.lang.String name)
Sets name.void
setType(java.lang.String type)
Sets type.void
setUnreadCount(java.lang.Integer unreadCount)
Sets unread count.Methods inherited from class tenapull.data.entity.template.NaturalIdPojo
__set, equals, getId, hashCode, setId
Methods inherited from class tenapull.data.entity.template.ExtensibleJsonPojo
__prepare, getExtraJson, getExtraJson, getExtraJsonMap, putExtraJson, setExtraJson, toJsonNode, toJsonString, toString
-
Field Details
-
Constructor Details
-
Folder
public Folder()Instantiates a new Folder. -
Folder
public Folder(int id, java.lang.String name, java.lang.String type, java.lang.Integer defaultTag, java.lang.Integer custom, java.lang.Integer unreadCount)Instantiates a new Folder.- Parameters:
id
- the idname
- the nametype
- the typedefaultTag
- the default tagcustom
- the customunreadCount
- the unread count
-
-
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 -
getName
public java.lang.String getName()Gets name.- Returns:
- the name
-
setName
public void setName(java.lang.String name)Sets name.- Parameters:
name
- the name
-
getType
public java.lang.String getType()Gets type.- Returns:
- the type
-
setType
public void setType(java.lang.String type)Sets type.- Parameters:
type
- the type
-
getDefaultTag
public java.lang.Integer getDefaultTag()Gets default tag.- Returns:
- the default tag
-
setDefaultTag
public void setDefaultTag(java.lang.Integer defaultTag)Sets default tag.- Parameters:
defaultTag
- the default tag
-
getCustom
public java.lang.Integer getCustom()Gets custom.- Returns:
- the custom
-
setCustom
public void setCustom(java.lang.Integer custom)Sets custom.- Parameters:
custom
- the custom
-
getUnreadCount
public java.lang.Integer getUnreadCount()Gets unread count.- Returns:
- the unread count
-
setUnreadCount
public void setUnreadCount(java.lang.Integer unreadCount)Sets unread count.- Parameters:
unreadCount
- the unread count
-