|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface BaseTableAnnotation
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 |
CATALOG_PROPERTY
|
static String |
NAME_PROPERTY
|
static String |
SCHEMA_PROPERTY
|
static String |
UNIQUE_CONSTRAINTS_LIST
|
| Fields inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceModel |
|---|
FILE_TRANSFORMER |
| Method Summary | |
|---|---|
UniqueConstraintAnnotation |
addUniqueConstraint(int index)
Corresponds to the 'uniqueConstraints' element of the *Table annotation. |
boolean |
catalogTouches(int pos)
Return whether the specified position touches the 'catalog' element. |
boolean |
catalogValidationTouches(int pos)
|
String |
getCatalog()
Corresponds to the 'catalog' element of the *Table annotation. |
TextRange |
getCatalogTextRange()
Return the TextRange for the 'catalog' element. |
TextRange |
getCatalogValidationTextRange()
|
String |
getName()
Corresponds to the 'name' element of the *Table annotation. |
TextRange |
getNameTextRange()
Return the TextRange for the 'name' element. |
TextRange |
getNameValidationTextRange()
|
String |
getSchema()
Corresponds to the 'schema' element of the *Table annotation. |
TextRange |
getSchemaTextRange()
Return the TextRange for the 'schema' element. |
TextRange |
getSchemaValidationTextRange()
|
org.eclipse.jpt.common.utility.iterable.ListIterable<UniqueConstraintAnnotation> |
getUniqueConstraints()
Corresponds to the 'uniqueConstraints' element of the *Table annotation. |
int |
getUniqueConstraintsSize()
Corresponds to the 'uniqueConstraints' element of the *Table annotation. |
boolean |
isSpecified()
Return whether the annotation exists in Java. |
void |
moveUniqueConstraint(int targetIndex,
int sourceIndex)
Corresponds to the 'uniqueConstraints' element of the *Table annotation. |
boolean |
nameTouches(int pos)
Return whether the specified position touches the 'name' element. |
boolean |
nameValidationTouches(int pos)
|
void |
removeUniqueConstraint(int index)
Corresponds to the 'uniqueConstraints' element of the *Table annotation. |
boolean |
schemaTouches(int pos)
Return whether the specified position touches the 'schema' element. |
boolean |
schemaValidationTouches(int pos)
|
void |
setCatalog(String catalog)
Corresponds to the 'catalog' element of the *Table annotation. |
void |
setName(String name)
Corresponds to the 'name' element of the *Table annotation. |
void |
setSchema(String schema)
Corresponds to the 'schema' element of the *Table annotation. |
UniqueConstraintAnnotation |
uniqueConstraintAt(int index)
Corresponds to the 'uniqueConstraints' element of the *Table annotation. |
| 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 NAME_PROPERTY
static final String SCHEMA_PROPERTY
static final String CATALOG_PROPERTY
static final String UNIQUE_CONSTRAINTS_LIST
| Method Detail |
|---|
boolean isSpecified()
String getName()
void setName(String name)
TextRange getNameTextRange()
TextRange for the 'name' element. If the element
does not exist return the TextRange for the *Table annotation.
boolean nameTouches(int pos)
TextRange getNameValidationTextRange()
boolean nameValidationTouches(int pos)
String getSchema()
void setSchema(String schema)
TextRange getSchemaTextRange()
TextRange for the 'schema' element. If the element
does not exist return the TextRange for the *Table annotation.
boolean schemaTouches(int pos)
TextRange getSchemaValidationTextRange()
boolean schemaValidationTouches(int pos)
String getCatalog()
void setCatalog(String catalog)
TextRange getCatalogTextRange()
TextRange for the 'catalog' element. If the element
does not exist return the TextRange for the *Table annotation.
boolean catalogTouches(int pos)
TextRange getCatalogValidationTextRange()
boolean catalogValidationTouches(int pos)
org.eclipse.jpt.common.utility.iterable.ListIterable<UniqueConstraintAnnotation> getUniqueConstraints()
int getUniqueConstraintsSize()
UniqueConstraintAnnotation uniqueConstraintAt(int index)
UniqueConstraintAnnotation addUniqueConstraint(int index)
void moveUniqueConstraint(int targetIndex,
int sourceIndex)
void removeUniqueConstraint(int index)
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||