org.eclipse.jpt.jaxb.eclipselink.core.resource.java
Interface XmlInverseReferenceAnnotation
- All Superinterfaces:
- Annotation, JavaResourceNode, Model
public interface XmlInverseReferenceAnnotation
- extends Annotation
|
Method Summary |
java.lang.String |
getMappedBy()
Corresponds to the 'mappedBy' element of the XmlInverseReference annotation. |
TextRange |
getMappedByTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the text range associated with the 'mappedBy' element. |
void |
setMappedBy(java.lang.String mappedBy)
Corresponds to the 'mappedBy' element of the XmlInverseReference annotation. |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener |
ANNOTATION_NAME
static final java.lang.String ANNOTATION_NAME
- See Also:
- Constant Field Values
MAPPED_BY_PROPERTY
static final java.lang.String MAPPED_BY_PROPERTY
- String associated with change events to the 'mappedBy' property
- See Also:
- Constant Field Values
getMappedBy
java.lang.String getMappedBy()
- Corresponds to the 'mappedBy' element of the XmlInverseReference annotation.
Return null if the element does not exist in Java.
setMappedBy
void setMappedBy(java.lang.String mappedBy)
- Corresponds to the 'mappedBy' element of the XmlInverseReference annotation.
Set to null to remove the element.
getMappedByTextRange
TextRange getMappedByTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
- Return the text range associated with the 'mappedBy' element.
Return the text range of this annotation if the element is absent.