|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IOneToManyRelation
This interface represents a 1:N relation.
| Method Summary | |
|---|---|
IKey |
getFromPrimaryKey()
Returns the primary key of this relation, i.e. the primary key of the from table alias. |
IKey |
getToForeignKey()
Returns the foreign key of this relation, i.e. the correspondng foreign key of the to table alias. |
boolean |
isMandatory()
Checks whether this relation is mandatory on the one side, i.e. each entry of the foreign table must be related to an entry of the primary table. |
| Methods inherited from interface de.tif.jacob.core.definition.IRelation |
|---|
getFromTableAlias, getToTableAlias |
| Methods inherited from interface de.tif.jacob.core.definition.INamedObjectDefinition |
|---|
getDescription, getName, getProperty |
| Method Detail |
|---|
IKey getFromPrimaryKey()
IKey getToForeignKey()
boolean isMandatory()
true if this relation is mandatory, otherwise
false in case of an optional relation.
|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||