Class DataStructureTableConstraintsModel
java.lang.Object
org.eclipse.dirigible.database.ds.model.DataStructureTableConstraintsModel
public class DataStructureTableConstraintsModel extends Object
The Data Structure Table Constraints Model.
-
Constructor Summary
Constructors Constructor Description DataStructureTableConstraintsModel() -
Method Summary
Modifier and Type Method Description List<DataStructureTableConstraintCheckModel>getChecks()Gets the checks.List<DataStructureTableConstraintForeignKeyModel>getForeignKeys()Gets the foreign keys.DataStructureTableConstraintPrimaryKeyModelgetPrimaryKey()Gets the primary key.List<DataStructureTableConstraintUniqueModel>getUniqueIndices()Gets the unique indices.voidsetPrimaryKey(DataStructureTableConstraintPrimaryKeyModel primaryKey)Sets the primary key.
-
Constructor Details
-
DataStructureTableConstraintsModel
public DataStructureTableConstraintsModel()
-
-
Method Details
-
getPrimaryKey
Gets the primary key.- Returns:
- the primary key
-
setPrimaryKey
Sets the primary key.- Parameters:
primaryKey- the new primary key
-
getForeignKeys
Gets the foreign keys.- Returns:
- the foreign keys
-
getUniqueIndices
Gets the unique indices.- Returns:
- the unique indices
-
getChecks
Gets the checks.- Returns:
- the checks
-