Package com.avoka.tm.vo
Class Group
- java.lang.Object
-
- com.avoka.tm.vo.Group
-
public class Group extends Object
Provide a Group value object class.- Since:
- 18.11.0
-
-
Field Summary
Fields Modifier and Type Field Description String
description
The group description.Long
id
The group id (PK).String
name
The group name.String
type
The group type [ Alert | Form | Job ].static String
TYPE_ALERT
The 'Alert' group type.static String
TYPE_FORM
The 'Form' group type.static String
TYPE_JOB
The 'Job' group type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
The group description.Long
getId()
The group id (PK).String
getName()
The group name.String
getType()
The group type [ Alert | Form | Job ].String
toString()
-
-
-
Field Detail
-
TYPE_ALERT
public static final String TYPE_ALERT
The 'Alert' group type.- See Also:
- Constant Field Values
-
TYPE_FORM
public static final String TYPE_FORM
The 'Form' group type.- See Also:
- Constant Field Values
-
TYPE_JOB
public static final String TYPE_JOB
The 'Job' group type.- See Also:
- Constant Field Values
-
id
public final Long id
The group id (PK).
-
name
public final String name
The group name.
-
type
public final String type
The group type [ Alert | Form | Job ].
-
description
public final String description
The group description.
-
-
Constructor Detail
-
Group
public Group(com.avoka.fc.core.entity.Group group)
Create a Group value object with the given form entity parameter.- Parameters:
group
- the group entity parameter (required)
-
Group
public Group(Map fields)
Create a unit testing Group value object with the given fields.- Parameters:
fields
- the group entity fields (required)
-
-