Enum Class PropertyKind

java.lang.Object
java.lang.Enum<PropertyKind>
com.vaadin.featurepack.data.jpacontainer.metadata.PropertyKind
All Implemented Interfaces:
Serializable, Comparable<PropertyKind>, Constable

public enum PropertyKind extends Enum<PropertyKind>
Enumeration defining the property kind.
Author:
Petter Holmström (Vaadin Ltd)
  • Enum Constant Details

    • EMBEDDED

      public static final PropertyKind EMBEDDED
      The property is embedded.
      See Also:
      • invalid reference
        javax.persistence.Embeddable
      • invalid reference
        javax.persistence.Embedded
    • MANY_TO_ONE

      public static final PropertyKind MANY_TO_ONE
      The property is a reference.
      See Also:
      • invalid reference
        javax.persistence.OneToOne
      • invalid reference
        javax.persistence.ManyToOne
    • ONE_TO_ONE

      public static final PropertyKind ONE_TO_ONE
      The property is a reference.
      See Also:
      • invalid reference
        javax.persistence.ManyToOne
    • ONE_TO_MANY

      public static final PropertyKind ONE_TO_MANY
      The property is a collection.
      See Also:
      • invalid reference
        javax.persistence.OneToMany
    • MANY_TO_MANY

      public static final PropertyKind MANY_TO_MANY
      The property is a reference.
      See Also:
      • invalid reference
        javax.persistence.ManyToMany
    • ELEMENT_COLLECTION

      public static final PropertyKind ELEMENT_COLLECTION
      The property is a collection Embeddables or basic data types.
      See Also:
      • invalid reference
        javax.persistence.ElementCollection
    • SIMPLE

      public static final PropertyKind SIMPLE
      The property is of a simple datatype.
    • NONPERSISTENT

      public static final PropertyKind NONPERSISTENT
      The property is not persistent property.
  • Method Details

    • values

      public static PropertyKind[] 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 PropertyKind 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