com.ibm.websphere.sdo.mediator.jdbc.metadata
Interface Relationship
- public interface Relationship
Method Summary
Modifier and Type | Method and Description |
---|---|
getChildKey()
Get the Key from the child side of the Relationship
|
|
|
getName()
Get the name of the Relationship
|
|
getOppositeName()
Get the name of the Relationship from the child side
|
getParentKey()
Get the Key from the parent side of the Relationship
|
|
|
isExclusive()
Returns the value of the Is Exclusive attribute
|
|
setChildKey(Key value)
Sets the value of the '
Child Key ' reference
|
|
setExclusive(boolean value)
Sets the value of the '
Exclusive ' attribute
|
|
setName(java.lang.String value)
Sets the value of the '
Name ' attribute
|
|
setOppositeName(java.lang.String value)
Sets the value of the '
Opposite Name ' attribute
|
|
setParentKey(Key value)
Sets the value of the '
Parent Key ' reference
|
Method Detail
getChildKey
- Key getChildKey()
Get the Key from the child side of the Relationship
Returns:
the key
setChildKey
- void setChildKey(Key value)
Sets the value of the '
Child Key
' reference.
getParentKey
- Key getParentKey()
Get the Key from the parent side of the Relationship
Returns:
the key
setParentKey
- void setParentKey(Key value)
Sets the value of the '
Parent Key
' reference.
getName
- java.lang.String getName()
Get the name of the Relationship.
If the value of the Name attribute is not
specified, the name defaults to the parent table name and child name seperated
by "_". For example, "CUSTOMERS_ORDERS".
Returns:
the name
setName
- void setName(java.lang.String value)
Sets the value of the '
Name
' attribute.
getOppositeName
- java.lang.String getOppositeName( )
Get the name of the Relationship from the child side.
If the value of the Opposite Name attribute is not specified, it defaults
to the child table name and parent table name seperated by "_". For example,
"ORDERS_CUSTOMERS".
Returns:
the name
setOppositeName
- void setOppositeName(java.lang.String value)
Sets the value of the '
Opposite Name
' attribute.
isExclusive
- boolean isExclusive()
Returns the value of the Is Exclusive attribute.
If the value is true, queries
generated from this Relationship will use an inner join. If the value is false, a
left outer join will be used. The default value is true.
Returns:
the value of the Is Exclusive attribute
setExclusive
- void setExclusive(boolean value)
Sets the value of the '
Exclusive
' attribute.