|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OwningRelationshipMapping2_0Annotation
Represents a relationship mapping annotation that may have the
orphanRemoval element:
javax.persistence.OneToMany
javax.persistence.OneToOne
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Field Summary | |
|---|---|
static java.lang.String |
ORPHAN_REMOVAL_PROPERTY
|
| Method Summary | |
|---|---|
java.lang.Boolean |
getOrphanRemoval()
Corresponds to the orphanRemoval element of a OneToMany or OneToOne annotation. |
TextRange |
getOrphanRemovalTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the TextRange for the orphanRemoval element. |
void |
setOrphanRemoval(java.lang.Boolean orphanRemoval)
Corresponds to the orphanRemoval element of a OneToMany or OneToOne annotation. |
| Field Detail |
|---|
static final java.lang.String ORPHAN_REMOVAL_PROPERTY
| Method Detail |
|---|
java.lang.Boolean getOrphanRemoval()
void setOrphanRemoval(java.lang.Boolean orphanRemoval)
TextRange getOrphanRemovalTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
TextRange for the orphanRemoval element. If the orphanRemoval element
does not exist return the TextRange for the OneToMany or OneToOne annotation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||