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.IntegergetCustom()Gets custom.java.lang.IntegergetDefaultTag()Gets default tag.java.lang.StringgetName()Gets name.java.lang.StringgetType()Gets type.java.lang.IntegergetUnreadCount()Gets unread count.voidsetCustom(java.lang.Integer custom)Sets custom.voidsetDefaultTag(java.lang.Integer defaultTag)Sets default tag.voidsetName(java.lang.String name)Sets name.voidsetType(java.lang.String type)Sets type.voidsetUnreadCount(java.lang.Integer unreadCount)Sets unread count.Methods inherited from class tenapull.data.entity.template.NaturalIdPojo
__set, equals, getId, hashCode, setIdMethods 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:DbPojoPerform 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
-