Class CheckUtils
java.lang.Object
ch.tocco.nice2.model.entity.api.schema.checks.CheckUtils
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CheckEvent
checkDeleteRestricted
(MetaData.ForeignKeyInfo fkinfo, MetaData meta) static CheckEvent
compareFkPkTypes
(ColumnMetaData pkc, ColumnMetaData fkc) static <R> R
executeSql
(CheckData data, CheckUtils.SqlQuery<R> query) static int
executeSqlCount
(CheckData data, String sql) static Optional
<RelationModel> static boolean
isBaseType
(FieldCheckData data, String typename) static boolean
isManyToMany
(RelationModel model) static boolean
isNiceTable
(TableMetaData table) static boolean
isOneToMany
(RelationModel model) static boolean
static boolean
isType
(FieldModel field, String typename) static boolean
isType
(FieldCheckData field, String typename) static boolean
-
Method Details
-
compareFkPkTypes
-
checkDeleteRestricted
-
isManyToMany
-
isOneToMany
-
isType
-
isType
-
isBaseType
-
isTypeSupported
-
isSybase
-
isNiceTable
-
executeSqlCount
-
executeSql
-
findBusinessUnitRelation
-