Enum AssociationKind

java.lang.Object
java.lang.Enum<AssociationKind>
org.faktorips.runtime.model.type.AssociationKind
All Implemented Interfaces:
Serializable, Comparable<AssociationKind>, java.lang.constant.Constable

public enum AssociationKind extends Enum<AssociationKind>
The possible kinds of associations.
See Also:
  • Enum Constant Details

    • Association

      public static final AssociationKind Association
      An association between two elements not in a parent-child-relation.
    • Composition

      public static final AssociationKind Composition
      A parent-child relation
    • CompositionToMaster

      public static final AssociationKind CompositionToMaster
      A child-parent relation
  • Method Details

    • values

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

      public static AssociationKind valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null