Class GroupParticleType

java.lang.Object
com.aquima.interactions.communication.GroupParticleType
All Implemented Interfaces:
Serializable

public final class GroupParticleType extends Object implements Serializable
This class defines all the group particle types that are supported.
Since:
9.0
Author:
Arjan Pragt
See Also:
  • Field Details

    • SEQUENCE

      public static final GroupParticleType SEQUENCE
      Predefined group particle type for a sequence.
    • CHOICE

      public static final GroupParticleType CHOICE
      Predefined group particle type for a choice.
    • ALL

      public static final GroupParticleType ALL
      Predefined group particle type for an all.
  • Method Details

    • valueOf

      public static GroupParticleType valueOf(String name)
      This method returns the GroupParticleType matching the specified name.
      Parameters:
      name - The name of the requested GroupParticleType.
      Returns:
      The GroupParticleType matching the specified name.
      Throws:
      IllegalArgumentException - when the name provides does not exist.
    • getName

      public String getName()
      The method returns the name of the group particle type.
      Returns:
      The name, never null.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object