org.eclipse.jpt.jpa.core.context.orm
Interface OrmReferenceTable
- All Superinterfaces:
- IAdaptable, JpaContextNode, JpaNode, JptResourceTypeReference, Model, OrmTable, ReadOnlyReferenceTable, ReadOnlyTable, ReferenceTable, Table
- All Known Subinterfaces:
- OrmCollectionTable2_0, OrmJoinTable
public interface OrmReferenceTable
- extends ReferenceTable, OrmTable
orm.xml join table or collection 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 |
getJoinColumns
org.eclipse.jpt.common.utility.iterable.ListIterable<OrmJoinColumn> 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<OrmJoinColumn> 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
OrmJoinColumn 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
OrmJoinColumn addSpecifiedJoinColumn()
- Description copied from interface:
ReferenceTable
- Add and return a specified join column to the reference table.
- Specified by:
addSpecifiedJoinColumn in interface ReferenceTable
addSpecifiedJoinColumn
OrmJoinColumn 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
OrmJoinColumn 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.