org.eclipse.jpt.jaxb.eclipselink.core.resource.java
Interface XmlInverseReferenceAnnotation

All Superinterfaces:
Annotation, JavaResourceNode, Model

public interface XmlInverseReferenceAnnotation
extends Annotation


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceNode
JavaResourceNode.Root
 
Field Summary
static java.lang.String ANNOTATION_NAME
           
static java.lang.String MAPPED_BY_PROPERTY
          String associated with change events to the 'mappedBy' property
 
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.jaxb.core.resource.java.Annotation
getAnnotationName, getAstAnnotation, newAnnotation, removeAnnotation
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceNode
getFile, getJavaResourceCompilationUnit, getRoot, getTextRange, initialize, synchronizeWith
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener
 

Field Detail

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
Method Detail

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.