|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface BaseColumnAnnotation
Corresponds to the JPA annotations:
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.common.core.resource.java.JavaResourceModel |
|---|
JavaResourceModel.FileTransformer, JavaResourceModel.Root |
| Field Summary | |
|---|---|
static String |
INSERTABLE_PROPERTY
|
static String |
NULLABLE_PROPERTY
|
static String |
TABLE_PROPERTY
|
static String |
UNIQUE_PROPERTY
|
static String |
UPDATABLE_PROPERTY
|
| Fields inherited from interface org.eclipse.jpt.jpa.core.resource.java.NamedColumnAnnotation |
|---|
COLUMN_DEFINITION_PROPERTY, NAME_PROPERTY |
| Fields inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceModel |
|---|
FILE_TRANSFORMER |
| Method Summary | |
|---|---|
Boolean |
getInsertable()
Corresponds to the 'insertable' element of the *Column annotation. |
TextRange |
getInsertableTextRange()
Return the TextRange for the 'insertable' element. |
Boolean |
getNullable()
Corresponds to the 'nullable' element of the *Column annotation. |
TextRange |
getNullableTextRange()
Return the TextRange for the 'nullable' element. |
String |
getTable()
Corresponds to the 'table' element of the *Column annotation. |
TextRange |
getTableTextRange()
Return the TextRange for the 'table' element. |
Boolean |
getUnique()
Corresponds to the 'unique' element of the *Column annotation. |
TextRange |
getUniqueTextRange()
Return the TextRange for the 'unique' element. |
Boolean |
getUpdatable()
Corresponds to the 'updatable' element of the *Column annotation. |
TextRange |
getUpdatableTextRange()
Return the TextRange for the 'updatable' element. |
void |
setInsertable(Boolean insertable)
Corresponds to the 'insertable' element of the *Column annotation. |
void |
setNullable(Boolean nullable)
Corresponds to the 'nullable' element of the *Column annotation. |
void |
setTable(String table)
Corresponds to the 'table' element of the *Column annotation. |
void |
setUnique(Boolean unique)
Corresponds to the 'unique' element of the *Column annotation. |
void |
setUpdatable(Boolean updatable)
Corresponds to the 'updatable' element of the *Column annotation. |
boolean |
tableTouches(int pos)
Return whether the specified position touches the 'table' element. |
| Methods inherited from interface org.eclipse.jpt.jpa.core.resource.java.NamedColumnAnnotation |
|---|
getColumnDefinition, getColumnDefinitionTextRange, getName, getNameTextRange, getNameValidationTextRange, isSpecified, nameTouches, nameValidationTouches, setColumnDefinition, setName |
| Methods inherited from interface org.eclipse.jpt.common.core.resource.java.Annotation |
|---|
getAnnotationName, getAstAnnotation, initialize, initialize, isUnset, newAnnotation, removeAnnotation, synchronizeWith, synchronizeWith |
| Methods inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceModel |
|---|
getFile, getJavaResourceCompilationUnit, getParent, getRoot, getTextRange |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener |
| Field Detail |
|---|
static final String UNIQUE_PROPERTY
static final String NULLABLE_PROPERTY
static final String INSERTABLE_PROPERTY
static final String UPDATABLE_PROPERTY
static final String TABLE_PROPERTY
| Method Detail |
|---|
Boolean getUnique()
void setUnique(Boolean unique)
TextRange getUniqueTextRange()
TextRange for the 'unique' element. If the element
does not exist return the TextRange for the *Column annotation.
Boolean getNullable()
void setNullable(Boolean nullable)
TextRange getNullableTextRange()
TextRange for the 'nullable' element. If the element
does not exist return the TextRange for the *Column annotation.
Boolean getInsertable()
void setInsertable(Boolean insertable)
TextRange getInsertableTextRange()
TextRange for the 'insertable' element. If the element
does not exist return the TextRange for the *Column annotation.
Boolean getUpdatable()
void setUpdatable(Boolean updatable)
TextRange getUpdatableTextRange()
TextRange for the 'updatable' element. If the element
does not exist return the TextRange for the *Column annotation.
String getTable()
void setTable(String table)
TextRange getTableTextRange()
TextRange for the 'table' element. If the element
does not exist return the TextRange for the *Column annotation.
boolean tableTouches(int pos)
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||