Interface ForeignKeyDomainType
-
- All Superinterfaces:
DomainType
- All Known Implementing Classes:
BaseForeignKeyDomainType
,OneToManyDomainType
,SearchDomainType
,SelectorDomainType
,TableDirDomainType
,TableDomainType
,TreeDomainType
public interface ForeignKeyDomainType extends DomainType
The ModelReference implements the reference extensions used for the Data Access Layer. See here for more information.- Author:
- mtaal
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Column
getForeignKeyColumn(String columnName)
The foreign key column to which a certain column refers.-
Methods inherited from interface org.openbravo.base.model.domaintype.DomainType
checkIsValidValue, checkObjectIsValid, getModelProvider, getReference, initialize, setModelProvider, setReference
-
-
-
-
Method Detail
-
getForeignKeyColumn
Column getForeignKeyColumn(String columnName)
The foreign key column to which a certain column refers. Is only relevant if this reference is a foreign key.- Parameters:
columnName
- the refering foreign key column- Returns:
- the refered-to column, often the primary key column of the table.
-
-