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