|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.data.TableJoinEnforced
public final class TableJoinEnforced
Defines the manner in which two tables are joined.
ITableJoin.setEnforceJoin(TableJoinEnforced)
Field Summary | |
---|---|
static int |
_both
Enforced both. |
static int |
_from
Enforced from. |
static int |
_notEnforced
Not enforced. |
static int |
_to
Enforced to. |
static TableJoinEnforced |
both
A TableJoinEnforced object that specifies option "Enforced Both". |
static TableJoinEnforced |
from
A TableJoinEnforced object that specifies option "Enforced From". |
static TableJoinEnforced |
notEnforced
A TableJoinEnforced object that specifies option "Not Enforced". |
static TableJoinEnforced |
to
A TableJoinEnforced object that specifies option "Enforced To". |
Method Summary | |
---|---|
static TableJoinEnforced |
from_int(int i)
Returns the TableJoinEnforced object corresponding to the specified int . |
static TableJoinEnforced |
from_string(java.lang.String type)
Returns the TableJoinEnforced object corresponding to the specified String . |
java.lang.String |
toString()
Returns the String value of this TableJoinEnforced object. |
int |
value()
Returns the int value of this TableJoinEnforced object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _notEnforced
The link is used only if it's explicitly required by the Select statement. You can create reports based on the selected tables without restriction (that is, without enforcement based on other tables).
public static final int _from
If the target table of the link is used, the link is enforced. For example, if you create a link from TableA to TableB using Enforce From and select only a field from TableB, the Select statement will still include the join to TableA because it is enforced. Conversely, selecting only from TableA with the same join condition will not cause the join to TableB to be enforced.
public static final int _to
If the source table for the link is used, the link is enforced. For example, if you create a link from TableA to TableB using Enforce To and select only a field from TableA, the join to TableB will be enforced, and the Select statement that is generated will include both tables.
public static final int _both
If the source table for the link is used, the link is enforced. For example, if you create a link from TableA to TableB using Enforce To and select only a field from TableA, the join to TableB will be enforced, and the Select statement that is generated will include both tables.
public static final TableJoinEnforced notEnforced
TableJoinEnforced
object that specifies option "Not Enforced".
The link is used only if it's explicitly required by the Select statement. You can create reports based on the selected tables without restriction (that is, without enforcement based on other tables).
public static final TableJoinEnforced from
TableJoinEnforced
object that specifies option "Enforced From".
If the target table of the link is used, the link is enforced. For example, if you create a link from TableA to TableB using Enforce From and select only a field from TableB, the Select statement will still include the join to TableA because it is enforced. Conversely, selecting only from TableA with the same join condition will not cause the join to TableB to be enforced.
public static final TableJoinEnforced to
TableJoinEnforced
object that specifies option "Enforced To".
If the source table for the link is used, the link is enforced. For example, if you create a link from TableA to TableB using Enforce To and select only a field from TableA, the join to TableB will be enforced, and the Select statement that is generated will include both tables.
public static final TableJoinEnforced both
TableJoinEnforced
object that specifies option "Enforced Both".
If the source table for the link is used, the link is enforced. For example, if you create a link from TableA to TableB using Enforce To and select only a field from TableA, the join to TableB will be enforced, and the Select statement that is generated will include both tables.
Method Detail |
---|
public static final TableJoinEnforced from_int(int i)
TableJoinEnforced
object corresponding to the specified int
.
i
- The int
value of the desired TableJoinEnforced
object.
TableJoinEnforced
object corresponding to the specified int
.public static final TableJoinEnforced from_string(java.lang.String type)
TableJoinEnforced
object corresponding to the specified String
.
type
- The String
value of the desired TableJoinEnforced
object.
TableJoinEnforced
object corresponding to the specified String
.public java.lang.String toString()
String
value of this TableJoinEnforced
object.
toString
in class java.lang.Object
String
value of this TableJoinEnforced
object.public int value()
int
value of this TableJoinEnforced
object.
int
value of this TableJoinEnforced
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |