|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OneToOneMapping
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 |
PRIMAY_KEY_JOIN_COLUMNS_LIST
|
Fields inherited from interface org.eclipse.jpt.core.context.SingleRelationshipMapping |
---|
DEFAULT_FETCH_TYPE, DEFAULT_JOIN_COLUMN, SPECIFIED_JOIN_COLUMNS_LIST |
Fields inherited from interface org.eclipse.jpt.core.context.RelationshipMapping |
---|
DEFAULT_TARGET_ENTITY_PROPERTY, RESOLVED_TARGET_ENTITY_PROPERTY, SPECIFIED_TARGET_ENTITY_PROPERTY |
Fields inherited from interface org.eclipse.jpt.core.context.Fetchable |
---|
DEFAULT_FETCH_PROPERTY, SPECIFIED_FETCH_PROPERTY |
Fields inherited from interface org.eclipse.jpt.core.context.Nullable |
---|
DEFAULT_OPTIONAL, DEFAULT_OPTIONAL_PROPERTY, SPECIFIED_OPTIONAL_PROPERTY |
Fields inherited from interface org.eclipse.jpt.core.context.NonOwningMapping |
---|
MAPPED_BY_PROPERTY |
Fields inherited from interface org.eclipse.jpt.core.context.RelationshipMapping |
---|
DEFAULT_TARGET_ENTITY_PROPERTY, RESOLVED_TARGET_ENTITY_PROPERTY, SPECIFIED_TARGET_ENTITY_PROPERTY |
Fields inherited from interface org.eclipse.jpt.core.context.Fetchable |
---|
DEFAULT_FETCH_PROPERTY, SPECIFIED_FETCH_PROPERTY |
Method Summary | ||
---|---|---|
PrimaryKeyJoinColumn |
addPrimaryKeyJoinColumn(int index)
Add a specified join column to the join table return the object representing it. |
|
boolean |
containsPrimaryKeyJoinColumns()
|
|
void |
movePrimaryKeyJoinColumn(int targetIndex,
int sourceIndex)
Move the specified join column from the source index to the target index. |
|
|
primaryKeyJoinColumns()
Return a list iterator of the primary key join columns. |
|
int |
primaryKeyJoinColumnsSize()
Return the number of join columns, both specified and default. |
|
void |
removePrimaryKeyJoinColumn(int index)
Remove the specified join column from the join table. |
|
void |
removePrimaryKeyJoinColumn(PrimaryKeyJoinColumn primaryKeyJoinColumn)
Remove the specified join column at the index from the join table. |
Methods inherited from interface org.eclipse.jpt.core.context.SingleRelationshipMapping |
---|
addSpecifiedJoinColumn, containsSpecifiedJoinColumns, getDefaultJoinColumn, joinColumns, joinColumnsSize, moveSpecifiedJoinColumn, removeSpecifiedJoinColumn, removeSpecifiedJoinColumn, specifiedJoinColumns, specifiedJoinColumnsSize |
Methods inherited from interface org.eclipse.jpt.core.context.RelationshipMapping |
---|
getCascade, getDefaultTargetEntity, getEntity, getResolvedTargetEntity, getSpecifiedTargetEntity, getTargetEntity, isRelationshipOwner, setSpecifiedTargetEntity, targetEntityIsValid |
Methods inherited from interface org.eclipse.jpt.core.context.Fetchable |
---|
getDefaultFetch, getFetch, getSpecifiedFetch, setSpecifiedFetch |
Methods inherited from interface org.eclipse.jpt.core.context.Nullable |
---|
getDefaultOptional, getOptional, getSpecifiedOptional, setSpecifiedOptional |
Methods inherited from interface org.eclipse.jpt.core.context.NonOwningMapping |
---|
candidateMappedByAttributeNames, getMappedBy, mappedByIsValid, setMappedBy |
Methods inherited from interface org.eclipse.jpt.core.context.RelationshipMapping |
---|
getCascade, getDefaultTargetEntity, getEntity, getResolvedTargetEntity, getSpecifiedTargetEntity, getTargetEntity, isRelationshipOwner, setSpecifiedTargetEntity, targetEntityIsValid |
Methods inherited from interface org.eclipse.jpt.core.context.Fetchable |
---|
getDefaultFetch, getFetch, getSpecifiedFetch, setSpecifiedFetch |
Field Detail |
---|
static final java.lang.String PRIMAY_KEY_JOIN_COLUMNS_LIST
Method Detail |
---|
<T extends PrimaryKeyJoinColumn> java.util.ListIterator<T> primaryKeyJoinColumns()
int primaryKeyJoinColumnsSize()
PrimaryKeyJoinColumn addPrimaryKeyJoinColumn(int index)
void removePrimaryKeyJoinColumn(int index)
void removePrimaryKeyJoinColumn(PrimaryKeyJoinColumn primaryKeyJoinColumn)
void movePrimaryKeyJoinColumn(int targetIndex, int sourceIndex)
boolean containsPrimaryKeyJoinColumns()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |