org.objectweb.speedo.metadata
Class SpeedoJoin
java.lang.Object
org.objectweb.speedo.metadata.SpeedoElement
org.objectweb.speedo.metadata.SpeedoJoin
- All Implemented Interfaces:
- java.io.Serializable
public class SpeedoJoin
- extends SpeedoElement
Defines a join between a main table and an external table.
- Author:
- S.Chassande-Barrioz
- See Also:
SpeedoTable
,
SpeedoColumn
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
mainTable
public SpeedoTable mainTable
- main table
extTable
public SpeedoTable extTable
- external table
columns
public java.util.List columns
- The list of SpeedoJoinColumn composing the join. This columns are in the
external table.
ACTION_NONE
public static final byte ACTION_NONE
- See Also:
- Constant Field Values
ACTION_NULL
public static final byte ACTION_NULL
- See Also:
- Constant Field Values
ACTION_CASCADE
public static final byte ACTION_CASCADE
- See Also:
- Constant Field Values
ACTION_RESTRICT
public static final byte ACTION_RESTRICT
- See Also:
- Constant Field Values
ACTION_DEFAULT
public static final byte ACTION_DEFAULT
- See Also:
- Constant Field Values
deleteAction
public byte deleteAction
- Defines the action to do on the external table when a delete action
occurs in the main table.
SpeedoJoin
public SpeedoJoin()
setOuter
public void setOuter(boolean v)
getOuter
public boolean getOuter()
setIndexed
public void setIndexed(boolean v)
getIndexed
public boolean getIndexed()
- Returns:
- boolean value indicating if the join column are unique.
setUnique
public void setUnique(boolean v)
getUnique
public boolean getUnique()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object