public class DbRelationshipTarget extends CayenneController
| Modifier and Type | Field and Description |
|---|---|
protected ProjectController |
mediator |
protected DbEntity |
relTarget |
protected List<DbEntity> |
relTargets |
protected boolean |
savePressed |
protected DbEntity |
source |
protected boolean |
source1Selected |
protected boolean |
toMany |
protected DbRelationshipTargetView |
view |
application, parent, propertyChangeSupport| Constructor and Description |
|---|
DbRelationshipTarget(ProjectController mediator,
DbEntity source1,
DbEntity source2) |
| Modifier and Type | Method and Description |
|---|---|
DbEntity |
getSource() |
DbEntity |
getTarget() |
List<DbEntity> |
getTargets() |
Component |
getView()
Returns the vie wassociated with this Controller.
|
boolean |
isSource1Selected() |
boolean |
isToMany() |
protected void |
save() |
void |
setSource(DbEntity source,
boolean source1) |
void |
setTarget(DbEntity newRelTarget) |
void |
startupAction()
Creates and runs the dialog.
|
addPropertyChangeListener, bindingUpdated, centerView, firePropertyChange, getApplication, getFrame, getLastDirectory, getParent, getViewPreferences, getWindow, makeCloseableOnEscape, reportErrorprotected DbEntity relTarget
protected DbEntity source
protected ProjectController mediator
protected boolean source1Selected
protected DbRelationshipTargetView view
protected boolean toMany
protected boolean savePressed
public DbRelationshipTarget(ProjectController mediator, DbEntity source1, DbEntity source2)
public Component getView()
CayenneControllergetView in interface BoundComponentgetView in class CayenneControllerprotected void save()
public void startupAction()
public DbEntity getTarget()
public void setTarget(DbEntity newRelTarget)
public boolean isSource1Selected()
public DbEntity getSource()
public void setSource(DbEntity source, boolean source1)
public boolean isToMany()
Copyright © 2001–2015 Apache Cayenne. All rights reserved.