Class OptimisticLockAnnotation
java.lang.Object
org.hibernate.boot.models.annotations.internal.OptimisticLockAnnotation
- All Implemented Interfaces:
Annotation
@Generated("org.hibernate.orm.build.annotations.ClassGeneratorProcessor")
public class OptimisticLockAnnotation
extends Object
implements OptimisticLock
-
Constructor Summary
ConstructorsConstructorDescriptionOptimisticLockAnnotation
(Map<String, Object> attributeValues, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from Jandex variantOptimisticLockAnnotation
(OptimisticLock annotation, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from JDK variantOptimisticLockAnnotation
(org.hibernate.models.spi.ModelsContext modelContext) Used in creating dynamic annotation instances (e.g. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>
boolean
excluded()
void
excluded
(boolean value)
-
Constructor Details
-
OptimisticLockAnnotation
public OptimisticLockAnnotation(org.hibernate.models.spi.ModelsContext modelContext) Used in creating dynamic annotation instances (e.g. from XML) -
OptimisticLockAnnotation
public OptimisticLockAnnotation(OptimisticLock annotation, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from JDK variant -
OptimisticLockAnnotation
public OptimisticLockAnnotation(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
-
excluded
public boolean excluded() -
excluded
public void excluded(boolean value)
-