Class ManyToManyJpaAnnotation
java.lang.Object
org.hibernate.boot.models.annotations.internal.ManyToManyJpaAnnotation
- All Implemented Interfaces:
Annotation
,AttributeMarker
,AttributeMarker.Cascadeable
,AttributeMarker.Fetchable
,AttributeMarker.Mappable
@Generated("org.hibernate.orm.build.annotations.ClassGeneratorProcessor")
public class ManyToManyJpaAnnotation
extends Object
implements ManyToMany, AttributeMarker.Fetchable, AttributeMarker.Cascadeable, AttributeMarker.Mappable
-
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
ConstructorsConstructorDescriptionManyToManyJpaAnnotation
(ManyToMany annotation, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from JDK variantManyToManyJpaAnnotation
(Map<String, Object> attributeValues, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from Jandex variantManyToManyJpaAnnotation
(org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating dynamic annotation instances (e.g. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>
cascade()
void
cascade
(CascadeType[] value) fetch()
void
mappedBy()
void
Class<?>
void
targetEntity
(Class<?> 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
-
ManyToManyJpaAnnotation
public ManyToManyJpaAnnotation(org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating dynamic annotation instances (e.g. from XML) -
ManyToManyJpaAnnotation
public ManyToManyJpaAnnotation(ManyToMany annotation, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from JDK variant -
ManyToManyJpaAnnotation
public ManyToManyJpaAnnotation(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
-
targetEntity
-
targetEntity
-
cascade
- Specified by:
cascade
in interfaceAttributeMarker.Cascadeable
-
cascade
- Specified by:
cascade
in interfaceAttributeMarker.Cascadeable
-
fetch
- Specified by:
fetch
in interfaceAttributeMarker.Fetchable
-
fetch
- Specified by:
fetch
in interfaceAttributeMarker.Fetchable
-
mappedBy
- Specified by:
mappedBy
in interfaceAttributeMarker.Mappable
-
mappedBy
- Specified by:
mappedBy
in interfaceAttributeMarker.Mappable
-