Class NamedQueriesAnnotation
java.lang.Object
org.hibernate.boot.models.annotations.internal.NamedQueriesAnnotation
- All Implemented Interfaces:
Annotation
,RepeatableContainer<NamedQuery>
@Generated("org.hibernate.orm.build.annotations.ClassGeneratorProcessor")
public class NamedQueriesAnnotation
extends Object
implements NamedQueries, RepeatableContainer<NamedQuery>
-
Constructor Summary
ConstructorsConstructorDescriptionNamedQueriesAnnotation
(Map<String, Object> attributeValues, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from Jandex variantNamedQueriesAnnotation
(NamedQueries annotation, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from JDK variantNamedQueriesAnnotation
(org.hibernate.models.spi.ModelsContext modelContext) Used in creating dynamic annotation instances (e.g. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>
value()
void
value
(NamedQuery[] 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
-
NamedQueriesAnnotation
public NamedQueriesAnnotation(org.hibernate.models.spi.ModelsContext modelContext) Used in creating dynamic annotation instances (e.g. from XML) -
NamedQueriesAnnotation
public NamedQueriesAnnotation(NamedQueries annotation, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from JDK variant -
NamedQueriesAnnotation
public NamedQueriesAnnotation(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
-
value
- Specified by:
value
in interfaceRepeatableContainer<NamedQuery>
-
value
- Specified by:
value
in interfaceRepeatableContainer<NamedQuery>
-