Enum Class CollectionKind

java.lang.Object
java.lang.Enum<CollectionKind>
org.tquadrat.foundation.config.ap.CollectionKind
All Implemented Interfaces:
Serializable, Comparable<CollectionKind>, Constable

@ClassVersion(sourceVersion="$Id: CollectionKind.java 1002 2022-02-01 21:33:00Z tquadrat $") @API(status=INTERNAL, since="0.1.0") public enum CollectionKind extends Enum<CollectionKind>
The kind of collection for a property type that is a collection.
Author:
Thomas Thrien (thomas.thrien@tquadrat.org)
Version:
$Id: CollectionKind.java 1002 2022-02-01 21:33:00Z tquadrat $
Since:
0.1.0
UML Diagram
UML Diagram for "org.tquadrat.foundation.config.ap.CollectionKind"

UML Diagram for "org.tquadrat.foundation.config.ap.CollectionKind"

UML Diagram for "org.tquadrat.foundation.config.ap.CollectionKind"
  • Enum Constant Details

  • Field Details

  • Constructor Details

    • CollectionKind

      private CollectionKind(TypeName accessor)
      Creates a new CollectionKind instance.
      Parameters:
      accessor - The type name for the accessor.
  • Method Details

    • values

      public static CollectionKind[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CollectionKind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getAccessorType

      public final TypeName getAccessorType()
      Returns the accessor type for the collection kind.
      Returns:
      The accessor type.