|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GeneratedAnnotation
Corresponds to the Java 6 annotation
javax.annotation.Generated
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 |
ANNOTATION_NAME
|
static java.lang.String |
COMMENTS_ELEMENT_NAME
|
static java.lang.String |
COMMENTS_PROPERTY
|
static java.lang.String |
DATE_ELEMENT_NAME
|
static java.lang.String |
DATE_PROPERTY
|
static java.lang.String |
VALUE_ELEMENT_NAME
|
static java.lang.String |
VALUES_LIST
|
| Method Summary | |
|---|---|
void |
addValue(int index,
java.lang.String value)
Corresponds to the value |
void |
addValue(java.lang.String value)
Corresponds to the value |
java.lang.String |
getComments()
Corresponds to the comments element of the Generated
annotation. |
java.lang.String |
getDate()
Corresponds to the date element of the Generated
annotation. |
java.lang.String |
getValue(int index)
Corresponds to the value |
void |
moveValue(int targetIndex,
int sourceIndex)
Corresponds to the value |
void |
removeValue(int index)
Corresponds to the value |
void |
removeValue(java.lang.String value)
Corresponds to the value |
void |
setComments(java.lang.String comments)
Corresponds to the comments element of the Generated
annotation. |
void |
setDate(java.lang.String date)
Corresponds to the date element of the Generated
annotation. |
java.util.ListIterator<java.lang.String> |
values()
Corresponds to the value |
int |
valuesSize()
Corresponds to the value |
| 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 ANNOTATION_NAME
static final java.lang.String VALUE_ELEMENT_NAME
static final java.lang.String DATE_ELEMENT_NAME
static final java.lang.String COMMENTS_ELEMENT_NAME
static final java.lang.String VALUES_LIST
static final java.lang.String DATE_PROPERTY
static final java.lang.String COMMENTS_PROPERTY
| Method Detail |
|---|
java.util.ListIterator<java.lang.String> values()
value element of the Generated
annotation.
Return null if the element does not exist in the annotation.
int valuesSize()
value element of the Generated
annotation.
java.lang.String getValue(int index)
value element of the Generated
annotation.
void addValue(java.lang.String value)
value element of the Generated
annotation.
void addValue(int index,
java.lang.String value)
value element of the Generated
annotation.
void moveValue(int targetIndex,
int sourceIndex)
value element of the Generated
annotation.
void removeValue(java.lang.String value)
value element of the Generated
annotation.
void removeValue(int index)
value element of the Generated
annotation.
java.lang.String getDate()
date element of the Generated
annotation.
Return null if the element does not exist in the annotation.
void setDate(java.lang.String date)
date element of the Generated
annotation.
Set to null to remove the element.
java.lang.String getComments()
comments element of the Generated
annotation.
Return null if the element does not exist in the annotation.
void setComments(java.lang.String comments)
comments element of the Generated
annotation.
Set to null to remove the element.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||