org.eclipse.jpt.core.context
Interface AssociationOverride

All Superinterfaces:
BaseOverride, org.eclipse.core.runtime.IAdaptable, JpaContextNode, JpaNode, Model
All Known Subinterfaces:
JavaAssociationOverride, OrmAssociationOverride

public interface AssociationOverride
extends BaseOverride

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
static interface AssociationOverride.Owner
           
 
Field Summary
static java.lang.String DEFAULT_JOIN_COLUMNS_LIST
           
static java.lang.String SPECIFIED_JOIN_COLUMNS_LIST
           
 
Fields inherited from interface org.eclipse.jpt.core.context.BaseOverride
NAME_PROPERTY
 
Method Summary
 JoinColumn addSpecifiedJoinColumn(int index)
           
 boolean containsSpecifiedJoinColumns()
           
<T extends JoinColumn>
java.util.ListIterator<T>
defaultJoinColumns()
           
 int defaultJoinColumnsSize()
           
 AssociationOverride.Owner getOwner()
           
<T extends JoinColumn>
java.util.ListIterator<T>
joinColumns()
           
 int joinColumnsSize()
           
 void moveSpecifiedJoinColumn(int targetIndex, int sourceIndex)
           
 void removeSpecifiedJoinColumn(int index)
           
 AssociationOverride setVirtual(boolean virtual)
           
<T extends JoinColumn>
java.util.ListIterator<T>
specifiedJoinColumns()
           
 int specifiedJoinColumnsSize()
           
 
Methods inherited from interface org.eclipse.jpt.core.context.BaseOverride
getName, isVirtual, setName
 
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode
getEntityMappings, getOrmPersistentType, getPersistenceUnit
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent, getResource
 
Methods inherited from interface org.eclipse.jpt.utility.model.Model
addCollectionChangeListener, addCollectionChangeListener, addListChangeListener, addListChangeListener, addPropertyChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, addTreeChangeListener, removeCollectionChangeListener, removeCollectionChangeListener, removeListChangeListener, removeListChangeListener, removePropertyChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener, removeTreeChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

SPECIFIED_JOIN_COLUMNS_LIST

static final java.lang.String SPECIFIED_JOIN_COLUMNS_LIST
See Also:
Constant Field Values

DEFAULT_JOIN_COLUMNS_LIST

static final java.lang.String DEFAULT_JOIN_COLUMNS_LIST
See Also:
Constant Field Values
Method Detail

joinColumns

<T extends JoinColumn> java.util.ListIterator<T> joinColumns()

specifiedJoinColumns

<T extends JoinColumn> java.util.ListIterator<T> specifiedJoinColumns()

defaultJoinColumns

<T extends JoinColumn> java.util.ListIterator<T> defaultJoinColumns()

joinColumnsSize

int joinColumnsSize()

specifiedJoinColumnsSize

int specifiedJoinColumnsSize()

defaultJoinColumnsSize

int defaultJoinColumnsSize()

addSpecifiedJoinColumn

JoinColumn addSpecifiedJoinColumn(int index)

removeSpecifiedJoinColumn

void removeSpecifiedJoinColumn(int index)

moveSpecifiedJoinColumn

void moveSpecifiedJoinColumn(int targetIndex,
                             int sourceIndex)

containsSpecifiedJoinColumns

boolean containsSpecifiedJoinColumns()

getOwner

AssociationOverride.Owner getOwner()

setVirtual

AssociationOverride setVirtual(boolean virtual)
Specified by:
setVirtual in interface BaseOverride