Class AbstractAnnotationTarget
java.lang.Object
org.hibernate.models.internal.dynamic.AbstractAnnotationTarget
- All Implemented Interfaces:
AnnotationTargetSupport,AnnotationTarget,MutableAnnotationTarget
- Direct Known Subclasses:
DynamicClassDetails,DynamicFieldDetails,DynamicMethodDetails
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.models.spi.AnnotationTarget
AnnotationTarget.AnnotationUsageProcessor<T>, AnnotationTarget.Kind -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<X extends Annotation>
voidaddAnnotationUsage(AnnotationUsage<X> annotationUsage) Applies the givenannotationUsageto this target.voidRemoves all annotation usages currently associated with this target.Map<Class<? extends Annotation>,AnnotationUsage<? extends Annotation>> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.models.spi.AnnotationTarget
forAllAnnotationUsages, forEachAnnotationUsage, fromAnnotations, getKind, getName, getNamedAnnotationUsage, getSingleAnnotationUsage, getSingleAnnotationUsageMethods inherited from interface org.hibernate.models.internal.AnnotationTargetSupport
forEachAnnotationUsage, getAllAnnotationUsages, getAnnotationUsage, getAnnotationUsage, getMetaAnnotated, getNamedAnnotationUsage, getNamedAnnotationUsage, getNamedAnnotationUsage, getRepeatedAnnotationUsages, getRepeatedAnnotationUsages, hasAnnotationUsage, hasRepeatableAnnotationUsage, locateAnnotationUsageMethods inherited from interface org.hibernate.models.spi.MutableAnnotationTarget
applyAnnotationUsage, applyAnnotationUsage
-
Constructor Details
-
AbstractAnnotationTarget
-
-
Method Details
-
getBuildingContext
- Specified by:
getBuildingContextin interfaceAnnotationTargetSupport
-
getUsageMap
- Specified by:
getUsageMapin interfaceAnnotationTargetSupport
-
clearAnnotationUsages
public void clearAnnotationUsages()Description copied from interface:MutableAnnotationTargetRemoves all annotation usages currently associated with this target. Useful for complete XML mappings.- Specified by:
clearAnnotationUsagesin interfaceMutableAnnotationTarget
-
addAnnotationUsage
Applies the givenannotationUsageto this target.- Specified by:
addAnnotationUsagein interfaceMutableAnnotationTarget
-