Class NaturalIdAnnotation

java.lang.Object
org.hibernate.boot.models.annotations.internal.NaturalIdAnnotation
All Implemented Interfaces:
Annotation

@Generated("org.hibernate.orm.build.annotations.ClassGeneratorProcessor") public class NaturalIdAnnotation extends Object implements NaturalId
  • Constructor Details

    • NaturalIdAnnotation

      public NaturalIdAnnotation(org.hibernate.models.spi.SourceModelBuildingContext modelContext)
      Used in creating dynamic annotation instances (e.g. from XML)
    • NaturalIdAnnotation

      public NaturalIdAnnotation(NaturalId annotation, org.hibernate.models.spi.SourceModelBuildingContext modelContext)
      Used in creating annotation instances from JDK variant
    • NaturalIdAnnotation

      public NaturalIdAnnotation(Map<String,Object> attributeValues, org.hibernate.models.spi.SourceModelBuildingContext modelContext)
      Used in creating annotation instances from Jandex variant
  • Method Details

    • annotationType

      public Class<? extends Annotation> annotationType()
      Specified by:
      annotationType in interface Annotation
    • mutable

      public boolean mutable()
    • mutable

      public void mutable(boolean value)