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 StringdescriptionThe group description.LongidThe group id (PK).StringnameThe group name.StringtypeThe group type [ Alert | Form | Job ].static StringTYPE_ALERTThe 'Alert' group type.static StringTYPE_FORMThe 'Form' group type.static StringTYPE_JOBThe 'Job' group type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()The group description.LonggetId()The group id (PK).StringgetName()The group name.StringgetType()The group type [ Alert | Form | Job ].StringtoString()
-
-
-
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)
-
-