Class BasicJpaAnnotation
java.lang.Object
org.hibernate.boot.models.annotations.internal.BasicJpaAnnotation
- All Implemented Interfaces:
Annotation,AttributeMarker,AttributeMarker.Fetchable,AttributeMarker.Optionalable
@Generated("org.hibernate.orm.build.annotations.ClassGeneratorProcessor")
public class BasicJpaAnnotation
extends Object
implements Basic, AttributeMarker, AttributeMarker.Fetchable, AttributeMarker.Optionalable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.boot.models.annotations.spi.AttributeMarker
AttributeMarker.Cascadeable, AttributeMarker.Fetchable, AttributeMarker.Mappable, AttributeMarker.Optionalable -
Constructor Summary
ConstructorsConstructorDescriptionBasicJpaAnnotation(Basic annotation, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from JDK variantBasicJpaAnnotation(Map<String, Object> attributeValues, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from Jandex variantBasicJpaAnnotation(org.hibernate.models.spi.ModelsContext modelContext) Used in creating dynamic annotation instances (e.g. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation> fetch()voidbooleanoptional()voidoptional(boolean value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.annotation.Annotation
equals, hashCode, toString
-
Constructor Details
-
BasicJpaAnnotation
public BasicJpaAnnotation(org.hibernate.models.spi.ModelsContext modelContext) Used in creating dynamic annotation instances (e.g. from XML) -
BasicJpaAnnotation
Used in creating annotation instances from JDK variant -
BasicJpaAnnotation
public BasicJpaAnnotation(Map<String, Object> attributeValues, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from Jandex variant
-
-
Method Details
-
annotationType
- Specified by:
annotationTypein interfaceAnnotation
-
fetch
- Specified by:
fetchin interfaceAttributeMarker.Fetchable
-
fetch
- Specified by:
fetchin interfaceAttributeMarker.Fetchable
-
optional
public boolean optional()- Specified by:
optionalin interfaceAttributeMarker.Optionalable
-
optional
public void optional(boolean value) - Specified by:
optionalin interfaceAttributeMarker.Optionalable
-