|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EclipseLinkTransformerAnnotation
Common protocol among: org.eclipse.persistence.annotations.ReadTransformer org.eclipse.persistence.annotations.WriteTransformer 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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.core.resource.java.JavaResourceNode |
|---|
JavaResourceNode.Root |
| Field Summary | |
|---|---|
static java.lang.String |
METHOD_PROPERTY
|
static java.lang.String |
TRANSFORMER_CLASS_PROPERTY
|
| Method Summary | |
|---|---|
java.lang.String |
getMethod()
Corresponds to the 'method' element of the *Transformer annotation. |
TextRange |
getMethodTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the TextRange for the 'method' element. |
java.lang.String |
getTransformerClass()
Corresponds to the 'transformerClass' element of the *Transformer annotation. |
TextRange |
getTransformerClassTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the TextRange for the 'transformerClass' element. |
void |
setMethod(java.lang.String method)
Corresponds to the 'method' element of the *Transformer annotation. |
void |
setTransformerClass(java.lang.String transformerClass)
Corresponds to the 'transformerClass' element of the *Transformer annotation. |
| Methods inherited from interface org.eclipse.jpt.core.resource.java.Annotation |
|---|
getAnnotationName, getAstAnnotation, newAnnotation, removeAnnotation |
| Methods inherited from interface org.eclipse.jpt.core.resource.java.JavaResourceNode |
|---|
getFile, getJavaResourceCompilationUnit, getRoot, getTextRange, initialize, synchronizeWith |
| Methods inherited from interface org.eclipse.jpt.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener |
| Field Detail |
|---|
static final java.lang.String TRANSFORMER_CLASS_PROPERTY
static final java.lang.String METHOD_PROPERTY
| Method Detail |
|---|
java.lang.String getTransformerClass()
@ReadTransformer(transformerClass=Employee.class)
will return "Employee".
void setTransformerClass(java.lang.String transformerClass)
TextRange getTransformerClassTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
TextRange for the 'transformerClass' element. If the element
does not exist return the TextRange for the *Transformer annotation.
java.lang.String getMethod()
void setMethod(java.lang.String method)
TextRange getMethodTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
TextRange for the 'method' element. If the element
does not exist return the TextRange for the *Transformer annotation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||