public class InsertCascadeAnnotationReader extends CascadeAnnotationReader
Constructor and Description |
---|
InsertCascadeAnnotationReader(java.lang.reflect.Field source)
Constructs for a field.
|
Modifier and Type | Method and Description |
---|---|
InsertCascade[] |
getInsertCascades() |
protected void |
initCascade(Cascade cascadeAnnotation)
Initializes when
Cascade is annotated on source field (or implied
as default when no annotation is used). |
protected void |
initOneToManyCascade(OneToManyCascade cascadeAnnotation)
Initializes when
OneToManyCascade is annotated on source field (or implied
as default when no annotation is used). |
protected void |
initOneToOneCascade(OneToOneCascade cascadeAnnotation)
Initializes when
OneToOneCascade is annotated on source field (or implied
as default when no annotation is used). |
checkDefaultTargetClass, getForeignKeyReferenceField, getForeignKeyValueFields, getName, getSource, getTargetClass, init, init, init, initTargetClass, setForeignKeyReferenceField, setForeignKeyValueFields, setName
public InsertCascadeAnnotationReader(java.lang.reflect.Field source)
source
- field with insert cascade annotation (or default cascade)protected void initOneToManyCascade(OneToManyCascade cascadeAnnotation)
OneToManyCascade
is annotated on source field (or implied
as default when no annotation is used).initOneToManyCascade
in class CascadeAnnotationReader
cascadeAnnotation
- annotation to use for cascadeprotected void initOneToOneCascade(OneToOneCascade cascadeAnnotation)
OneToOneCascade
is annotated on source field (or implied
as default when no annotation is used).initOneToOneCascade
in class CascadeAnnotationReader
cascadeAnnotation
- annotation to use for cascadeprotected void initCascade(Cascade cascadeAnnotation)
Cascade
is annotated on source field (or implied
as default when no annotation is used).initCascade
in class CascadeAnnotationReader
cascadeAnnotation
- annotation to use for cascadepublic InsertCascade[] getInsertCascades()