public class Relationship extends Object
Constructor and Description |
---|
Relationship(List<IProperty> primaryProperties,
List<IProperty> foreignProperties) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsPropertyPair(IProperty pkProperty,
IProperty fkProperty)
Determines whether this relationship contains a specific pair of properties
|
IDataModel |
getForeignDataModel()
Gets the datamodule of the foreign key property(s).
|
List<IProperty> |
getForeignProperties()
Gets the foreign key properties of this relationship.
|
IDataModel |
getPrimaryDataModel()
Gets the datamodule of the primary key property(s).
|
List<IProperty> |
getPrimaryProperties()
Gets the primary key properties of this relationship.
|
public IDataModel getPrimaryDataModel()
public List<IProperty> getPrimaryProperties()
public IDataModel getForeignDataModel()
public List<IProperty> getForeignProperties()
public boolean containsPropertyPair(IProperty pkProperty, IProperty fkProperty)
pkProperty
- primary key propertyfkProperty
- foreign key propertyCopyright © 1982–2022 Adobe Systems Inc.. All rights reserved.