Interface SingularAttribute<X,T>

Type Parameters:
X - The type containing the represented attribute
T - The type of the represented attribute
All Superinterfaces:
Attribute<X,T>, Bindable<T>, FieldSpecification<X,T>
All Known Implementing Classes:
SingularAttributeImpl

public interface SingularAttribute<X,T> extends Attribute<X,T>, Bindable<T>
Instances of the type SingularAttribute represents persistent single-valued properties or fields.
  • Method Details

    • isId

      default boolean isId()
      Is the attribute an id attribute.

      Always returns false, as identifiers are represented by Identifier attributes.

      Returns:
      false
    • isVersion

      boolean isVersion()
      Is the attribute a version attribute.
      Returns:
      boolean indicating whether the attribute is a version attribute
    • getType

      Type<T> getType()
      Return the type that represents the type of the attribute.
      Returns:
      type of attribute