|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SQLJoin
A representation of the model object 'SQL Join'.
A join is a condition that links tables in the data foundation. The present release only supports SQL joins. See the Information Design Tool User Guide for more information about the types of SQL joins supported.
Use DataFoundationFactory.createSqlJoin(String, DataFoundation)
to instantiate a join.
The following features are supported:
Method Summary | |
---|---|
Cardinality |
getCardinality()
Returns the value of the 'Cardinality' attribute. |
java.lang.String |
getExpression()
Returns the value of the 'Expression' attribute. |
Table |
getLeftTable()
Returns the value of the 'Left Table' reference. |
OuterType |
getOuterType()
Returns the value of the 'Outer Type' attribute. |
Table |
getRightTable()
Returns the value of the 'Right Table' reference. |
boolean |
isShortcut()
Returns the value of the 'Shortcut' attribute. |
void |
setCardinality(Cardinality value)
Sets the value of the ' Cardinality ' attribute. |
void |
setExpression(java.lang.String value)
Sets the value of the ' Expression ' attribute. |
void |
setOuterType(OuterType value)
Sets the value of the ' Outer Type ' attribute. |
void |
setShortcut(boolean value)
Sets the value of the ' Shortcut ' attribute. |
Methods inherited from interface com.sap.sl.sdk.authoring.commons.Identifiable |
---|
getIdentifier |
Methods inherited from interface com.sap.sl.sdk.authoring.commons.Inheritable |
---|
getInheritedData |
Method Detail |
---|
boolean isShortcut()
Tells if this is a shortcut join. A shortcut join is a join that provides an alternative path between two tables.
setShortcut(boolean)
void setShortcut(boolean value)
Shortcut
' attribute.
The join is a shortcut join if value
is true
.
value
- the new value of the 'Shortcut' attribute.isShortcut()
java.lang.String getExpression()
Based on the columns and operators selected, an SQL expression is automatically generated to define the join.
setExpression(String)
void setExpression(java.lang.String value)
Expression
' attribute.
This is the SQL expression that defines the join.
value
- the new value of the 'Expression' attribute.getExpression()
Cardinality getCardinality()
Cardinality
.
Cardinality
,
setCardinality(Cardinality)
void setCardinality(Cardinality value)
Cardinality
' attribute.
value
- the new value of the 'Cardinality' attribute.Cardinality
,
getCardinality()
OuterType getOuterType()
"OUTER_NONE"
.
The literals are from the enumeration OuterType
.
This is the type of outer join.
OuterType
,
setOuterType(OuterType)
void setOuterType(OuterType value)
Outer Type
' attribute.
This is the type of outer join.
value
- the new value of the 'Outer Type' attribute.OuterType
,
getOuterType()
Table getLeftTable()
getCardinality()
to determine the direction of the join.
setExpression(String)
does not modify the value. It is only modified with updated value at data foundation load and at SQL join creation.
Table getRightTable()
getCardinality()
to determine the direction of the join.
setExpression(String)
does not modify the value. It is only modified with updated value at data foundation load and at SQL join creation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |