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 Summary
ConstructorsConstructorDescriptionNaturalIdAnnotation
(Map<String, Object> attributeValues, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from Jandex variantNaturalIdAnnotation
(NaturalId annotation, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from JDK variantNaturalIdAnnotation
(org.hibernate.models.spi.ModelsContext modelContext) Used in creating dynamic annotation instances (e.g. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>
boolean
mutable()
void
mutable
(boolean value)
-
Constructor Details
-
NaturalIdAnnotation
public NaturalIdAnnotation(org.hibernate.models.spi.ModelsContext modelContext) Used in creating dynamic annotation instances (e.g. from XML) -
NaturalIdAnnotation
public NaturalIdAnnotation(NaturalId annotation, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from JDK variant -
NaturalIdAnnotation
public NaturalIdAnnotation(Map<String, Object> attributeValues, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from Jandex variant
-
-
Method Details
-
annotationType
- Specified by:
annotationType
in interfaceAnnotation
-
mutable
public boolean mutable() -
mutable
public void mutable(boolean value)
-