Class 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.
    • Constructor Summary

      Constructors 
      Constructor Description
      Group​(com.avoka.fc.core.entity.Group group)
      Create a Group value object with the given form entity parameter.
      Group​(java.util.Map fields)
      Create a unit testing Group value object with the given fields.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string representation of the object.