|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableAnnotation
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.
Field Summary | |
---|---|
static java.lang.String |
ANNOTATION_NAME
|
static java.lang.String |
CATALOG_PROPERTY
|
static java.lang.String |
NAME_PROPERTY
|
static java.lang.String |
SCHEMA_PROPERTY
|
static java.lang.String |
UNIQUE_CONSTRAINTS_LIST
|
Method Summary | |
---|---|
UniqueConstraintAnnotation |
addUniqueConstraint(int index)
|
boolean |
catalogTouches(int pos,
org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return whether the specified postition touches the catalog element. |
java.lang.String |
getCatalog()
|
TextRange |
getCatalogTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the TextRange for the catalog element. |
java.lang.String |
getName()
|
TextRange |
getNameTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the TextRange for the name element. |
java.lang.String |
getSchema()
|
TextRange |
getSchemaTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the TextRange for the schema element. |
int |
indexOfUniqueConstraint(UniqueConstraintAnnotation uniqueConstraint)
|
void |
moveUniqueConstraint(int targetIndex,
int sourceIndex)
|
boolean |
nameTouches(int pos,
org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return whether the specified postition touches the name element. |
void |
removeUniqueConstraint(int index)
|
boolean |
schemaTouches(int pos,
org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return whether the specified postition touches the schema element. |
void |
setCatalog(java.lang.String catalog)
|
void |
setName(java.lang.String name)
|
void |
setSchema(java.lang.String schema)
|
UniqueConstraintAnnotation |
uniqueConstraintAt(int index)
|
java.util.ListIterator<UniqueConstraintAnnotation> |
uniqueConstraints()
|
int |
uniqueConstraintsSize()
|
Methods inherited from interface org.eclipse.jpt.core.resource.java.JavaResourceNode |
---|
getJpaCompilationUnit, getResourceModel, getTextRange, initialize, updateFromJava |
Field Detail |
---|
static final java.lang.String ANNOTATION_NAME
static final java.lang.String NAME_PROPERTY
static final java.lang.String CATALOG_PROPERTY
static final java.lang.String SCHEMA_PROPERTY
static final java.lang.String UNIQUE_CONSTRAINTS_LIST
Method Detail |
---|
java.lang.String getName()
void setName(java.lang.String name)
java.lang.String getCatalog()
void setCatalog(java.lang.String catalog)
java.lang.String getSchema()
void setSchema(java.lang.String schema)
java.util.ListIterator<UniqueConstraintAnnotation> uniqueConstraints()
UniqueConstraintAnnotation uniqueConstraintAt(int index)
int indexOfUniqueConstraint(UniqueConstraintAnnotation uniqueConstraint)
int uniqueConstraintsSize()
UniqueConstraintAnnotation addUniqueConstraint(int index)
void removeUniqueConstraint(int index)
void moveUniqueConstraint(int targetIndex, int sourceIndex)
TextRange getNameTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
TextRange
for the name element. If the name element
does not exist return the TextRange
for the *Table annotation.
TextRange getCatalogTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
TextRange
for the catalog element. If the catalog element
does not exist return the TextRange
for the *Table annotation.
TextRange getSchemaTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
TextRange
for the schema element. If the schema element
does not exist return the TextRange
for the *Table annotation.
boolean nameTouches(int pos, org.eclipse.jdt.core.dom.CompilationUnit astRoot)
boolean schemaTouches(int pos, org.eclipse.jdt.core.dom.CompilationUnit astRoot)
boolean catalogTouches(int pos, org.eclipse.jdt.core.dom.CompilationUnit astRoot)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |