Class AnyAnnotation
java.lang.Object
org.hibernate.boot.models.annotations.internal.AnyAnnotation
- All Implemented Interfaces:
Annotation
,AttributeMarker
,AttributeMarker.Fetchable
,AttributeMarker.Optionalable
@Generated("org.hibernate.orm.build.annotations.ClassGeneratorProcessor")
public class AnyAnnotation
extends Object
implements Any, 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
ConstructorsConstructorDescriptionAnyAnnotation
(Map<String, Object> attributeValues, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from Jandex variantAnyAnnotation
(Any annotation, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from JDK variantAnyAnnotation
(org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating dynamic annotation instances (e.g. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>
fetch()
void
boolean
optional()
void
optional
(boolean value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.annotation.Annotation
equals, hashCode, toString
-
Constructor Details
-
AnyAnnotation
public AnyAnnotation(org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating dynamic annotation instances (e.g. from XML) -
AnyAnnotation
public AnyAnnotation(Any annotation, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from JDK variant -
AnyAnnotation
public AnyAnnotation(Map<String, Object> attributeValues, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from Jandex variant
-
-
Method Details
-
annotationType
- Specified by:
annotationType
in interfaceAnnotation
-
fetch
- Specified by:
fetch
in interfaceAttributeMarker.Fetchable
-
fetch
- Specified by:
fetch
in interfaceAttributeMarker.Fetchable
-
optional
public boolean optional()- Specified by:
optional
in interfaceAttributeMarker.Optionalable
-
optional
public void optional(boolean value) - Specified by:
optional
in interfaceAttributeMarker.Optionalable
-