org.eclipse.jpt.jpa.core.context.java
Interface JavaReferenceTable
- All Superinterfaces:
- IAdaptable, JavaTable, JpaContextNode, JpaNode, JptResourceTypeReference, Model, ReadOnlyReferenceTable, ReadOnlyTable, ReferenceTable, Table
- All Known Subinterfaces:
- JavaCollectionTable2_0, JavaJoinTable
public interface JavaReferenceTable
- extends ReferenceTable, JavaTable
Java reference table
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.
- Since:
- 2.3
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyTable |
catalogIsResolved, getCatalog, getCatalogValidationTextRange, getDbCatalog, getDbSchema, getDbSchemaContainer, getDbTable, getDefaultCatalog, getDefaultName, getDefaultSchema, getName, getNameValidationTextRange, getSchema, getSchemaValidationTextRange, getSpecifiedCatalog, getSpecifiedName, getSpecifiedSchema, getUniqueConstraintsSize, isResolved, schemaIsResolved, validatesAgainstDatabase |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode |
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate |
getTableAnnotation
ReferenceTableAnnotation getTableAnnotation()
- Specified by:
getTableAnnotation in interface JavaTable
getJoinColumns
org.eclipse.jpt.common.utility.iterable.ListIterable<JavaJoinColumn> getJoinColumns()
- Description copied from interface:
ReadOnlyReferenceTable
- Return the reference table's join columns, whether specified or default.
- Specified by:
getJoinColumns in interface ReadOnlyReferenceTable- Specified by:
getJoinColumns in interface ReferenceTable
getSpecifiedJoinColumns
org.eclipse.jpt.common.utility.iterable.ListIterable<JavaJoinColumn> getSpecifiedJoinColumns()
- Description copied from interface:
ReadOnlyReferenceTable
- Return the reference table's specified join columns.
- Specified by:
getSpecifiedJoinColumns in interface ReadOnlyReferenceTable- Specified by:
getSpecifiedJoinColumns in interface ReferenceTable
getSpecifiedJoinColumn
JavaJoinColumn getSpecifiedJoinColumn(int index)
- Description copied from interface:
ReadOnlyReferenceTable
- Return the specified join column at the specified index.
- Specified by:
getSpecifiedJoinColumn in interface ReadOnlyReferenceTable- Specified by:
getSpecifiedJoinColumn in interface ReferenceTable
addSpecifiedJoinColumn
JavaJoinColumn addSpecifiedJoinColumn()
- Description copied from interface:
ReferenceTable
- Add and return a specified join column to the reference table.
- Specified by:
addSpecifiedJoinColumn in interface ReferenceTable
addSpecifiedJoinColumn
JavaJoinColumn addSpecifiedJoinColumn(int index)
- Description copied from interface:
ReferenceTable
- Add and return a specified join column to the reference table.
- Specified by:
addSpecifiedJoinColumn in interface ReferenceTable
getDefaultJoinColumn
JavaJoinColumn getDefaultJoinColumn()
- Description copied from interface:
ReadOnlyReferenceTable
- Return the default join column or
null.
A default join column only exists if there are no specified join columns.
- Specified by:
getDefaultJoinColumn in interface ReadOnlyReferenceTable- Specified by:
getDefaultJoinColumn in interface ReferenceTable
Copyright (c) 2012 Oracle. All rights reserved.