|
com.im.df.api 5.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DFRelationship
Represents a foreign key relationship. Relationship itself is not oriented, but contains two Directions which can be obtained using getForward/getReverse methods. Direction is given by two fields (it's always relations between two fields from different entities).
| Nested Class Summary | |
|---|---|
static interface |
DFRelationship.Direction
Direction - the oriented relationship. |
static class |
DFRelationship.Type
Type of the relationship. |
| Nested classes/interfaces inherited from interface com.im.df.api.ddl.DFItem |
|---|
DFItem.Handle<T extends DFItem> |
| Nested classes/interfaces inherited from interface com.im.df.api.support.PropertiesEditingConfigurable |
|---|
PropertiesEditingConfigurable.Extra |
| Field Summary |
|---|
| Fields inherited from interface com.im.df.api.ddl.DFItem |
|---|
PROP_CAPABILITIES, PROP_DESCRIPTION, PROP_ID, PROP_NAME, PROP_TYPE, PROP_VALID |
| Method Summary | |
|---|---|
DFRelationship.Direction |
getForward()
Returns the 'forward' direction of the relationship. |
DFItem.Handle<DFRelationship> |
getHandle()
Returns a handle to the Item. |
DFRelationship.Type |
getRelationshipType()
Returns type of the relationship |
DFRelationship.Direction |
getReverse()
Returns the 'reverse' direction of the relationship. |
| Methods inherited from interface com.im.df.api.ddl.DFItem |
|---|
addPropertyChangeListener, getCapabilities, getDescription, getId, getName, getType, isValid, removePropertyChangeListener, setDescription, setName |
| Methods inherited from interface com.im.df.api.support.PropertiesEditingConfigurable |
|---|
isPropertyEditable |
| Method Detail |
|---|
DFRelationship.Direction getForward()
DIFUtilities.findDirectionFromOrigin(DFRelationship, DFEntity) to find the Direction that
originates at a specific Entity.
DFRelationship.Direction getReverse()
DIFUtilities.findDirectionFromOrigin(DFRelationship, DFEntity) to find the Direction that
originates at a specific Entity.
DFRelationship.Type getRelationshipType()
DFItem.Handle<DFRelationship> getHandle()
DFItem
getHandle in interface DFItem
|
com.im.df.api 5.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||