Enum PluralAttributeElementNature

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<PluralAttributeElementNature>

    public enum PluralAttributeElementNature
    extends java.lang.Enum<PluralAttributeElementNature>
    Describes the nature of plural attribute elements in terms of relational implications.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      AGGREGATE
      The collection elements are compositions.
      BASIC
      The collection elements are basic, simple values.
      MANY_TO_ANY
      The collection elements represent entity's in a multi-valued ANY mapping.
      MANY_TO_MANY
      The collection elements represent entity's in a many-to-many association.
      ONE_TO_MANY
      The collection elements represent entity's in a one-to-many association.
    • Method Detail

      • values

        public static PluralAttributeElementNature[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PluralAttributeElementNature c : PluralAttributeElementNature.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PluralAttributeElementNature valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • isAssociation

        public boolean isAssociation()
      • isCascadeable

        public boolean isCascadeable()