diff --git a/.env b/.env index 08e1ce9..12a06be 100644 --- a/.env +++ b/.env @@ -1,2 +1,2 @@ BASEROW_TOKEN="TFxO7vzBLVRCu9I3VMoHmTuCvSu8aCDi" -BASEROW_IDS='{"massnahmen": 328253, "massnahmenkombination": 328217, "organismen": 328255, "foerderprogramme": 328256, "factsheet": 328273, "standortansprueche": 328188, "referenzumsetzung": 328465, "betriebsverzeichnis": 328472, "erfahrungsbericht": 330802, "genehmigungspflicht": 330806, "dienstleister": 330824, "ansprechperson": 330832, "material": 330836, "quellen": 334231, "baumarten": 342622, "aenderungfactsheet": 330946}' \ No newline at end of file +BASEROW_IDS='{"measure": 328253, "measure_combination": 328217, "organism": 328255, "funding_program": 328256, "factsheet": 328273, "standortansprueche": 328188, "referenzumsetzung": 328465, "betriebsverzeichnis": 328472, "erfahrungsbericht": 330802, "genehmigungspflicht": 330806, "dienstleister": 330824, "ansprechperson": 330832, "material": 330836, "quellen": 334231, "baumarten": 342622, "aenderungfactsheet": 330946}' \ No newline at end of file diff --git a/lib/main.dart b/lib/main.dart index ed19b89..31dbc0c 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1,5 +1,5 @@ -import 'package:ambito/src/domain/entity/baumarten/baumarten.dart'; -import 'package:ambito/src/domain/entity/massnahme/massnahme.dart'; +import 'package:ambito/src/domain/entity/entities.dart'; +import 'package:ambito/src/domain/entity/funding_program/funding_program.dart'; import 'package:ambito/src/packages/ambito_api/base.dart'; import 'package:ambito/src/pages/loading/loading_page.dart'; import 'package:flutter/foundation.dart'; @@ -27,7 +27,13 @@ void main() async { const dir = Isar.sqliteInMemory; const engine = kIsWeb ? IsarEngine.sqlite : IsarEngine.isar; isar = Isar.open( - schemas: [BaumartenSchema, MassnahmeSchema], + schemas: [ + BaumartenSchema, + FundingProgramSchema, + MeasureSchema, + MeasureCombinationSchema, + OrganismSchema + ], directory: dir, engine: engine, inspector: true, @@ -35,7 +41,10 @@ void main() async { await Future.wait([ BaseApi().getContent('baumarten'), - BaseApi().getContent('massnahmen'), + BaseApi().getContent('measure'), + BaseApi().getContent('measure_combination'), + BaseApi().getContent('organism'), + BaseApi().getContent('funding_program'), ]); runApp(const Ambito()); diff --git a/lib/src/domain/entity/base_entity.dart b/lib/src/domain/entity/base_entity.dart index 23fd37e..2d9836d 100644 --- a/lib/src/domain/entity/base_entity.dart +++ b/lib/src/domain/entity/base_entity.dart @@ -1,5 +1,15 @@ +import 'package:isar/isar.dart'; +import 'package:json_annotation/json_annotation.dart'; + class BaseEntity {} mixin EntityWithId { late int id; } + +mixin EntityWithIdAndName { + late int id; + @JsonKey(name: 'Name') + @Index(unique: true, hash: true) + String? name; +} diff --git a/lib/src/domain/entity/baumarten/baumarten.dart b/lib/src/domain/entity/baumarten/baumarten.dart index 43aa0b3..cd32960 100644 --- a/lib/src/domain/entity/baumarten/baumarten.dart +++ b/lib/src/domain/entity/baumarten/baumarten.dart @@ -1,10 +1,7 @@ -import 'package:ambito/src/domain/entity/id_value/id_value.dart'; -import 'package:ambito/src/domain/entity/id_value_color/id_value_color.dart'; +import 'package:ambito/src/domain/entity/entities.dart'; import 'package:isar/isar.dart'; import 'package:json_annotation/json_annotation.dart'; -import '../base_entity.dart'; - part 'baumarten.g.dart'; @JsonSerializable(explicitToJson: true) diff --git a/lib/src/domain/entity/entities.dart b/lib/src/domain/entity/entities.dart index cc84801..7665ab6 100644 --- a/lib/src/domain/entity/entities.dart +++ b/lib/src/domain/entity/entities.dart @@ -2,10 +2,13 @@ library ambito_entities; export 'base_entity.dart'; export 'baumarten/baumarten.dart'; -export 'file/file_part.dart'; -export 'file/thumbnail.dart'; -export 'file/thumbnails.dart'; -export 'id_value/id_value.dart'; -export 'id_value_color/id_value_color.dart'; -export 'id_value_mix/id_value_mix.dart'; -export 'massnahme/massnahme.dart'; +export 'general/file/file_part.dart'; +export 'general/file/thumbnail.dart'; +export 'general/file/thumbnails.dart'; +export 'general/id_value/id_value.dart'; +export 'general/id_value_color/id_value_color.dart'; +export 'general/id_value_mix/id_value_mix.dart'; +export 'general/month/month.dart'; +export 'measure/measure.dart'; +export 'measure_combination/measure_combination.dart'; +export 'organism/organism.dart'; diff --git a/lib/src/domain/entity/funding_program/funding_program.dart b/lib/src/domain/entity/funding_program/funding_program.dart new file mode 100644 index 0000000..51e52d5 --- /dev/null +++ b/lib/src/domain/entity/funding_program/funding_program.dart @@ -0,0 +1,29 @@ +import 'package:ambito/src/domain/entity/entities.dart'; +import 'package:isar/isar.dart'; +import 'package:json_annotation/json_annotation.dart'; + +part 'funding_program.g.dart'; + +@JsonSerializable(explicitToJson: true) +@collection +class FundingProgram extends BaseEntity with EntityWithIdAndName { + FundingProgram(); + + @JsonKey(name: 'Maßnahmen_Main') + List? measures; + @JsonKey(name: 'Höhe der Förderung') + String? fundingAmount; + @JsonKey(name: 'Berechnungsgrundlage') + IdValueColor? calculationBase; + @JsonKey(name: 'Förderfrequenz') + IdValueColor? fundingFrequency; + @JsonKey(name: 'De-Minimis-Pflichtig') + bool? deminimis; + @JsonKey(name: 'Region/Bundesland') + List? regions; + + factory FundingProgram.fromJson(Map json) => + _$FundingProgramFromJson(json); + + Map toJson() => _$FundingProgramToJson(this); +} diff --git a/lib/src/domain/entity/funding_program/funding_program.g.dart b/lib/src/domain/entity/funding_program/funding_program.g.dart new file mode 100644 index 0000000..cd73f3b --- /dev/null +++ b/lib/src/domain/entity/funding_program/funding_program.g.dart @@ -0,0 +1,1312 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'funding_program.dart'; + +// ************************************************************************** +// _IsarCollectionGenerator +// ************************************************************************** + +// coverage:ignore-file +// ignore_for_file: duplicate_ignore, invalid_use_of_protected_member, lines_longer_than_80_chars, constant_identifier_names, avoid_js_rounded_ints, no_leading_underscores_for_local_identifiers, require_trailing_commas, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_in_if_null_operators, library_private_types_in_public_api, prefer_const_constructors +// ignore_for_file: type=lint + +extension GetFundingProgramCollection on Isar { + IsarCollection get fundingPrograms => this.collection(); +} + +const FundingProgramSchema = IsarGeneratedSchema( + schema: IsarSchema( + name: 'FundingProgram', + idName: 'id', + embedded: false, + properties: [ + IsarPropertySchema( + name: 'measures', + type: IsarType.objectList, + target: 'IdValue', + ), + IsarPropertySchema( + name: 'fundingAmount', + type: IsarType.string, + ), + IsarPropertySchema( + name: 'calculationBase', + type: IsarType.string, + ), + IsarPropertySchema( + name: 'name', + type: IsarType.string, + ), + ], + indexes: [ + IsarIndexSchema( + name: 'name', + properties: [ + "name", + ], + unique: true, + hash: true, + ), + ], + ), + converter: IsarObjectConverter( + serialize: serializeFundingProgram, + deserialize: deserializeFundingProgram, + deserializeProperty: deserializeFundingProgramProp, + ), + embeddedSchemas: [IdValueSchema], +); + +@isarProtected +int serializeFundingProgram(IsarWriter writer, FundingProgram object) { + { + final list = object.measures; + if (list == null) { + IsarCore.writeNull(writer, 1); + } else { + final listWriter = IsarCore.beginList(writer, 1, list.length); + for (var i = 0; i < list.length; i++) { + { + final value = list[i]; + final objectWriter = IsarCore.beginObject(listWriter, i); + serializeIdValue(objectWriter, value); + IsarCore.endObject(listWriter, objectWriter); + } + } + IsarCore.endList(writer, listWriter); + } + } + { + final value = object.fundingAmount; + if (value == null) { + IsarCore.writeNull(writer, 2); + } else { + IsarCore.writeString(writer, 2, value); + } + } + { + final value = object.calculationBase; + if (value == null) { + IsarCore.writeNull(writer, 3); + } else { + IsarCore.writeString(writer, 3, value); + } + } + { + final value = object.name; + if (value == null) { + IsarCore.writeNull(writer, 4); + } else { + IsarCore.writeString(writer, 4, value); + } + } + return object.id; +} + +@isarProtected +FundingProgram deserializeFundingProgram(IsarReader reader) { + final object = FundingProgram(); + { + final length = IsarCore.readList(reader, 1, IsarCore.readerPtrPtr); + { + final reader = IsarCore.readerPtr; + if (reader.isNull) { + object.measures = null; + } else { + final list = List.filled(length, IdValue(), growable: true); + for (var i = 0; i < length; i++) { + { + final objectReader = IsarCore.readObject(reader, i); + if (objectReader.isNull) { + list[i] = IdValue(); + } else { + final embedded = deserializeIdValue(objectReader); + IsarCore.freeReader(objectReader); + list[i] = embedded; + } + } + } + IsarCore.freeReader(reader); + object.measures = list; + } + } + } + object.fundingAmount = IsarCore.readString(reader, 2); + object.calculationBase = IsarCore.readString(reader, 3); + object.id = IsarCore.readId(reader); + object.name = IsarCore.readString(reader, 4); + return object; +} + +@isarProtected +dynamic deserializeFundingProgramProp(IsarReader reader, int property) { + switch (property) { + case 1: + { + final length = IsarCore.readList(reader, 1, IsarCore.readerPtrPtr); + { + final reader = IsarCore.readerPtr; + if (reader.isNull) { + return null; + } else { + final list = + List.filled(length, IdValue(), growable: true); + for (var i = 0; i < length; i++) { + { + final objectReader = IsarCore.readObject(reader, i); + if (objectReader.isNull) { + list[i] = IdValue(); + } else { + final embedded = deserializeIdValue(objectReader); + IsarCore.freeReader(objectReader); + list[i] = embedded; + } + } + } + IsarCore.freeReader(reader); + return list; + } + } + } + case 2: + return IsarCore.readString(reader, 2); + case 3: + return IsarCore.readString(reader, 3); + case 0: + return IsarCore.readId(reader); + case 4: + return IsarCore.readString(reader, 4); + default: + throw ArgumentError('Unknown property: $property'); + } +} + +sealed class _FundingProgramUpdate { + bool call({ + required int id, + String? fundingAmount, + String? calculationBase, + String? name, + }); +} + +class _FundingProgramUpdateImpl implements _FundingProgramUpdate { + const _FundingProgramUpdateImpl(this.collection); + + final IsarCollection collection; + + @override + bool call({ + required int id, + Object? fundingAmount = ignore, + Object? calculationBase = ignore, + Object? name = ignore, + }) { + return collection.updateProperties([ + id + ], { + if (fundingAmount != ignore) 2: fundingAmount as String?, + if (calculationBase != ignore) 3: calculationBase as String?, + if (name != ignore) 4: name as String?, + }) > + 0; + } +} + +sealed class _FundingProgramUpdateAll { + int call({ + required List id, + String? fundingAmount, + String? calculationBase, + String? name, + }); +} + +class _FundingProgramUpdateAllImpl implements _FundingProgramUpdateAll { + const _FundingProgramUpdateAllImpl(this.collection); + + final IsarCollection collection; + + @override + int call({ + required List id, + Object? fundingAmount = ignore, + Object? calculationBase = ignore, + Object? name = ignore, + }) { + return collection.updateProperties(id, { + if (fundingAmount != ignore) 2: fundingAmount as String?, + if (calculationBase != ignore) 3: calculationBase as String?, + if (name != ignore) 4: name as String?, + }); + } +} + +extension FundingProgramUpdate on IsarCollection { + _FundingProgramUpdate get update => _FundingProgramUpdateImpl(this); + + _FundingProgramUpdateAll get updateAll => _FundingProgramUpdateAllImpl(this); +} + +sealed class _FundingProgramQueryUpdate { + int call({ + String? fundingAmount, + String? calculationBase, + String? name, + }); +} + +class _FundingProgramQueryUpdateImpl implements _FundingProgramQueryUpdate { + const _FundingProgramQueryUpdateImpl(this.query, {this.limit}); + + final IsarQuery query; + final int? limit; + + @override + int call({ + Object? fundingAmount = ignore, + Object? calculationBase = ignore, + Object? name = ignore, + }) { + return query.updateProperties(limit: limit, { + if (fundingAmount != ignore) 2: fundingAmount as String?, + if (calculationBase != ignore) 3: calculationBase as String?, + if (name != ignore) 4: name as String?, + }); + } +} + +extension FundingProgramQueryUpdate on IsarQuery { + _FundingProgramQueryUpdate get updateFirst => + _FundingProgramQueryUpdateImpl(this, limit: 1); + + _FundingProgramQueryUpdate get updateAll => + _FundingProgramQueryUpdateImpl(this); +} + +class _FundingProgramQueryBuilderUpdateImpl + implements _FundingProgramQueryUpdate { + const _FundingProgramQueryBuilderUpdateImpl(this.query, {this.limit}); + + final QueryBuilder query; + final int? limit; + + @override + int call({ + Object? fundingAmount = ignore, + Object? calculationBase = ignore, + Object? name = ignore, + }) { + final q = query.build(); + try { + return q.updateProperties(limit: limit, { + if (fundingAmount != ignore) 2: fundingAmount as String?, + if (calculationBase != ignore) 3: calculationBase as String?, + if (name != ignore) 4: name as String?, + }); + } finally { + q.close(); + } + } +} + +extension FundingProgramQueryBuilderUpdate + on QueryBuilder { + _FundingProgramQueryUpdate get updateFirst => + _FundingProgramQueryBuilderUpdateImpl(this, limit: 1); + + _FundingProgramQueryUpdate get updateAll => + _FundingProgramQueryBuilderUpdateImpl(this); +} + +extension FundingProgramQueryFilter + on QueryBuilder { + QueryBuilder + measuresIsNull() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition(const IsNullCondition(property: 1)); + }); + } + + QueryBuilder + measuresIsNotNull() { + return QueryBuilder.apply(not(), (query) { + return query.addFilterCondition(const IsNullCondition(property: 1)); + }); + } + + QueryBuilder + measuresIsEmpty() { + return not().group( + (q) => q.measuresIsNull().or().measuresIsNotEmpty(), + ); + } + + QueryBuilder + measuresIsNotEmpty() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + const GreaterOrEqualCondition(property: 1, value: null), + ); + }); + } + + QueryBuilder + fundingAmountIsNull() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition(const IsNullCondition(property: 2)); + }); + } + + QueryBuilder + fundingAmountIsNotNull() { + return QueryBuilder.apply(not(), (query) { + return query.addFilterCondition(const IsNullCondition(property: 2)); + }); + } + + QueryBuilder + fundingAmountEqualTo( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + EqualCondition( + property: 2, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + fundingAmountGreaterThan( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + GreaterCondition( + property: 2, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + fundingAmountGreaterThanOrEqualTo( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + GreaterOrEqualCondition( + property: 2, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + fundingAmountLessThan( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + LessCondition( + property: 2, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + fundingAmountLessThanOrEqualTo( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + LessOrEqualCondition( + property: 2, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + fundingAmountBetween( + String? lower, + String? upper, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + BetweenCondition( + property: 2, + lower: lower, + upper: upper, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + fundingAmountStartsWith( + String value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + StartsWithCondition( + property: 2, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + fundingAmountEndsWith( + String value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + EndsWithCondition( + property: 2, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + fundingAmountContains(String value, {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + ContainsCondition( + property: 2, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + fundingAmountMatches(String pattern, {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + MatchesCondition( + property: 2, + wildcard: pattern, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + fundingAmountIsEmpty() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + const EqualCondition( + property: 2, + value: '', + ), + ); + }); + } + + QueryBuilder + fundingAmountIsNotEmpty() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + const GreaterCondition( + property: 2, + value: '', + ), + ); + }); + } + + QueryBuilder + calculationBaseIsNull() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition(const IsNullCondition(property: 3)); + }); + } + + QueryBuilder + calculationBaseIsNotNull() { + return QueryBuilder.apply(not(), (query) { + return query.addFilterCondition(const IsNullCondition(property: 3)); + }); + } + + QueryBuilder + calculationBaseEqualTo( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + EqualCondition( + property: 3, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + calculationBaseGreaterThan( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + GreaterCondition( + property: 3, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + calculationBaseGreaterThanOrEqualTo( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + GreaterOrEqualCondition( + property: 3, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + calculationBaseLessThan( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + LessCondition( + property: 3, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + calculationBaseLessThanOrEqualTo( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + LessOrEqualCondition( + property: 3, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + calculationBaseBetween( + String? lower, + String? upper, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + BetweenCondition( + property: 3, + lower: lower, + upper: upper, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + calculationBaseStartsWith( + String value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + StartsWithCondition( + property: 3, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + calculationBaseEndsWith( + String value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + EndsWithCondition( + property: 3, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + calculationBaseContains(String value, {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + ContainsCondition( + property: 3, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + calculationBaseMatches(String pattern, {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + MatchesCondition( + property: 3, + wildcard: pattern, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + calculationBaseIsEmpty() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + const EqualCondition( + property: 3, + value: '', + ), + ); + }); + } + + QueryBuilder + calculationBaseIsNotEmpty() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + const GreaterCondition( + property: 3, + value: '', + ), + ); + }); + } + + QueryBuilder idEqualTo( + int value, + ) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + EqualCondition( + property: 0, + value: value, + ), + ); + }); + } + + QueryBuilder + idGreaterThan( + int value, + ) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + GreaterCondition( + property: 0, + value: value, + ), + ); + }); + } + + QueryBuilder + idGreaterThanOrEqualTo( + int value, + ) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + GreaterOrEqualCondition( + property: 0, + value: value, + ), + ); + }); + } + + QueryBuilder + idLessThan( + int value, + ) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + LessCondition( + property: 0, + value: value, + ), + ); + }); + } + + QueryBuilder + idLessThanOrEqualTo( + int value, + ) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + LessOrEqualCondition( + property: 0, + value: value, + ), + ); + }); + } + + QueryBuilder idBetween( + int lower, + int upper, + ) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + BetweenCondition( + property: 0, + lower: lower, + upper: upper, + ), + ); + }); + } + + QueryBuilder + nameIsNull() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition(const IsNullCondition(property: 4)); + }); + } + + QueryBuilder + nameIsNotNull() { + return QueryBuilder.apply(not(), (query) { + return query.addFilterCondition(const IsNullCondition(property: 4)); + }); + } + + QueryBuilder + nameEqualTo( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + EqualCondition( + property: 4, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameGreaterThan( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + GreaterCondition( + property: 4, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameGreaterThanOrEqualTo( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + GreaterOrEqualCondition( + property: 4, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameLessThan( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + LessCondition( + property: 4, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameLessThanOrEqualTo( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + LessOrEqualCondition( + property: 4, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameBetween( + String? lower, + String? upper, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + BetweenCondition( + property: 4, + lower: lower, + upper: upper, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameStartsWith( + String value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + StartsWithCondition( + property: 4, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameEndsWith( + String value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + EndsWithCondition( + property: 4, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameContains(String value, {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + ContainsCondition( + property: 4, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameMatches(String pattern, {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + MatchesCondition( + property: 4, + wildcard: pattern, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameIsEmpty() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + const EqualCondition( + property: 4, + value: '', + ), + ); + }); + } + + QueryBuilder + nameIsNotEmpty() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + const GreaterCondition( + property: 4, + value: '', + ), + ); + }); + } +} + +extension FundingProgramQueryObject + on QueryBuilder {} + +extension FundingProgramQuerySortBy + on QueryBuilder { + QueryBuilder + sortByFundingAmount({bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy( + 2, + caseSensitive: caseSensitive, + ); + }); + } + + QueryBuilder + sortByFundingAmountDesc({bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy( + 2, + sort: Sort.desc, + caseSensitive: caseSensitive, + ); + }); + } + + QueryBuilder + sortByCalculationBase({bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy( + 3, + caseSensitive: caseSensitive, + ); + }); + } + + QueryBuilder + sortByCalculationBaseDesc({bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy( + 3, + sort: Sort.desc, + caseSensitive: caseSensitive, + ); + }); + } + + QueryBuilder sortById() { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(0); + }); + } + + QueryBuilder sortByIdDesc() { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(0, sort: Sort.desc); + }); + } + + QueryBuilder sortByName( + {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy( + 4, + caseSensitive: caseSensitive, + ); + }); + } + + QueryBuilder sortByNameDesc( + {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy( + 4, + sort: Sort.desc, + caseSensitive: caseSensitive, + ); + }); + } +} + +extension FundingProgramQuerySortThenBy + on QueryBuilder { + QueryBuilder + thenByFundingAmount({bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(2, caseSensitive: caseSensitive); + }); + } + + QueryBuilder + thenByFundingAmountDesc({bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(2, sort: Sort.desc, caseSensitive: caseSensitive); + }); + } + + QueryBuilder + thenByCalculationBase({bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(3, caseSensitive: caseSensitive); + }); + } + + QueryBuilder + thenByCalculationBaseDesc({bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(3, sort: Sort.desc, caseSensitive: caseSensitive); + }); + } + + QueryBuilder thenById() { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(0); + }); + } + + QueryBuilder thenByIdDesc() { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(0, sort: Sort.desc); + }); + } + + QueryBuilder thenByName( + {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(4, caseSensitive: caseSensitive); + }); + } + + QueryBuilder thenByNameDesc( + {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(4, sort: Sort.desc, caseSensitive: caseSensitive); + }); + } +} + +extension FundingProgramQueryWhereDistinct + on QueryBuilder { + QueryBuilder + distinctByFundingAmount({bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addDistinctBy(2, caseSensitive: caseSensitive); + }); + } + + QueryBuilder + distinctByCalculationBase({bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addDistinctBy(3, caseSensitive: caseSensitive); + }); + } + + QueryBuilder distinctByName( + {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addDistinctBy(4, caseSensitive: caseSensitive); + }); + } +} + +extension FundingProgramQueryProperty1 + on QueryBuilder { + QueryBuilder?, QAfterProperty> + measuresProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(1); + }); + } + + QueryBuilder + fundingAmountProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(2); + }); + } + + QueryBuilder + calculationBaseProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(3); + }); + } + + QueryBuilder idProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(0); + }); + } + + QueryBuilder nameProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(4); + }); + } +} + +extension FundingProgramQueryProperty2 + on QueryBuilder { + QueryBuilder?), QAfterProperty> + measuresProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(1); + }); + } + + QueryBuilder + fundingAmountProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(2); + }); + } + + QueryBuilder + calculationBaseProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(3); + }); + } + + QueryBuilder idProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(0); + }); + } + + QueryBuilder nameProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(4); + }); + } +} + +extension FundingProgramQueryProperty3 + on QueryBuilder { + QueryBuilder?), QOperations> + measuresProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(1); + }); + } + + QueryBuilder + fundingAmountProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(2); + }); + } + + QueryBuilder + calculationBaseProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(3); + }); + } + + QueryBuilder idProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(0); + }); + } + + QueryBuilder nameProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(4); + }); + } +} + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +FundingProgram _$FundingProgramFromJson(Map json) => + FundingProgram() + ..id = (json['id'] as num).toInt() + ..name = json['Name'] as String? + ..measures = (json['Maßnahmen_Main'] as List?) + ?.map((e) => IdValue.fromJson(e as Map)) + .toList() + ..fundingAmount = json['Höhe der Förderung'] as String? + ..calculationBase = json['Berechnungsgrundlage'] as String?; + +Map _$FundingProgramToJson(FundingProgram instance) => + { + 'id': instance.id, + 'Name': instance.name, + 'Maßnahmen_Main': instance.measures?.map((e) => e.toJson()).toList(), + 'Höhe der Förderung': instance.fundingAmount, + 'Berechnungsgrundlage': instance.calculationBase, + }; diff --git a/lib/src/domain/entity/file/file_part.dart b/lib/src/domain/entity/general/file/file_part.dart similarity index 91% rename from lib/src/domain/entity/file/file_part.dart rename to lib/src/domain/entity/general/file/file_part.dart index 6b4571a..a2da222 100644 --- a/lib/src/domain/entity/file/file_part.dart +++ b/lib/src/domain/entity/general/file/file_part.dart @@ -1,4 +1,4 @@ -import 'package:ambito/src/domain/entity/file/thumbnails.dart'; +import 'package:ambito/src/domain/entity/entities.dart'; import 'package:isar/isar.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/domain/entity/file/file_part.g.dart b/lib/src/domain/entity/general/file/file_part.g.dart similarity index 100% rename from lib/src/domain/entity/file/file_part.g.dart rename to lib/src/domain/entity/general/file/file_part.g.dart diff --git a/lib/src/domain/entity/file/thumbnail.dart b/lib/src/domain/entity/general/file/thumbnail.dart similarity index 100% rename from lib/src/domain/entity/file/thumbnail.dart rename to lib/src/domain/entity/general/file/thumbnail.dart diff --git a/lib/src/domain/entity/file/thumbnail.g.dart b/lib/src/domain/entity/general/file/thumbnail.g.dart similarity index 100% rename from lib/src/domain/entity/file/thumbnail.g.dart rename to lib/src/domain/entity/general/file/thumbnail.g.dart diff --git a/lib/src/domain/entity/file/thumbnails.dart b/lib/src/domain/entity/general/file/thumbnails.dart similarity index 87% rename from lib/src/domain/entity/file/thumbnails.dart rename to lib/src/domain/entity/general/file/thumbnails.dart index e465528..5f9c6df 100644 --- a/lib/src/domain/entity/file/thumbnails.dart +++ b/lib/src/domain/entity/general/file/thumbnails.dart @@ -1,4 +1,4 @@ -import 'package:ambito/src/domain/entity/file/thumbnail.dart'; +import 'package:ambito/src/domain/entity/entities.dart'; import 'package:isar/isar.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/domain/entity/file/thumbnails.g.dart b/lib/src/domain/entity/general/file/thumbnails.g.dart similarity index 100% rename from lib/src/domain/entity/file/thumbnails.g.dart rename to lib/src/domain/entity/general/file/thumbnails.g.dart diff --git a/lib/src/domain/entity/id_value/id_value.dart b/lib/src/domain/entity/general/id_value/id_value.dart similarity index 100% rename from lib/src/domain/entity/id_value/id_value.dart rename to lib/src/domain/entity/general/id_value/id_value.dart diff --git a/lib/src/domain/entity/id_value/id_value.g.dart b/lib/src/domain/entity/general/id_value/id_value.g.dart similarity index 100% rename from lib/src/domain/entity/id_value/id_value.g.dart rename to lib/src/domain/entity/general/id_value/id_value.g.dart diff --git a/lib/src/domain/entity/id_value_color/id_value_color.dart b/lib/src/domain/entity/general/id_value_color/id_value_color.dart similarity index 100% rename from lib/src/domain/entity/id_value_color/id_value_color.dart rename to lib/src/domain/entity/general/id_value_color/id_value_color.dart diff --git a/lib/src/domain/entity/id_value_color/id_value_color.g.dart b/lib/src/domain/entity/general/id_value_color/id_value_color.g.dart similarity index 100% rename from lib/src/domain/entity/id_value_color/id_value_color.g.dart rename to lib/src/domain/entity/general/id_value_color/id_value_color.g.dart diff --git a/lib/src/domain/entity/id_value_mix/id_value_mix.dart b/lib/src/domain/entity/general/id_value_mix/id_value_mix.dart similarity index 83% rename from lib/src/domain/entity/id_value_mix/id_value_mix.dart rename to lib/src/domain/entity/general/id_value_mix/id_value_mix.dart index e0a5139..41a0bf2 100644 --- a/lib/src/domain/entity/id_value_mix/id_value_mix.dart +++ b/lib/src/domain/entity/general/id_value_mix/id_value_mix.dart @@ -1,4 +1,4 @@ -import 'package:ambito/src/domain/entity/id_value_color/id_value_color.dart'; +import 'package:ambito/src/domain/entity/entities.dart'; import 'package:isar/isar.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/domain/entity/id_value_mix/id_value_mix.g.dart b/lib/src/domain/entity/general/id_value_mix/id_value_mix.g.dart similarity index 100% rename from lib/src/domain/entity/id_value_mix/id_value_mix.g.dart rename to lib/src/domain/entity/general/id_value_mix/id_value_mix.g.dart diff --git a/lib/src/domain/entity/month/month.dart b/lib/src/domain/entity/general/month/month.dart similarity index 100% rename from lib/src/domain/entity/month/month.dart rename to lib/src/domain/entity/general/month/month.dart diff --git a/lib/src/domain/entity/massnahme/massnahme.dart b/lib/src/domain/entity/measure/measure.dart similarity index 88% rename from lib/src/domain/entity/massnahme/massnahme.dart rename to lib/src/domain/entity/measure/measure.dart index bd34180..e76531b 100644 --- a/lib/src/domain/entity/massnahme/massnahme.dart +++ b/lib/src/domain/entity/measure/measure.dart @@ -1,22 +1,15 @@ -import 'package:ambito/src/domain/entity/base_entity.dart'; -import 'package:ambito/src/domain/entity/id_value/id_value.dart'; -import 'package:ambito/src/domain/entity/id_value_color/id_value_color.dart'; +import 'package:ambito/src/domain/entity/entities.dart'; import 'package:cached_network_image/cached_network_image.dart'; import 'package:flutter/material.dart'; import 'package:isar/isar.dart'; import 'package:json_annotation/json_annotation.dart'; -import '../file/file_part.dart'; -import '../file/thumbnail.dart'; -import '../file/thumbnails.dart'; -import '../id_value_mix/id_value_mix.dart'; - -part 'massnahme.g.dart'; +part 'measure.g.dart'; @JsonSerializable(explicitToJson: true) @collection -class Massnahme extends BaseEntity with EntityWithId { - Massnahme(); +class Measure extends BaseEntity with EntityWithId { + Measure(); @JsonKey(name: 'order') String? orderString; @@ -146,20 +139,19 @@ class Massnahme extends BaseEntity with EntityWithId { @JsonKey(name: "12 Quellen - Verwendet in Maßnahmendatenblatt") List? sourcesUsedInDataSheet; - factory Massnahme.fromJson(Map json) => - _$MassnahmeFromJson(json); + factory Measure.fromJson(Map json) => + _$MeasureFromJson(json); - Map toJson() => _$MassnahmeToJson(this); + Map toJson() => _$MeasureToJson(this); } -extension MassnahmenExtension on Massnahme { - +extension MeasureExtension on Measure { CachedNetworkImage? getThumbnail() { CachedNetworkImage? image; if (files != null && files!.isNotEmpty) { if (files![0].thumbnails?.cardCover?.url != null) { image = CachedNetworkImage( - imageUrl:files![0].thumbnails!.cardCover!.url!, + imageUrl: files![0].thumbnails!.cardCover!.url!, placeholder: (context, url) => const CircularProgressIndicator(), errorWidget: (context, url, error) => const Icon(Icons.error), ); @@ -167,5 +159,4 @@ extension MassnahmenExtension on Massnahme { } return image; } - -} \ No newline at end of file +} diff --git a/lib/src/domain/entity/massnahme/massnahme.g.dart b/lib/src/domain/entity/measure/measure.g.dart similarity index 81% rename from lib/src/domain/entity/massnahme/massnahme.g.dart rename to lib/src/domain/entity/measure/measure.g.dart index ed27b8d..b2fc449 100644 --- a/lib/src/domain/entity/massnahme/massnahme.g.dart +++ b/lib/src/domain/entity/measure/measure.g.dart @@ -1,6 +1,6 @@ // GENERATED CODE - DO NOT MODIFY BY HAND -part of 'massnahme.dart'; +part of 'measure.dart'; // ************************************************************************** // _IsarCollectionGenerator @@ -10,13 +10,13 @@ part of 'massnahme.dart'; // ignore_for_file: duplicate_ignore, invalid_use_of_protected_member, lines_longer_than_80_chars, constant_identifier_names, avoid_js_rounded_ints, no_leading_underscores_for_local_identifiers, require_trailing_commas, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_in_if_null_operators, library_private_types_in_public_api, prefer_const_constructors // ignore_for_file: type=lint -extension GetMassnahmeCollection on Isar { - IsarCollection get massnahmes => this.collection(); +extension GetMeasureCollection on Isar { + IsarCollection get measures => this.collection(); } -const MassnahmeSchema = IsarGeneratedSchema( +const MeasureSchema = IsarGeneratedSchema( schema: IsarSchema( - name: 'Massnahme', + name: 'Measure', idName: 'id', embedded: false, properties: [ @@ -309,10 +309,10 @@ const MassnahmeSchema = IsarGeneratedSchema( ), ], ), - converter: IsarObjectConverter( - serialize: serializeMassnahme, - deserialize: deserializeMassnahme, - deserializeProperty: deserializeMassnahmeProp, + converter: IsarObjectConverter( + serialize: serializeMeasure, + deserialize: deserializeMeasure, + deserializeProperty: deserializeMeasureProp, ), embeddedSchemas: [ IdValueColorSchema, @@ -325,7 +325,7 @@ const MassnahmeSchema = IsarGeneratedSchema( ); @isarProtected -int serializeMassnahme(IsarWriter writer, Massnahme object) { +int serializeMeasure(IsarWriter writer, Measure object) { { final value = object.orderString; if (value == null) { @@ -1052,8 +1052,8 @@ int serializeMassnahme(IsarWriter writer, Massnahme object) { } @isarProtected -Massnahme deserializeMassnahme(IsarReader reader) { - final object = Massnahme(); +Measure deserializeMeasure(IsarReader reader) { + final object = Measure(); object.orderString = IsarCore.readString(reader, 1); object.name = IsarCore.readString(reader, 2); { @@ -1727,7 +1727,7 @@ Massnahme deserializeMassnahme(IsarReader reader) { } @isarProtected -dynamic deserializeMassnahmeProp(IsarReader reader, int property) { +dynamic deserializeMeasureProp(IsarReader reader, int property) { switch (property) { case 1: return IsarCore.readString(reader, 1); @@ -2477,7 +2477,7 @@ dynamic deserializeMassnahmeProp(IsarReader reader, int property) { } } -sealed class _MassnahmeUpdate { +sealed class _MeasureUpdate { bool call({ required int id, String? orderString, @@ -2521,10 +2521,10 @@ sealed class _MassnahmeUpdate { }); } -class _MassnahmeUpdateImpl implements _MassnahmeUpdate { - const _MassnahmeUpdateImpl(this.collection); +class _MeasureUpdateImpl implements _MeasureUpdate { + const _MeasureUpdateImpl(this.collection); - final IsarCollection collection; + final IsarCollection collection; @override bool call({ @@ -2623,7 +2623,7 @@ class _MassnahmeUpdateImpl implements _MassnahmeUpdate { } } -sealed class _MassnahmeUpdateAll { +sealed class _MeasureUpdateAll { int call({ required List id, String? orderString, @@ -2667,10 +2667,10 @@ sealed class _MassnahmeUpdateAll { }); } -class _MassnahmeUpdateAllImpl implements _MassnahmeUpdateAll { - const _MassnahmeUpdateAllImpl(this.collection); +class _MeasureUpdateAllImpl implements _MeasureUpdateAll { + const _MeasureUpdateAllImpl(this.collection); - final IsarCollection collection; + final IsarCollection collection; @override int call({ @@ -2763,13 +2763,13 @@ class _MassnahmeUpdateAllImpl implements _MassnahmeUpdateAll { } } -extension MassnahmeUpdate on IsarCollection { - _MassnahmeUpdate get update => _MassnahmeUpdateImpl(this); +extension MeasureUpdate on IsarCollection { + _MeasureUpdate get update => _MeasureUpdateImpl(this); - _MassnahmeUpdateAll get updateAll => _MassnahmeUpdateAllImpl(this); + _MeasureUpdateAll get updateAll => _MeasureUpdateAllImpl(this); } -sealed class _MassnahmeQueryUpdate { +sealed class _MeasureQueryUpdate { int call({ String? orderString, String? name, @@ -2812,10 +2812,10 @@ sealed class _MassnahmeQueryUpdate { }); } -class _MassnahmeQueryUpdateImpl implements _MassnahmeQueryUpdate { - const _MassnahmeQueryUpdateImpl(this.query, {this.limit}); +class _MeasureQueryUpdateImpl implements _MeasureQueryUpdate { + const _MeasureQueryUpdateImpl(this.query, {this.limit}); - final IsarQuery query; + final IsarQuery query; final int? limit; @override @@ -2908,17 +2908,17 @@ class _MassnahmeQueryUpdateImpl implements _MassnahmeQueryUpdate { } } -extension MassnahmeQueryUpdate on IsarQuery { - _MassnahmeQueryUpdate get updateFirst => - _MassnahmeQueryUpdateImpl(this, limit: 1); +extension MeasureQueryUpdate on IsarQuery { + _MeasureQueryUpdate get updateFirst => + _MeasureQueryUpdateImpl(this, limit: 1); - _MassnahmeQueryUpdate get updateAll => _MassnahmeQueryUpdateImpl(this); + _MeasureQueryUpdate get updateAll => _MeasureQueryUpdateImpl(this); } -class _MassnahmeQueryBuilderUpdateImpl implements _MassnahmeQueryUpdate { - const _MassnahmeQueryBuilderUpdateImpl(this.query, {this.limit}); +class _MeasureQueryBuilderUpdateImpl implements _MeasureQueryUpdate { + const _MeasureQueryBuilderUpdateImpl(this.query, {this.limit}); - final QueryBuilder query; + final QueryBuilder query; final int? limit; @override @@ -3018,31 +3018,29 @@ class _MassnahmeQueryBuilderUpdateImpl implements _MassnahmeQueryUpdate { } } -extension MassnahmeQueryBuilderUpdate - on QueryBuilder { - _MassnahmeQueryUpdate get updateFirst => - _MassnahmeQueryBuilderUpdateImpl(this, limit: 1); +extension MeasureQueryBuilderUpdate + on QueryBuilder { + _MeasureQueryUpdate get updateFirst => + _MeasureQueryBuilderUpdateImpl(this, limit: 1); - _MassnahmeQueryUpdate get updateAll => _MassnahmeQueryBuilderUpdateImpl(this); + _MeasureQueryUpdate get updateAll => _MeasureQueryBuilderUpdateImpl(this); } -extension MassnahmeQueryFilter - on QueryBuilder { - QueryBuilder - orderStringIsNull() { +extension MeasureQueryFilter + on QueryBuilder { + QueryBuilder orderStringIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 1)); }); } - QueryBuilder - orderStringIsNotNull() { + QueryBuilder orderStringIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 1)); }); } - QueryBuilder orderStringEqualTo( + QueryBuilder orderStringEqualTo( String? value, { bool caseSensitive = true, }) { @@ -3057,8 +3055,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - orderStringGreaterThan( + QueryBuilder orderStringGreaterThan( String? value, { bool caseSensitive = true, }) { @@ -3073,7 +3070,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder orderStringGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -3089,7 +3086,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder orderStringLessThan( + QueryBuilder orderStringLessThan( String? value, { bool caseSensitive = true, }) { @@ -3104,7 +3101,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder orderStringLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -3120,7 +3117,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder orderStringBetween( + QueryBuilder orderStringBetween( String? lower, String? upper, { bool caseSensitive = true, @@ -3137,8 +3134,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - orderStringStartsWith( + QueryBuilder orderStringStartsWith( String value, { bool caseSensitive = true, }) { @@ -3153,7 +3149,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder orderStringEndsWith( + QueryBuilder orderStringEndsWith( String value, { bool caseSensitive = true, }) { @@ -3168,7 +3164,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder orderStringContains( + QueryBuilder orderStringContains( String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -3182,7 +3178,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder orderStringMatches( + QueryBuilder orderStringMatches( String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -3196,8 +3192,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - orderStringIsEmpty() { + QueryBuilder orderStringIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( const EqualCondition( @@ -3208,7 +3203,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder orderStringIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -3220,19 +3215,19 @@ extension MassnahmeQueryFilter }); } - QueryBuilder nameIsNull() { + QueryBuilder nameIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 2)); }); } - QueryBuilder nameIsNotNull() { + QueryBuilder nameIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 2)); }); } - QueryBuilder nameEqualTo( + QueryBuilder nameEqualTo( String? value, { bool caseSensitive = true, }) { @@ -3247,7 +3242,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder nameGreaterThan( + QueryBuilder nameGreaterThan( String? value, { bool caseSensitive = true, }) { @@ -3262,7 +3257,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder nameGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -3278,7 +3273,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder nameLessThan( + QueryBuilder nameLessThan( String? value, { bool caseSensitive = true, }) { @@ -3293,8 +3288,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - nameLessThanOrEqualTo( + QueryBuilder nameLessThanOrEqualTo( String? value, { bool caseSensitive = true, }) { @@ -3309,7 +3303,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder nameBetween( + QueryBuilder nameBetween( String? lower, String? upper, { bool caseSensitive = true, @@ -3326,7 +3320,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder nameStartsWith( + QueryBuilder nameStartsWith( String value, { bool caseSensitive = true, }) { @@ -3341,7 +3335,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder nameEndsWith( + QueryBuilder nameEndsWith( String value, { bool caseSensitive = true, }) { @@ -3356,7 +3350,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder nameContains( + QueryBuilder nameContains( String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -3370,7 +3364,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder nameMatches( + QueryBuilder nameMatches( String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -3384,7 +3378,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder nameIsEmpty() { + QueryBuilder nameIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( const EqualCondition( @@ -3395,7 +3389,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder nameIsNotEmpty() { + QueryBuilder nameIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( const GreaterCondition( @@ -3406,28 +3400,28 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetAreaTypeIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 3)); }); } - QueryBuilder + QueryBuilder factsheetAreaTypeIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 3)); }); } - QueryBuilder + QueryBuilder factsheetAreaTypeIsEmpty() { return not().group( (q) => q.factsheetAreaTypeIsNull().or().factsheetAreaTypeIsNotEmpty(), ); } - QueryBuilder + QueryBuilder factsheetAreaTypeIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -3436,20 +3430,19 @@ extension MassnahmeQueryFilter }); } - QueryBuilder examplesIsNull() { + QueryBuilder examplesIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 4)); }); } - QueryBuilder - examplesIsNotNull() { + QueryBuilder examplesIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 4)); }); } - QueryBuilder examplesEqualTo( + QueryBuilder examplesEqualTo( String? value, { bool caseSensitive = true, }) { @@ -3464,7 +3457,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder examplesGreaterThan( + QueryBuilder examplesGreaterThan( String? value, { bool caseSensitive = true, }) { @@ -3479,7 +3472,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder examplesGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -3495,7 +3488,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder examplesLessThan( + QueryBuilder examplesLessThan( String? value, { bool caseSensitive = true, }) { @@ -3510,7 +3503,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder examplesLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -3526,7 +3519,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder examplesBetween( + QueryBuilder examplesBetween( String? lower, String? upper, { bool caseSensitive = true, @@ -3543,7 +3536,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder examplesStartsWith( + QueryBuilder examplesStartsWith( String value, { bool caseSensitive = true, }) { @@ -3558,7 +3551,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder examplesEndsWith( + QueryBuilder examplesEndsWith( String value, { bool caseSensitive = true, }) { @@ -3573,7 +3566,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder examplesContains( + QueryBuilder examplesContains( String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -3587,7 +3580,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder examplesMatches( + QueryBuilder examplesMatches( String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -3601,7 +3594,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder examplesIsEmpty() { + QueryBuilder examplesIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( const EqualCondition( @@ -3612,8 +3605,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - examplesIsNotEmpty() { + QueryBuilder examplesIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( const GreaterCondition( @@ -3624,21 +3616,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetDefinitionIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 5)); }); } - QueryBuilder + QueryBuilder factsheetDefinitionIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 5)); }); } - QueryBuilder + QueryBuilder factsheetDefinitionEqualTo( String? value, { bool caseSensitive = true, @@ -3654,7 +3646,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetDefinitionGreaterThan( String? value, { bool caseSensitive = true, @@ -3670,7 +3662,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetDefinitionGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -3686,7 +3678,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetDefinitionLessThan( String? value, { bool caseSensitive = true, @@ -3702,7 +3694,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetDefinitionLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -3718,7 +3710,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetDefinitionBetween( String? lower, String? upper, { @@ -3736,7 +3728,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetDefinitionStartsWith( String value, { bool caseSensitive = true, @@ -3752,7 +3744,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetDefinitionEndsWith( String value, { bool caseSensitive = true, @@ -3768,7 +3760,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetDefinitionContains(String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -3781,7 +3773,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetDefinitionMatches(String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -3794,7 +3786,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetDefinitionIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -3806,7 +3798,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetDefinitionIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -3818,22 +3810,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetTargetIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 6)); }); } - QueryBuilder + QueryBuilder factsheetTargetIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 6)); }); } - QueryBuilder - factsheetTargetEqualTo( + QueryBuilder factsheetTargetEqualTo( String? value, { bool caseSensitive = true, }) { @@ -3848,7 +3839,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetTargetGreaterThan( String? value, { bool caseSensitive = true, @@ -3864,7 +3855,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetTargetGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -3880,8 +3871,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - factsheetTargetLessThan( + QueryBuilder factsheetTargetLessThan( String? value, { bool caseSensitive = true, }) { @@ -3896,7 +3886,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetTargetLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -3912,8 +3902,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - factsheetTargetBetween( + QueryBuilder factsheetTargetBetween( String? lower, String? upper, { bool caseSensitive = true, @@ -3930,7 +3919,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetTargetStartsWith( String value, { bool caseSensitive = true, @@ -3946,8 +3935,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - factsheetTargetEndsWith( + QueryBuilder factsheetTargetEndsWith( String value, { bool caseSensitive = true, }) { @@ -3962,8 +3950,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - factsheetTargetContains(String value, {bool caseSensitive = true}) { + QueryBuilder factsheetTargetContains( + String value, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( ContainsCondition( @@ -3975,8 +3964,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - factsheetTargetMatches(String pattern, {bool caseSensitive = true}) { + QueryBuilder factsheetTargetMatches( + String pattern, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( MatchesCondition( @@ -3988,7 +3978,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetTargetIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -4000,7 +3990,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetTargetIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -4012,21 +4002,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder scientificBackgroundRedundantIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 7)); }); } - QueryBuilder + QueryBuilder scientificBackgroundRedundantIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 7)); }); } - QueryBuilder + QueryBuilder scientificBackgroundRedundantEqualTo( String? value, { bool caseSensitive = true, @@ -4042,7 +4032,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder scientificBackgroundRedundantGreaterThan( String? value, { bool caseSensitive = true, @@ -4058,7 +4048,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder scientificBackgroundRedundantGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -4074,7 +4064,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder scientificBackgroundRedundantLessThan( String? value, { bool caseSensitive = true, @@ -4090,7 +4080,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder scientificBackgroundRedundantLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -4106,7 +4096,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder scientificBackgroundRedundantBetween( String? lower, String? upper, { @@ -4124,7 +4114,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder scientificBackgroundRedundantStartsWith( String value, { bool caseSensitive = true, @@ -4140,7 +4130,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder scientificBackgroundRedundantEndsWith( String value, { bool caseSensitive = true, @@ -4156,7 +4146,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder scientificBackgroundRedundantContains(String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -4170,7 +4160,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder scientificBackgroundRedundantMatches(String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -4184,7 +4174,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder scientificBackgroundRedundantIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -4196,7 +4186,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder scientificBackgroundRedundantIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -4208,21 +4198,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetScientificBackgroundIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 8)); }); } - QueryBuilder + QueryBuilder factsheetScientificBackgroundIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 8)); }); } - QueryBuilder + QueryBuilder factsheetScientificBackgroundEqualTo( String? value, { bool caseSensitive = true, @@ -4238,7 +4228,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetScientificBackgroundGreaterThan( String? value, { bool caseSensitive = true, @@ -4254,7 +4244,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetScientificBackgroundGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -4270,7 +4260,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetScientificBackgroundLessThan( String? value, { bool caseSensitive = true, @@ -4286,7 +4276,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetScientificBackgroundLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -4302,7 +4292,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetScientificBackgroundBetween( String? lower, String? upper, { @@ -4320,7 +4310,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetScientificBackgroundStartsWith( String value, { bool caseSensitive = true, @@ -4336,7 +4326,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetScientificBackgroundEndsWith( String value, { bool caseSensitive = true, @@ -4352,7 +4342,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetScientificBackgroundContains(String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -4366,7 +4356,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetScientificBackgroundMatches(String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -4380,7 +4370,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetScientificBackgroundIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -4392,7 +4382,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetScientificBackgroundIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -4404,19 +4394,19 @@ extension MassnahmeQueryFilter }); } - QueryBuilder sourcesIsNull() { + QueryBuilder sourcesIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 9)); }); } - QueryBuilder sourcesIsNotNull() { + QueryBuilder sourcesIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 9)); }); } - QueryBuilder sourcesEqualTo( + QueryBuilder sourcesEqualTo( String? value, { bool caseSensitive = true, }) { @@ -4431,7 +4421,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder sourcesGreaterThan( + QueryBuilder sourcesGreaterThan( String? value, { bool caseSensitive = true, }) { @@ -4446,7 +4436,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder sourcesGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -4462,7 +4452,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder sourcesLessThan( + QueryBuilder sourcesLessThan( String? value, { bool caseSensitive = true, }) { @@ -4477,7 +4467,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder sourcesLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -4493,7 +4483,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder sourcesBetween( + QueryBuilder sourcesBetween( String? lower, String? upper, { bool caseSensitive = true, @@ -4510,7 +4500,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder sourcesStartsWith( + QueryBuilder sourcesStartsWith( String value, { bool caseSensitive = true, }) { @@ -4525,7 +4515,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder sourcesEndsWith( + QueryBuilder sourcesEndsWith( String value, { bool caseSensitive = true, }) { @@ -4540,7 +4530,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder sourcesContains( + QueryBuilder sourcesContains( String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -4554,7 +4544,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder sourcesMatches( + QueryBuilder sourcesMatches( String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -4568,7 +4558,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder sourcesIsEmpty() { + QueryBuilder sourcesIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( const EqualCondition( @@ -4579,8 +4569,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - sourcesIsNotEmpty() { + QueryBuilder sourcesIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( const GreaterCondition( @@ -4591,27 +4580,25 @@ extension MassnahmeQueryFilter }); } - QueryBuilder timeFrameIsNull() { + QueryBuilder timeFrameIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 10)); }); } - QueryBuilder - timeFrameIsNotNull() { + QueryBuilder timeFrameIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 10)); }); } - QueryBuilder timeFrameIsEmpty() { + QueryBuilder timeFrameIsEmpty() { return not().group( (q) => q.timeFrameIsNull().or().timeFrameIsNotEmpty(), ); } - QueryBuilder - timeFrameIsNotEmpty() { + QueryBuilder timeFrameIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( const GreaterOrEqualCondition(property: 10, value: null), @@ -4619,21 +4606,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentReminderIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 11)); }); } - QueryBuilder + QueryBuilder attachmentReminderIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 11)); }); } - QueryBuilder + QueryBuilder attachmentReminderEqualTo( String? value, { bool caseSensitive = true, @@ -4649,7 +4636,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentReminderGreaterThan( String? value, { bool caseSensitive = true, @@ -4665,7 +4652,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentReminderGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -4681,7 +4668,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentReminderLessThan( String? value, { bool caseSensitive = true, @@ -4697,7 +4684,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentReminderLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -4713,7 +4700,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentReminderBetween( String? lower, String? upper, { @@ -4731,7 +4718,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentReminderStartsWith( String value, { bool caseSensitive = true, @@ -4747,7 +4734,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentReminderEndsWith( String value, { bool caseSensitive = true, @@ -4763,7 +4750,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentReminderContains(String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -4776,7 +4763,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentReminderMatches(String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -4789,7 +4776,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentReminderIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -4801,7 +4788,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentReminderIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -4813,21 +4800,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentWorkStepsIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 12)); }); } - QueryBuilder + QueryBuilder attachmentWorkStepsIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 12)); }); } - QueryBuilder + QueryBuilder attachmentWorkStepsEqualTo( String? value, { bool caseSensitive = true, @@ -4843,7 +4830,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentWorkStepsGreaterThan( String? value, { bool caseSensitive = true, @@ -4859,7 +4846,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentWorkStepsGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -4875,7 +4862,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentWorkStepsLessThan( String? value, { bool caseSensitive = true, @@ -4891,7 +4878,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentWorkStepsLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -4907,7 +4894,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentWorkStepsBetween( String? lower, String? upper, { @@ -4925,7 +4912,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentWorkStepsStartsWith( String value, { bool caseSensitive = true, @@ -4941,7 +4928,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentWorkStepsEndsWith( String value, { bool caseSensitive = true, @@ -4957,7 +4944,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentWorkStepsContains(String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -4970,7 +4957,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentWorkStepsMatches(String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -4983,7 +4970,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentWorkStepsIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -4995,7 +4982,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentWorkStepsIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -5007,21 +4994,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetLocationIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 13)); }); } - QueryBuilder + QueryBuilder factsheetLocationIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 13)); }); } - QueryBuilder + QueryBuilder factsheetLocationEqualTo( String? value, { bool caseSensitive = true, @@ -5037,7 +5024,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetLocationGreaterThan( String? value, { bool caseSensitive = true, @@ -5053,7 +5040,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetLocationGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -5069,7 +5056,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetLocationLessThan( String? value, { bool caseSensitive = true, @@ -5085,7 +5072,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetLocationLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -5101,7 +5088,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetLocationBetween( String? lower, String? upper, { @@ -5119,7 +5106,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetLocationStartsWith( String value, { bool caseSensitive = true, @@ -5135,7 +5122,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetLocationEndsWith( String value, { bool caseSensitive = true, @@ -5151,7 +5138,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetLocationContains(String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -5164,7 +5151,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetLocationMatches(String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -5177,7 +5164,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetLocationIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -5189,7 +5176,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetLocationIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -5201,21 +5188,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetSizeAreaIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 14)); }); } - QueryBuilder + QueryBuilder factsheetSizeAreaIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 14)); }); } - QueryBuilder + QueryBuilder factsheetSizeAreaEqualTo( String? value, { bool caseSensitive = true, @@ -5231,7 +5218,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetSizeAreaGreaterThan( String? value, { bool caseSensitive = true, @@ -5247,7 +5234,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetSizeAreaGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -5263,7 +5250,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetSizeAreaLessThan( String? value, { bool caseSensitive = true, @@ -5279,7 +5266,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetSizeAreaLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -5295,7 +5282,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetSizeAreaBetween( String? lower, String? upper, { @@ -5313,7 +5300,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetSizeAreaStartsWith( String value, { bool caseSensitive = true, @@ -5329,7 +5316,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetSizeAreaEndsWith( String value, { bool caseSensitive = true, @@ -5345,7 +5332,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetSizeAreaContains(String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -5358,7 +5345,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetSizeAreaMatches(String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -5371,7 +5358,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetSizeAreaIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -5383,7 +5370,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetSizeAreaIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -5395,21 +5382,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantAllowanceIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 15)); }); } - QueryBuilder + QueryBuilder redundantAllowanceIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 15)); }); } - QueryBuilder + QueryBuilder redundantAllowanceEqualTo( String? value, { bool caseSensitive = true, @@ -5425,7 +5412,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantAllowanceGreaterThan( String? value, { bool caseSensitive = true, @@ -5441,7 +5428,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantAllowanceGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -5457,7 +5444,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantAllowanceLessThan( String? value, { bool caseSensitive = true, @@ -5473,7 +5460,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantAllowanceLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -5489,7 +5476,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantAllowanceBetween( String? lower, String? upper, { @@ -5507,7 +5494,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantAllowanceStartsWith( String value, { bool caseSensitive = true, @@ -5523,7 +5510,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantAllowanceEndsWith( String value, { bool caseSensitive = true, @@ -5539,7 +5526,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantAllowanceContains(String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -5552,7 +5539,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantAllowanceMatches(String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -5565,7 +5552,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantAllowanceIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -5577,7 +5564,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantAllowanceIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -5589,21 +5576,19 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - moneyActionIsNull() { + QueryBuilder moneyActionIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 16)); }); } - QueryBuilder - moneyActionIsNotNull() { + QueryBuilder moneyActionIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 16)); }); } - QueryBuilder moneyActionEqualTo( + QueryBuilder moneyActionEqualTo( String? value, { bool caseSensitive = true, }) { @@ -5618,8 +5603,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - moneyActionGreaterThan( + QueryBuilder moneyActionGreaterThan( String? value, { bool caseSensitive = true, }) { @@ -5634,7 +5618,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder moneyActionGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -5650,7 +5634,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder moneyActionLessThan( + QueryBuilder moneyActionLessThan( String? value, { bool caseSensitive = true, }) { @@ -5665,7 +5649,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder moneyActionLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -5681,7 +5665,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder moneyActionBetween( + QueryBuilder moneyActionBetween( String? lower, String? upper, { bool caseSensitive = true, @@ -5698,8 +5682,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - moneyActionStartsWith( + QueryBuilder moneyActionStartsWith( String value, { bool caseSensitive = true, }) { @@ -5714,7 +5697,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder moneyActionEndsWith( + QueryBuilder moneyActionEndsWith( String value, { bool caseSensitive = true, }) { @@ -5729,7 +5712,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder moneyActionContains( + QueryBuilder moneyActionContains( String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -5743,7 +5726,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder moneyActionMatches( + QueryBuilder moneyActionMatches( String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -5757,8 +5740,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - moneyActionIsEmpty() { + QueryBuilder moneyActionIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( const EqualCondition( @@ -5769,7 +5751,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder moneyActionIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -5781,20 +5763,19 @@ extension MassnahmeQueryFilter }); } - QueryBuilder timeActionIsNull() { + QueryBuilder timeActionIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 17)); }); } - QueryBuilder - timeActionIsNotNull() { + QueryBuilder timeActionIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 17)); }); } - QueryBuilder timeActionEqualTo( + QueryBuilder timeActionEqualTo( String? value, { bool caseSensitive = true, }) { @@ -5809,8 +5790,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - timeActionGreaterThan( + QueryBuilder timeActionGreaterThan( String? value, { bool caseSensitive = true, }) { @@ -5825,7 +5805,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeActionGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -5841,7 +5821,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder timeActionLessThan( + QueryBuilder timeActionLessThan( String? value, { bool caseSensitive = true, }) { @@ -5856,7 +5836,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeActionLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -5872,7 +5852,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder timeActionBetween( + QueryBuilder timeActionBetween( String? lower, String? upper, { bool caseSensitive = true, @@ -5889,8 +5869,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - timeActionStartsWith( + QueryBuilder timeActionStartsWith( String value, { bool caseSensitive = true, }) { @@ -5905,7 +5884,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder timeActionEndsWith( + QueryBuilder timeActionEndsWith( String value, { bool caseSensitive = true, }) { @@ -5920,7 +5899,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder timeActionContains( + QueryBuilder timeActionContains( String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -5934,7 +5913,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder timeActionMatches( + QueryBuilder timeActionMatches( String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -5948,8 +5927,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - timeActionIsEmpty() { + QueryBuilder timeActionIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( const EqualCondition( @@ -5960,8 +5938,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - timeActionIsNotEmpty() { + QueryBuilder timeActionIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( const GreaterCondition( @@ -5972,22 +5949,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder serviceProviderIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 18)); }); } - QueryBuilder + QueryBuilder serviceProviderIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 18)); }); } - QueryBuilder - serviceProviderEqualTo( + QueryBuilder serviceProviderEqualTo( String? value, { bool caseSensitive = true, }) { @@ -6002,7 +5978,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder serviceProviderGreaterThan( String? value, { bool caseSensitive = true, @@ -6018,7 +5994,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder serviceProviderGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -6034,8 +6010,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - serviceProviderLessThan( + QueryBuilder serviceProviderLessThan( String? value, { bool caseSensitive = true, }) { @@ -6050,7 +6025,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder serviceProviderLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -6066,8 +6041,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - serviceProviderBetween( + QueryBuilder serviceProviderBetween( String? lower, String? upper, { bool caseSensitive = true, @@ -6084,7 +6058,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder serviceProviderStartsWith( String value, { bool caseSensitive = true, @@ -6100,8 +6074,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - serviceProviderEndsWith( + QueryBuilder serviceProviderEndsWith( String value, { bool caseSensitive = true, }) { @@ -6116,8 +6089,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - serviceProviderContains(String value, {bool caseSensitive = true}) { + QueryBuilder serviceProviderContains( + String value, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( ContainsCondition( @@ -6129,8 +6103,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - serviceProviderMatches(String pattern, {bool caseSensitive = true}) { + QueryBuilder serviceProviderMatches( + String pattern, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( MatchesCondition( @@ -6142,7 +6117,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder serviceProviderIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -6154,7 +6129,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder serviceProviderIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -6166,22 +6141,20 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - attachmentTipIsNull() { + QueryBuilder attachmentTipIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 19)); }); } - QueryBuilder + QueryBuilder attachmentTipIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 19)); }); } - QueryBuilder - attachmentTipEqualTo( + QueryBuilder attachmentTipEqualTo( String? value, { bool caseSensitive = true, }) { @@ -6196,7 +6169,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentTipGreaterThan( String? value, { bool caseSensitive = true, @@ -6212,7 +6185,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentTipGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -6228,8 +6201,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - attachmentTipLessThan( + QueryBuilder attachmentTipLessThan( String? value, { bool caseSensitive = true, }) { @@ -6244,7 +6216,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentTipLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -6260,8 +6232,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - attachmentTipBetween( + QueryBuilder attachmentTipBetween( String? lower, String? upper, { bool caseSensitive = true, @@ -6278,8 +6249,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - attachmentTipStartsWith( + QueryBuilder attachmentTipStartsWith( String value, { bool caseSensitive = true, }) { @@ -6294,8 +6264,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - attachmentTipEndsWith( + QueryBuilder attachmentTipEndsWith( String value, { bool caseSensitive = true, }) { @@ -6310,8 +6279,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - attachmentTipContains(String value, {bool caseSensitive = true}) { + QueryBuilder attachmentTipContains( + String value, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( ContainsCondition( @@ -6323,8 +6293,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - attachmentTipMatches(String pattern, {bool caseSensitive = true}) { + QueryBuilder attachmentTipMatches( + String pattern, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( MatchesCondition( @@ -6336,8 +6307,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - attachmentTipIsEmpty() { + QueryBuilder attachmentTipIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( const EqualCondition( @@ -6348,7 +6318,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentTipIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -6360,22 +6330,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeMaintenanceIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 20)); }); } - QueryBuilder + QueryBuilder timeMaintenanceIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 20)); }); } - QueryBuilder - timeMaintenanceEqualTo( + QueryBuilder timeMaintenanceEqualTo( String? value, { bool caseSensitive = true, }) { @@ -6390,7 +6359,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeMaintenanceGreaterThan( String? value, { bool caseSensitive = true, @@ -6406,7 +6375,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeMaintenanceGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -6422,8 +6391,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - timeMaintenanceLessThan( + QueryBuilder timeMaintenanceLessThan( String? value, { bool caseSensitive = true, }) { @@ -6438,7 +6406,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeMaintenanceLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -6454,8 +6422,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - timeMaintenanceBetween( + QueryBuilder timeMaintenanceBetween( String? lower, String? upper, { bool caseSensitive = true, @@ -6472,7 +6439,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeMaintenanceStartsWith( String value, { bool caseSensitive = true, @@ -6488,8 +6455,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - timeMaintenanceEndsWith( + QueryBuilder timeMaintenanceEndsWith( String value, { bool caseSensitive = true, }) { @@ -6504,8 +6470,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - timeMaintenanceContains(String value, {bool caseSensitive = true}) { + QueryBuilder timeMaintenanceContains( + String value, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( ContainsCondition( @@ -6517,8 +6484,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - timeMaintenanceMatches(String pattern, {bool caseSensitive = true}) { + QueryBuilder timeMaintenanceMatches( + String pattern, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( MatchesCondition( @@ -6530,7 +6498,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeMaintenanceIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -6542,7 +6510,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeMaintenanceIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -6554,22 +6522,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder workMaintenanceIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 21)); }); } - QueryBuilder + QueryBuilder workMaintenanceIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 21)); }); } - QueryBuilder - workMaintenanceEqualTo( + QueryBuilder workMaintenanceEqualTo( String? value, { bool caseSensitive = true, }) { @@ -6584,7 +6551,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder workMaintenanceGreaterThan( String? value, { bool caseSensitive = true, @@ -6600,7 +6567,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder workMaintenanceGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -6616,8 +6583,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - workMaintenanceLessThan( + QueryBuilder workMaintenanceLessThan( String? value, { bool caseSensitive = true, }) { @@ -6632,7 +6598,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder workMaintenanceLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -6648,8 +6614,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - workMaintenanceBetween( + QueryBuilder workMaintenanceBetween( String? lower, String? upper, { bool caseSensitive = true, @@ -6666,7 +6631,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder workMaintenanceStartsWith( String value, { bool caseSensitive = true, @@ -6682,8 +6647,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - workMaintenanceEndsWith( + QueryBuilder workMaintenanceEndsWith( String value, { bool caseSensitive = true, }) { @@ -6698,8 +6662,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - workMaintenanceContains(String value, {bool caseSensitive = true}) { + QueryBuilder workMaintenanceContains( + String value, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( ContainsCondition( @@ -6711,8 +6676,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - workMaintenanceMatches(String pattern, {bool caseSensitive = true}) { + QueryBuilder workMaintenanceMatches( + String pattern, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( MatchesCondition( @@ -6724,7 +6690,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder workMaintenanceIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -6736,7 +6702,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder workMaintenanceIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -6748,21 +6714,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder frequencyMaintenanceIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 22)); }); } - QueryBuilder + QueryBuilder frequencyMaintenanceIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 22)); }); } - QueryBuilder + QueryBuilder frequencyMaintenanceIsEmpty() { return not().group( (q) => @@ -6770,7 +6736,7 @@ extension MassnahmeQueryFilter ); } - QueryBuilder + QueryBuilder frequencyMaintenanceIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -6779,21 +6745,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialsMaintenanceIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 23)); }); } - QueryBuilder + QueryBuilder specialsMaintenanceIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 23)); }); } - QueryBuilder + QueryBuilder specialsMaintenanceEqualTo( String? value, { bool caseSensitive = true, @@ -6809,7 +6775,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialsMaintenanceGreaterThan( String? value, { bool caseSensitive = true, @@ -6825,7 +6791,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialsMaintenanceGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -6841,7 +6807,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialsMaintenanceLessThan( String? value, { bool caseSensitive = true, @@ -6857,7 +6823,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialsMaintenanceLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -6873,7 +6839,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialsMaintenanceBetween( String? lower, String? upper, { @@ -6891,7 +6857,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialsMaintenanceStartsWith( String value, { bool caseSensitive = true, @@ -6907,7 +6873,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialsMaintenanceEndsWith( String value, { bool caseSensitive = true, @@ -6923,7 +6889,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialsMaintenanceContains(String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -6936,7 +6902,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialsMaintenanceMatches(String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -6949,7 +6915,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialsMaintenanceIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -6961,7 +6927,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialsMaintenanceIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -6973,22 +6939,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder matchingActionsIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 24)); }); } - QueryBuilder + QueryBuilder matchingActionsIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 24)); }); } - QueryBuilder - matchingActionsEqualTo( + QueryBuilder matchingActionsEqualTo( String? value, { bool caseSensitive = true, }) { @@ -7003,7 +6968,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder matchingActionsGreaterThan( String? value, { bool caseSensitive = true, @@ -7019,7 +6984,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder matchingActionsGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -7035,8 +7000,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - matchingActionsLessThan( + QueryBuilder matchingActionsLessThan( String? value, { bool caseSensitive = true, }) { @@ -7051,7 +7015,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder matchingActionsLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -7067,8 +7031,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - matchingActionsBetween( + QueryBuilder matchingActionsBetween( String? lower, String? upper, { bool caseSensitive = true, @@ -7085,7 +7048,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder matchingActionsStartsWith( String value, { bool caseSensitive = true, @@ -7101,8 +7064,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - matchingActionsEndsWith( + QueryBuilder matchingActionsEndsWith( String value, { bool caseSensitive = true, }) { @@ -7117,8 +7079,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - matchingActionsContains(String value, {bool caseSensitive = true}) { + QueryBuilder matchingActionsContains( + String value, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( ContainsCondition( @@ -7130,8 +7093,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - matchingActionsMatches(String pattern, {bool caseSensitive = true}) { + QueryBuilder matchingActionsMatches( + String pattern, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( MatchesCondition( @@ -7143,7 +7107,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder matchingActionsIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -7155,7 +7119,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder matchingActionsIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -7167,21 +7131,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantExpertiseIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 25)); }); } - QueryBuilder + QueryBuilder redundantExpertiseIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 25)); }); } - QueryBuilder + QueryBuilder redundantExpertiseEqualTo( String? value, { bool caseSensitive = true, @@ -7197,7 +7161,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantExpertiseGreaterThan( String? value, { bool caseSensitive = true, @@ -7213,7 +7177,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantExpertiseGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -7229,7 +7193,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantExpertiseLessThan( String? value, { bool caseSensitive = true, @@ -7245,7 +7209,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantExpertiseLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -7261,7 +7225,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantExpertiseBetween( String? lower, String? upper, { @@ -7279,7 +7243,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantExpertiseStartsWith( String value, { bool caseSensitive = true, @@ -7295,7 +7259,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantExpertiseEndsWith( String value, { bool caseSensitive = true, @@ -7311,7 +7275,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantExpertiseContains(String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -7324,7 +7288,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantExpertiseMatches(String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -7337,7 +7301,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantExpertiseIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -7349,7 +7313,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder redundantExpertiseIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -7361,28 +7325,28 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder organismActionsIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 26)); }); } - QueryBuilder + QueryBuilder organismActionsIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 26)); }); } - QueryBuilder + QueryBuilder organismActionsIsEmpty() { return not().group( (q) => q.organismActionsIsNull().or().organismActionsIsNotEmpty(), ); } - QueryBuilder + QueryBuilder organismActionsIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -7391,42 +7355,40 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - actionGroupIsNull() { + QueryBuilder actionGroupIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 27)); }); } - QueryBuilder - actionGroupIsNotNull() { + QueryBuilder actionGroupIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 27)); }); } - QueryBuilder + QueryBuilder fundingProgramsIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 28)); }); } - QueryBuilder + QueryBuilder fundingProgramsIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 28)); }); } - QueryBuilder + QueryBuilder fundingProgramsIsEmpty() { return not().group( (q) => q.fundingProgramsIsNull().or().fundingProgramsIsNotEmpty(), ); } - QueryBuilder + QueryBuilder fundingProgramsIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -7435,25 +7397,25 @@ extension MassnahmeQueryFilter }); } - QueryBuilder filesIsNull() { + QueryBuilder filesIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 29)); }); } - QueryBuilder filesIsNotNull() { + QueryBuilder filesIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 29)); }); } - QueryBuilder filesIsEmpty() { + QueryBuilder filesIsEmpty() { return not().group( (q) => q.filesIsNull().or().filesIsNotEmpty(), ); } - QueryBuilder filesIsNotEmpty() { + QueryBuilder filesIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( const GreaterOrEqualCondition(property: 29, value: null), @@ -7461,28 +7423,27 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - numberOfActionIsNull() { + QueryBuilder numberOfActionIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 30)); }); } - QueryBuilder + QueryBuilder numberOfActionIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 30)); }); } - QueryBuilder + QueryBuilder numberOfActionIsEmpty() { return not().group( (q) => q.numberOfActionIsNull().or().numberOfActionIsNotEmpty(), ); } - QueryBuilder + QueryBuilder numberOfActionIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -7491,28 +7452,28 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder factsheetStatusIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 31)); }); } - QueryBuilder + QueryBuilder factsheetStatusIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 31)); }); } - QueryBuilder + QueryBuilder factsheetStatusIsEmpty() { return not().group( (q) => q.factsheetStatusIsNull().or().factsheetStatusIsNotEmpty(), ); } - QueryBuilder + QueryBuilder factsheetStatusIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -7521,28 +7482,28 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder requiredLocationIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 32)); }); } - QueryBuilder + QueryBuilder requiredLocationIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 32)); }); } - QueryBuilder + QueryBuilder requiredLocationIsEmpty() { return not().group( (q) => q.requiredLocationIsNull().or().requiredLocationIsNotEmpty(), ); } - QueryBuilder + QueryBuilder requiredLocationIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -7551,27 +7512,25 @@ extension MassnahmeQueryFilter }); } - QueryBuilder businessIsNull() { + QueryBuilder businessIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 33)); }); } - QueryBuilder - businessIsNotNull() { + QueryBuilder businessIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 33)); }); } - QueryBuilder businessIsEmpty() { + QueryBuilder businessIsEmpty() { return not().group( (q) => q.businessIsNull().or().businessIsNotEmpty(), ); } - QueryBuilder - businessIsNotEmpty() { + QueryBuilder businessIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( const GreaterOrEqualCondition(property: 33, value: null), @@ -7579,28 +7538,28 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder referenceActionIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 34)); }); } - QueryBuilder + QueryBuilder referenceActionIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 34)); }); } - QueryBuilder + QueryBuilder referenceActionIsEmpty() { return not().group( (q) => q.referenceActionIsNull().or().referenceActionIsNotEmpty(), ); } - QueryBuilder + QueryBuilder referenceActionIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -7609,28 +7568,28 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder attachmentMaterialIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 35)); }); } - QueryBuilder + QueryBuilder attachmentMaterialIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 35)); }); } - QueryBuilder + QueryBuilder attachmentMaterialIsEmpty() { return not().group( (q) => q.attachmentMaterialIsNull().or().attachmentMaterialIsNotEmpty(), ); } - QueryBuilder + QueryBuilder attachmentMaterialIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -7639,28 +7598,28 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder requiredAllowanceIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 36)); }); } - QueryBuilder + QueryBuilder requiredAllowanceIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 36)); }); } - QueryBuilder + QueryBuilder requiredAllowanceIsEmpty() { return not().group( (q) => q.requiredAllowanceIsNull().or().requiredAllowanceIsNotEmpty(), ); } - QueryBuilder + QueryBuilder requiredAllowanceIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -7669,21 +7628,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder requiredTimeForActionIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 37)); }); } - QueryBuilder + QueryBuilder requiredTimeForActionIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 37)); }); } - QueryBuilder + QueryBuilder requiredTimeForActionEqualTo( String? value, { bool caseSensitive = true, @@ -7699,7 +7658,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder requiredTimeForActionGreaterThan( String? value, { bool caseSensitive = true, @@ -7715,7 +7674,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder requiredTimeForActionGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -7731,7 +7690,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder requiredTimeForActionLessThan( String? value, { bool caseSensitive = true, @@ -7747,7 +7706,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder requiredTimeForActionLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -7763,7 +7722,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder requiredTimeForActionBetween( String? lower, String? upper, { @@ -7781,7 +7740,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder requiredTimeForActionStartsWith( String value, { bool caseSensitive = true, @@ -7797,7 +7756,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder requiredTimeForActionEndsWith( String value, { bool caseSensitive = true, @@ -7813,7 +7772,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder requiredTimeForActionContains(String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -7826,7 +7785,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder requiredTimeForActionMatches(String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -7840,7 +7799,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder requiredTimeForActionIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -7852,7 +7811,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder requiredTimeForActionIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -7864,22 +7823,20 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - costsMaterialIsNull() { + QueryBuilder costsMaterialIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 38)); }); } - QueryBuilder + QueryBuilder costsMaterialIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 38)); }); } - QueryBuilder - costsMaterialEqualTo( + QueryBuilder costsMaterialEqualTo( String? value, { bool caseSensitive = true, }) { @@ -7894,7 +7851,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder costsMaterialGreaterThan( String? value, { bool caseSensitive = true, @@ -7910,7 +7867,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder costsMaterialGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -7926,8 +7883,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - costsMaterialLessThan( + QueryBuilder costsMaterialLessThan( String? value, { bool caseSensitive = true, }) { @@ -7942,7 +7898,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder costsMaterialLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -7958,8 +7914,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - costsMaterialBetween( + QueryBuilder costsMaterialBetween( String? lower, String? upper, { bool caseSensitive = true, @@ -7976,8 +7931,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - costsMaterialStartsWith( + QueryBuilder costsMaterialStartsWith( String value, { bool caseSensitive = true, }) { @@ -7992,8 +7946,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - costsMaterialEndsWith( + QueryBuilder costsMaterialEndsWith( String value, { bool caseSensitive = true, }) { @@ -8008,8 +7961,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - costsMaterialContains(String value, {bool caseSensitive = true}) { + QueryBuilder costsMaterialContains( + String value, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( ContainsCondition( @@ -8021,8 +7975,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - costsMaterialMatches(String pattern, {bool caseSensitive = true}) { + QueryBuilder costsMaterialMatches( + String pattern, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( MatchesCondition( @@ -8034,8 +7989,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - costsMaterialIsEmpty() { + QueryBuilder costsMaterialIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( const EqualCondition( @@ -8046,7 +8000,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder costsMaterialIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -8058,28 +8012,28 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder expertiseWorkerIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 39)); }); } - QueryBuilder + QueryBuilder expertiseWorkerIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 39)); }); } - QueryBuilder + QueryBuilder expertiseWorkerIsEmpty() { return not().group( (q) => q.expertiseWorkerIsNull().or().expertiseWorkerIsNotEmpty(), ); } - QueryBuilder + QueryBuilder expertiseWorkerIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -8088,28 +8042,28 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder expertiseContactIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 40)); }); } - QueryBuilder + QueryBuilder expertiseContactIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 40)); }); } - QueryBuilder + QueryBuilder expertiseContactIsEmpty() { return not().group( (q) => q.expertiseContactIsNull().or().expertiseContactIsNotEmpty(), ); } - QueryBuilder + QueryBuilder expertiseContactIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -8118,28 +8072,27 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - materialActionIsNull() { + QueryBuilder materialActionIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 41)); }); } - QueryBuilder + QueryBuilder materialActionIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 41)); }); } - QueryBuilder + QueryBuilder materialActionIsEmpty() { return not().group( (q) => q.materialActionIsNull().or().materialActionIsNotEmpty(), ); } - QueryBuilder + QueryBuilder materialActionIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -8148,21 +8101,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeframeActionAdditionalIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 42)); }); } - QueryBuilder + QueryBuilder timeframeActionAdditionalIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 42)); }); } - QueryBuilder + QueryBuilder timeframeActionAdditionalEqualTo( String? value, { bool caseSensitive = true, @@ -8178,7 +8131,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeframeActionAdditionalGreaterThan( String? value, { bool caseSensitive = true, @@ -8194,7 +8147,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeframeActionAdditionalGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -8210,7 +8163,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeframeActionAdditionalLessThan( String? value, { bool caseSensitive = true, @@ -8226,7 +8179,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeframeActionAdditionalLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -8242,7 +8195,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeframeActionAdditionalBetween( String? lower, String? upper, { @@ -8260,7 +8213,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeframeActionAdditionalStartsWith( String value, { bool caseSensitive = true, @@ -8276,7 +8229,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeframeActionAdditionalEndsWith( String value, { bool caseSensitive = true, @@ -8292,7 +8245,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeframeActionAdditionalContains(String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -8306,7 +8259,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeframeActionAdditionalMatches(String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -8320,7 +8273,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeframeActionAdditionalIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -8332,7 +8285,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeframeActionAdditionalIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -8344,28 +8297,28 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder maintenanceMaterialIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 43)); }); } - QueryBuilder + QueryBuilder maintenanceMaterialIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 43)); }); } - QueryBuilder + QueryBuilder maintenanceMaterialIsEmpty() { return not().group( (q) => q.maintenanceMaterialIsNull().or().maintenanceMaterialIsNotEmpty(), ); } - QueryBuilder + QueryBuilder maintenanceMaterialIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -8374,28 +8327,25 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - sourcesListIsNull() { + QueryBuilder sourcesListIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 44)); }); } - QueryBuilder - sourcesListIsNotNull() { + QueryBuilder sourcesListIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 44)); }); } - QueryBuilder - sourcesListIsEmpty() { + QueryBuilder sourcesListIsEmpty() { return not().group( (q) => q.sourcesListIsNull().or().sourcesListIsNotEmpty(), ); } - QueryBuilder + QueryBuilder sourcesListIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -8404,21 +8354,20 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - requirementsIsNull() { + QueryBuilder requirementsIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 45)); }); } - QueryBuilder + QueryBuilder requirementsIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 45)); }); } - QueryBuilder requirementsEqualTo( + QueryBuilder requirementsEqualTo( String? value, { bool caseSensitive = true, }) { @@ -8433,8 +8382,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - requirementsGreaterThan( + QueryBuilder requirementsGreaterThan( String? value, { bool caseSensitive = true, }) { @@ -8449,7 +8397,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder requirementsGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -8465,8 +8413,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - requirementsLessThan( + QueryBuilder requirementsLessThan( String? value, { bool caseSensitive = true, }) { @@ -8481,7 +8428,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder requirementsLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -8497,7 +8444,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder requirementsBetween( + QueryBuilder requirementsBetween( String? lower, String? upper, { bool caseSensitive = true, @@ -8514,8 +8461,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - requirementsStartsWith( + QueryBuilder requirementsStartsWith( String value, { bool caseSensitive = true, }) { @@ -8530,8 +8476,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - requirementsEndsWith( + QueryBuilder requirementsEndsWith( String value, { bool caseSensitive = true, }) { @@ -8546,8 +8491,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - requirementsContains(String value, {bool caseSensitive = true}) { + QueryBuilder requirementsContains( + String value, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( ContainsCondition( @@ -8559,7 +8505,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder requirementsMatches( + QueryBuilder requirementsMatches( String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -8573,8 +8519,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - requirementsIsEmpty() { + QueryBuilder requirementsIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( const EqualCondition( @@ -8585,7 +8530,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder requirementsIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -8597,28 +8542,28 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder materialMaintenanceIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 46)); }); } - QueryBuilder + QueryBuilder materialMaintenanceIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 46)); }); } - QueryBuilder + QueryBuilder materialMaintenanceIsEmpty() { return not().group( (q) => q.materialMaintenanceIsNull().or().materialMaintenanceIsNotEmpty(), ); } - QueryBuilder + QueryBuilder materialMaintenanceIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -8627,21 +8572,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeMaintenanceAdditionalIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 47)); }); } - QueryBuilder + QueryBuilder timeMaintenanceAdditionalIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 47)); }); } - QueryBuilder + QueryBuilder timeMaintenanceAdditionalEqualTo( String? value, { bool caseSensitive = true, @@ -8657,7 +8602,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeMaintenanceAdditionalGreaterThan( String? value, { bool caseSensitive = true, @@ -8673,7 +8618,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeMaintenanceAdditionalGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -8689,7 +8634,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeMaintenanceAdditionalLessThan( String? value, { bool caseSensitive = true, @@ -8705,7 +8650,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeMaintenanceAdditionalLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -8721,7 +8666,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeMaintenanceAdditionalBetween( String? lower, String? upper, { @@ -8739,7 +8684,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeMaintenanceAdditionalStartsWith( String value, { bool caseSensitive = true, @@ -8755,7 +8700,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeMaintenanceAdditionalEndsWith( String value, { bool caseSensitive = true, @@ -8771,7 +8716,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeMaintenanceAdditionalContains(String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -8785,7 +8730,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeMaintenanceAdditionalMatches(String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -8799,7 +8744,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeMaintenanceAdditionalIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -8811,7 +8756,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeMaintenanceAdditionalIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -8823,28 +8768,28 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder combinedActionsIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 48)); }); } - QueryBuilder + QueryBuilder combinedActionsIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 48)); }); } - QueryBuilder + QueryBuilder combinedActionsIsEmpty() { return not().group( (q) => q.combinedActionsIsNull().or().combinedActionsIsNotEmpty(), ); } - QueryBuilder + QueryBuilder combinedActionsIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -8853,19 +8798,19 @@ extension MassnahmeQueryFilter }); } - QueryBuilder doneIsNull() { + QueryBuilder doneIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 49)); }); } - QueryBuilder doneIsNotNull() { + QueryBuilder doneIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 49)); }); } - QueryBuilder doneEqualTo( + QueryBuilder doneEqualTo( bool? value, ) { return QueryBuilder.apply(this, (query) { @@ -8878,28 +8823,28 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder existingFactSheetIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 50)); }); } - QueryBuilder + QueryBuilder existingFactSheetIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 50)); }); } - QueryBuilder + QueryBuilder existingFactSheetIsEmpty() { return not().group( (q) => q.existingFactSheetIsNull().or().existingFactSheetIsNotEmpty(), ); } - QueryBuilder + QueryBuilder existingFactSheetIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -8908,21 +8853,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder timeframeMaintenance2IsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 51)); }); } - QueryBuilder + QueryBuilder timeframeMaintenance2IsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 51)); }); } - QueryBuilder + QueryBuilder timeframeMaintenance2IsEmpty() { return not().group( (q) => q @@ -8932,7 +8877,7 @@ extension MassnahmeQueryFilter ); } - QueryBuilder + QueryBuilder timeframeMaintenance2IsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -8941,27 +8886,25 @@ extension MassnahmeQueryFilter }); } - QueryBuilder treeTypesIsNull() { + QueryBuilder treeTypesIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 52)); }); } - QueryBuilder - treeTypesIsNotNull() { + QueryBuilder treeTypesIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 52)); }); } - QueryBuilder treeTypesIsEmpty() { + QueryBuilder treeTypesIsEmpty() { return not().group( (q) => q.treeTypesIsNull().or().treeTypesIsNotEmpty(), ); } - QueryBuilder - treeTypesIsNotEmpty() { + QueryBuilder treeTypesIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( const GreaterOrEqualCondition(property: 52, value: null), @@ -8969,21 +8912,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder frequencyMaintenanceAdditionalIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 53)); }); } - QueryBuilder + QueryBuilder frequencyMaintenanceAdditionalIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 53)); }); } - QueryBuilder + QueryBuilder frequencyMaintenanceAdditionalEqualTo( String? value, { bool caseSensitive = true, @@ -8999,7 +8942,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder frequencyMaintenanceAdditionalGreaterThan( String? value, { bool caseSensitive = true, @@ -9015,7 +8958,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder frequencyMaintenanceAdditionalGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -9031,7 +8974,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder frequencyMaintenanceAdditionalLessThan( String? value, { bool caseSensitive = true, @@ -9047,7 +8990,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder frequencyMaintenanceAdditionalLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -9063,7 +9006,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder frequencyMaintenanceAdditionalBetween( String? lower, String? upper, { @@ -9081,7 +9024,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder frequencyMaintenanceAdditionalStartsWith( String value, { bool caseSensitive = true, @@ -9097,7 +9040,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder frequencyMaintenanceAdditionalEndsWith( String value, { bool caseSensitive = true, @@ -9113,7 +9056,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder frequencyMaintenanceAdditionalContains(String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -9127,7 +9070,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder frequencyMaintenanceAdditionalMatches(String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -9141,7 +9084,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder frequencyMaintenanceAdditionalIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -9153,7 +9096,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder frequencyMaintenanceAdditionalIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -9165,22 +9108,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialCreationIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 54)); }); } - QueryBuilder + QueryBuilder specialCreationIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 54)); }); } - QueryBuilder - specialCreationEqualTo( + QueryBuilder specialCreationEqualTo( String? value, { bool caseSensitive = true, }) { @@ -9195,7 +9137,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialCreationGreaterThan( String? value, { bool caseSensitive = true, @@ -9211,7 +9153,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialCreationGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -9227,8 +9169,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - specialCreationLessThan( + QueryBuilder specialCreationLessThan( String? value, { bool caseSensitive = true, }) { @@ -9243,7 +9184,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialCreationLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -9259,8 +9200,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - specialCreationBetween( + QueryBuilder specialCreationBetween( String? lower, String? upper, { bool caseSensitive = true, @@ -9277,7 +9217,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialCreationStartsWith( String value, { bool caseSensitive = true, @@ -9293,8 +9233,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - specialCreationEndsWith( + QueryBuilder specialCreationEndsWith( String value, { bool caseSensitive = true, }) { @@ -9309,8 +9248,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - specialCreationContains(String value, {bool caseSensitive = true}) { + QueryBuilder specialCreationContains( + String value, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( ContainsCondition( @@ -9322,8 +9262,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - specialCreationMatches(String pattern, {bool caseSensitive = true}) { + QueryBuilder specialCreationMatches( + String pattern, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( MatchesCondition( @@ -9335,7 +9276,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialCreationIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -9347,7 +9288,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialCreationIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -9359,21 +9300,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder oekologischeRelevanzBackgroundIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 55)); }); } - QueryBuilder + QueryBuilder oekologischeRelevanzBackgroundIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 55)); }); } - QueryBuilder + QueryBuilder oekologischeRelevanzBackgroundEqualTo( String? value, { bool caseSensitive = true, @@ -9389,7 +9330,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder oekologischeRelevanzBackgroundGreaterThan( String? value, { bool caseSensitive = true, @@ -9405,7 +9346,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder oekologischeRelevanzBackgroundGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -9421,7 +9362,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder oekologischeRelevanzBackgroundLessThan( String? value, { bool caseSensitive = true, @@ -9437,7 +9378,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder oekologischeRelevanzBackgroundLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -9453,7 +9394,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder oekologischeRelevanzBackgroundBetween( String? lower, String? upper, { @@ -9471,7 +9412,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder oekologischeRelevanzBackgroundStartsWith( String value, { bool caseSensitive = true, @@ -9487,7 +9428,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder oekologischeRelevanzBackgroundEndsWith( String value, { bool caseSensitive = true, @@ -9503,7 +9444,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder oekologischeRelevanzBackgroundContains(String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -9517,7 +9458,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder oekologischeRelevanzBackgroundMatches(String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -9531,7 +9472,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder oekologischeRelevanzBackgroundIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -9543,7 +9484,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder oekologischeRelevanzBackgroundIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -9555,21 +9496,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkablePresetsIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 56)); }); } - QueryBuilder + QueryBuilder remarkablePresetsIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 56)); }); } - QueryBuilder + QueryBuilder remarkablePresetsEqualTo( String? value, { bool caseSensitive = true, @@ -9585,7 +9526,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkablePresetsGreaterThan( String? value, { bool caseSensitive = true, @@ -9601,7 +9542,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkablePresetsGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -9617,7 +9558,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkablePresetsLessThan( String? value, { bool caseSensitive = true, @@ -9633,7 +9574,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkablePresetsLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -9649,7 +9590,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkablePresetsBetween( String? lower, String? upper, { @@ -9667,7 +9608,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkablePresetsStartsWith( String value, { bool caseSensitive = true, @@ -9683,7 +9624,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkablePresetsEndsWith( String value, { bool caseSensitive = true, @@ -9699,7 +9640,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkablePresetsContains(String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -9712,7 +9653,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkablePresetsMatches(String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -9725,7 +9666,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkablePresetsIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -9737,7 +9678,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkablePresetsIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -9749,21 +9690,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkableMaintenanceIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 57)); }); } - QueryBuilder + QueryBuilder remarkableMaintenanceIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 57)); }); } - QueryBuilder + QueryBuilder remarkableMaintenanceEqualTo( String? value, { bool caseSensitive = true, @@ -9779,7 +9720,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkableMaintenanceGreaterThan( String? value, { bool caseSensitive = true, @@ -9795,7 +9736,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkableMaintenanceGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -9811,7 +9752,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkableMaintenanceLessThan( String? value, { bool caseSensitive = true, @@ -9827,7 +9768,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkableMaintenanceLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -9843,7 +9784,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkableMaintenanceBetween( String? lower, String? upper, { @@ -9861,7 +9802,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkableMaintenanceStartsWith( String value, { bool caseSensitive = true, @@ -9877,7 +9818,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkableMaintenanceEndsWith( String value, { bool caseSensitive = true, @@ -9893,7 +9834,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkableMaintenanceContains(String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -9906,7 +9847,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkableMaintenanceMatches(String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -9920,7 +9861,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkableMaintenanceIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -9932,7 +9873,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder remarkableMaintenanceIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -9944,21 +9885,19 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - tipsPresetsIsNull() { + QueryBuilder tipsPresetsIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 58)); }); } - QueryBuilder - tipsPresetsIsNotNull() { + QueryBuilder tipsPresetsIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 58)); }); } - QueryBuilder tipsPresetsEqualTo( + QueryBuilder tipsPresetsEqualTo( String? value, { bool caseSensitive = true, }) { @@ -9973,8 +9912,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - tipsPresetsGreaterThan( + QueryBuilder tipsPresetsGreaterThan( String? value, { bool caseSensitive = true, }) { @@ -9989,7 +9927,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder tipsPresetsGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -10005,7 +9943,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder tipsPresetsLessThan( + QueryBuilder tipsPresetsLessThan( String? value, { bool caseSensitive = true, }) { @@ -10020,7 +9958,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder tipsPresetsLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -10036,7 +9974,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder tipsPresetsBetween( + QueryBuilder tipsPresetsBetween( String? lower, String? upper, { bool caseSensitive = true, @@ -10053,8 +9991,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - tipsPresetsStartsWith( + QueryBuilder tipsPresetsStartsWith( String value, { bool caseSensitive = true, }) { @@ -10069,7 +10006,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder tipsPresetsEndsWith( + QueryBuilder tipsPresetsEndsWith( String value, { bool caseSensitive = true, }) { @@ -10084,7 +10021,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder tipsPresetsContains( + QueryBuilder tipsPresetsContains( String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -10098,7 +10035,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder tipsPresetsMatches( + QueryBuilder tipsPresetsMatches( String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { @@ -10112,8 +10049,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - tipsPresetsIsEmpty() { + QueryBuilder tipsPresetsIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( const EqualCondition( @@ -10124,7 +10060,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder tipsPresetsIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -10136,22 +10072,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder tipsMaintenanceIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 59)); }); } - QueryBuilder + QueryBuilder tipsMaintenanceIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 59)); }); } - QueryBuilder - tipsMaintenanceEqualTo( + QueryBuilder tipsMaintenanceEqualTo( String? value, { bool caseSensitive = true, }) { @@ -10166,7 +10101,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder tipsMaintenanceGreaterThan( String? value, { bool caseSensitive = true, @@ -10182,7 +10117,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder tipsMaintenanceGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -10198,8 +10133,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - tipsMaintenanceLessThan( + QueryBuilder tipsMaintenanceLessThan( String? value, { bool caseSensitive = true, }) { @@ -10214,7 +10148,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder tipsMaintenanceLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -10230,8 +10164,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - tipsMaintenanceBetween( + QueryBuilder tipsMaintenanceBetween( String? lower, String? upper, { bool caseSensitive = true, @@ -10248,7 +10181,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder tipsMaintenanceStartsWith( String value, { bool caseSensitive = true, @@ -10264,8 +10197,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - tipsMaintenanceEndsWith( + QueryBuilder tipsMaintenanceEndsWith( String value, { bool caseSensitive = true, }) { @@ -10280,8 +10212,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - tipsMaintenanceContains(String value, {bool caseSensitive = true}) { + QueryBuilder tipsMaintenanceContains( + String value, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( ContainsCondition( @@ -10293,8 +10226,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - tipsMaintenanceMatches(String pattern, {bool caseSensitive = true}) { + QueryBuilder tipsMaintenanceMatches( + String pattern, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( MatchesCondition( @@ -10306,7 +10240,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder tipsMaintenanceIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -10318,7 +10252,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder tipsMaintenanceIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -10330,21 +10264,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder goodToKnowAttachmentIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 60)); }); } - QueryBuilder + QueryBuilder goodToKnowAttachmentIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 60)); }); } - QueryBuilder + QueryBuilder goodToKnowAttachmentEqualTo( String? value, { bool caseSensitive = true, @@ -10360,7 +10294,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder goodToKnowAttachmentGreaterThan( String? value, { bool caseSensitive = true, @@ -10376,7 +10310,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder goodToKnowAttachmentGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -10392,7 +10326,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder goodToKnowAttachmentLessThan( String? value, { bool caseSensitive = true, @@ -10408,7 +10342,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder goodToKnowAttachmentLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -10424,7 +10358,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder goodToKnowAttachmentBetween( String? lower, String? upper, { @@ -10442,7 +10376,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder goodToKnowAttachmentStartsWith( String value, { bool caseSensitive = true, @@ -10458,7 +10392,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder goodToKnowAttachmentEndsWith( String value, { bool caseSensitive = true, @@ -10474,7 +10408,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder goodToKnowAttachmentContains(String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -10487,7 +10421,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder goodToKnowAttachmentMatches(String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -10500,7 +10434,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder goodToKnowAttachmentIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -10512,7 +10446,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder goodToKnowAttachmentIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -10524,22 +10458,20 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - tipsBackgroundIsNull() { + QueryBuilder tipsBackgroundIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 61)); }); } - QueryBuilder + QueryBuilder tipsBackgroundIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 61)); }); } - QueryBuilder - tipsBackgroundEqualTo( + QueryBuilder tipsBackgroundEqualTo( String? value, { bool caseSensitive = true, }) { @@ -10554,7 +10486,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder tipsBackgroundGreaterThan( String? value, { bool caseSensitive = true, @@ -10570,7 +10502,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder tipsBackgroundGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -10586,8 +10518,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - tipsBackgroundLessThan( + QueryBuilder tipsBackgroundLessThan( String? value, { bool caseSensitive = true, }) { @@ -10602,7 +10533,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder tipsBackgroundLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -10618,8 +10549,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - tipsBackgroundBetween( + QueryBuilder tipsBackgroundBetween( String? lower, String? upper, { bool caseSensitive = true, @@ -10636,7 +10566,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder tipsBackgroundStartsWith( String value, { bool caseSensitive = true, @@ -10652,8 +10582,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - tipsBackgroundEndsWith( + QueryBuilder tipsBackgroundEndsWith( String value, { bool caseSensitive = true, }) { @@ -10668,8 +10597,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - tipsBackgroundContains(String value, {bool caseSensitive = true}) { + QueryBuilder tipsBackgroundContains( + String value, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( ContainsCondition( @@ -10681,8 +10611,9 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - tipsBackgroundMatches(String pattern, {bool caseSensitive = true}) { + QueryBuilder tipsBackgroundMatches( + String pattern, + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( MatchesCondition( @@ -10694,7 +10625,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder tipsBackgroundIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -10706,7 +10637,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder tipsBackgroundIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -10718,21 +10649,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialBackgroundIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 62)); }); } - QueryBuilder + QueryBuilder specialBackgroundIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 62)); }); } - QueryBuilder + QueryBuilder specialBackgroundEqualTo( String? value, { bool caseSensitive = true, @@ -10748,7 +10679,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialBackgroundGreaterThan( String? value, { bool caseSensitive = true, @@ -10764,7 +10695,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialBackgroundGreaterThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -10780,7 +10711,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialBackgroundLessThan( String? value, { bool caseSensitive = true, @@ -10796,7 +10727,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialBackgroundLessThanOrEqualTo( String? value, { bool caseSensitive = true, @@ -10812,7 +10743,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialBackgroundBetween( String? lower, String? upper, { @@ -10830,7 +10761,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialBackgroundStartsWith( String value, { bool caseSensitive = true, @@ -10846,7 +10777,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialBackgroundEndsWith( String value, { bool caseSensitive = true, @@ -10862,7 +10793,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialBackgroundContains(String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -10875,7 +10806,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialBackgroundMatches(String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -10888,7 +10819,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialBackgroundIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -10900,7 +10831,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder specialBackgroundIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -10912,21 +10843,21 @@ extension MassnahmeQueryFilter }); } - QueryBuilder + QueryBuilder sourcesUsedInDataSheetIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const IsNullCondition(property: 63)); }); } - QueryBuilder + QueryBuilder sourcesUsedInDataSheetIsNotNull() { return QueryBuilder.apply(not(), (query) { return query.addFilterCondition(const IsNullCondition(property: 63)); }); } - QueryBuilder + QueryBuilder sourcesUsedInDataSheetIsEmpty() { return not().group( (q) => q @@ -10936,7 +10867,7 @@ extension MassnahmeQueryFilter ); } - QueryBuilder + QueryBuilder sourcesUsedInDataSheetIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition( @@ -10945,7 +10876,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder idEqualTo( + QueryBuilder idEqualTo( int value, ) { return QueryBuilder.apply(this, (query) { @@ -10958,7 +10889,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder idGreaterThan( + QueryBuilder idGreaterThan( int value, ) { return QueryBuilder.apply(this, (query) { @@ -10971,8 +10902,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder - idGreaterThanOrEqualTo( + QueryBuilder idGreaterThanOrEqualTo( int value, ) { return QueryBuilder.apply(this, (query) { @@ -10985,7 +10915,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder idLessThan( + QueryBuilder idLessThan( int value, ) { return QueryBuilder.apply(this, (query) { @@ -10998,7 +10928,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder idLessThanOrEqualTo( + QueryBuilder idLessThanOrEqualTo( int value, ) { return QueryBuilder.apply(this, (query) { @@ -11011,7 +10941,7 @@ extension MassnahmeQueryFilter }); } - QueryBuilder idBetween( + QueryBuilder idBetween( int lower, int upper, ) { @@ -11027,9 +10957,9 @@ extension MassnahmeQueryFilter } } -extension MassnahmeQueryObject - on QueryBuilder { - QueryBuilder actionGroup( +extension MeasureQueryObject + on QueryBuilder { + QueryBuilder actionGroup( FilterQuery q) { return QueryBuilder.apply(this, (query) { return query.object(q, 27); @@ -11037,8 +10967,8 @@ extension MassnahmeQueryObject } } -extension MassnahmeQuerySortBy on QueryBuilder { - QueryBuilder sortByOrderString( +extension MeasureQuerySortBy on QueryBuilder { + QueryBuilder sortByOrderString( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11048,7 +10978,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByOrderStringDesc( + QueryBuilder sortByOrderStringDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11059,7 +10989,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByName( + QueryBuilder sortByName( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11069,7 +10999,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByNameDesc( + QueryBuilder sortByNameDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11080,7 +11010,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByExamples( + QueryBuilder sortByExamples( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11090,7 +11020,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByExamplesDesc( + QueryBuilder sortByExamplesDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11101,7 +11031,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByFactsheetDefinition( + QueryBuilder sortByFactsheetDefinition( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11111,8 +11041,8 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder - sortByFactsheetDefinitionDesc({bool caseSensitive = true}) { + QueryBuilder sortByFactsheetDefinitionDesc( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( 5, @@ -11122,7 +11052,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByFactsheetTarget( + QueryBuilder sortByFactsheetTarget( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11132,7 +11062,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByFactsheetTargetDesc( + QueryBuilder sortByFactsheetTargetDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11143,7 +11073,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder + QueryBuilder sortByScientificBackgroundRedundant({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11153,7 +11083,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder + QueryBuilder sortByScientificBackgroundRedundantDesc({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11164,7 +11094,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder + QueryBuilder sortByFactsheetScientificBackground({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11174,7 +11104,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder + QueryBuilder sortByFactsheetScientificBackgroundDesc({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11185,7 +11115,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortBySources( + QueryBuilder sortBySources( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11195,7 +11125,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortBySourcesDesc( + QueryBuilder sortBySourcesDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11206,7 +11136,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByAttachmentReminder( + QueryBuilder sortByAttachmentReminder( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11216,7 +11146,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByAttachmentReminderDesc( + QueryBuilder sortByAttachmentReminderDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11227,7 +11157,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByAttachmentWorkSteps( + QueryBuilder sortByAttachmentWorkSteps( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11237,8 +11167,8 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder - sortByAttachmentWorkStepsDesc({bool caseSensitive = true}) { + QueryBuilder sortByAttachmentWorkStepsDesc( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( 12, @@ -11248,7 +11178,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByFactsheetLocation( + QueryBuilder sortByFactsheetLocation( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11258,7 +11188,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByFactsheetLocationDesc( + QueryBuilder sortByFactsheetLocationDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11269,7 +11199,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByFactsheetSizeArea( + QueryBuilder sortByFactsheetSizeArea( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11279,7 +11209,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByFactsheetSizeAreaDesc( + QueryBuilder sortByFactsheetSizeAreaDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11290,7 +11220,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByRedundantAllowance( + QueryBuilder sortByRedundantAllowance( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11300,7 +11230,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByRedundantAllowanceDesc( + QueryBuilder sortByRedundantAllowanceDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11311,7 +11241,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByMoneyAction( + QueryBuilder sortByMoneyAction( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11321,7 +11251,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByMoneyActionDesc( + QueryBuilder sortByMoneyActionDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11332,7 +11262,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByTimeAction( + QueryBuilder sortByTimeAction( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11342,7 +11272,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByTimeActionDesc( + QueryBuilder sortByTimeActionDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11353,7 +11283,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByServiceProvider( + QueryBuilder sortByServiceProvider( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11363,7 +11293,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByServiceProviderDesc( + QueryBuilder sortByServiceProviderDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11374,7 +11304,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByAttachmentTip( + QueryBuilder sortByAttachmentTip( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11384,7 +11314,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByAttachmentTipDesc( + QueryBuilder sortByAttachmentTipDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11395,7 +11325,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByTimeMaintenance( + QueryBuilder sortByTimeMaintenance( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11405,7 +11335,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByTimeMaintenanceDesc( + QueryBuilder sortByTimeMaintenanceDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11416,7 +11346,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByWorkMaintenance( + QueryBuilder sortByWorkMaintenance( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11426,7 +11356,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByWorkMaintenanceDesc( + QueryBuilder sortByWorkMaintenanceDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11437,7 +11367,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortBySpecialsMaintenance( + QueryBuilder sortBySpecialsMaintenance( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11447,8 +11377,8 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder - sortBySpecialsMaintenanceDesc({bool caseSensitive = true}) { + QueryBuilder sortBySpecialsMaintenanceDesc( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( 23, @@ -11458,7 +11388,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByMatchingActions( + QueryBuilder sortByMatchingActions( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11468,7 +11398,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByMatchingActionsDesc( + QueryBuilder sortByMatchingActionsDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11479,7 +11409,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByRedundantExpertise( + QueryBuilder sortByRedundantExpertise( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11489,7 +11419,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByRedundantExpertiseDesc( + QueryBuilder sortByRedundantExpertiseDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11500,7 +11430,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByRequiredTimeForAction( + QueryBuilder sortByRequiredTimeForAction( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11510,8 +11440,8 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder - sortByRequiredTimeForActionDesc({bool caseSensitive = true}) { + QueryBuilder sortByRequiredTimeForActionDesc( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( 37, @@ -11521,7 +11451,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByCostsMaterial( + QueryBuilder sortByCostsMaterial( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11531,7 +11461,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByCostsMaterialDesc( + QueryBuilder sortByCostsMaterialDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11542,8 +11472,8 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder - sortByTimeframeActionAdditional({bool caseSensitive = true}) { + QueryBuilder sortByTimeframeActionAdditional( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( 42, @@ -11552,7 +11482,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder + QueryBuilder sortByTimeframeActionAdditionalDesc({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11563,7 +11493,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByRequirements( + QueryBuilder sortByRequirements( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11573,7 +11503,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByRequirementsDesc( + QueryBuilder sortByRequirementsDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11584,8 +11514,8 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder - sortByTimeMaintenanceAdditional({bool caseSensitive = true}) { + QueryBuilder sortByTimeMaintenanceAdditional( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( 47, @@ -11594,7 +11524,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder + QueryBuilder sortByTimeMaintenanceAdditionalDesc({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11605,19 +11535,19 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByDone() { + QueryBuilder sortByDone() { return QueryBuilder.apply(this, (query) { return query.addSortBy(49); }); } - QueryBuilder sortByDoneDesc() { + QueryBuilder sortByDoneDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(49, sort: Sort.desc); }); } - QueryBuilder + QueryBuilder sortByFrequencyMaintenanceAdditional({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11627,7 +11557,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder + QueryBuilder sortByFrequencyMaintenanceAdditionalDesc({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11638,7 +11568,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortBySpecialCreation( + QueryBuilder sortBySpecialCreation( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11648,7 +11578,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortBySpecialCreationDesc( + QueryBuilder sortBySpecialCreationDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11659,7 +11589,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder + QueryBuilder sortByOekologischeRelevanzBackground({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11669,7 +11599,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder + QueryBuilder sortByOekologischeRelevanzBackgroundDesc({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11680,7 +11610,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByRemarkablePresets( + QueryBuilder sortByRemarkablePresets( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11690,7 +11620,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByRemarkablePresetsDesc( + QueryBuilder sortByRemarkablePresetsDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11701,7 +11631,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByRemarkableMaintenance( + QueryBuilder sortByRemarkableMaintenance( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11711,8 +11641,8 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder - sortByRemarkableMaintenanceDesc({bool caseSensitive = true}) { + QueryBuilder sortByRemarkableMaintenanceDesc( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( 57, @@ -11722,7 +11652,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByTipsPresets( + QueryBuilder sortByTipsPresets( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11732,7 +11662,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByTipsPresetsDesc( + QueryBuilder sortByTipsPresetsDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11743,7 +11673,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByTipsMaintenance( + QueryBuilder sortByTipsMaintenance( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11753,7 +11683,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByTipsMaintenanceDesc( + QueryBuilder sortByTipsMaintenanceDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11764,7 +11694,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByGoodToKnowAttachment( + QueryBuilder sortByGoodToKnowAttachment( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11774,8 +11704,8 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder - sortByGoodToKnowAttachmentDesc({bool caseSensitive = true}) { + QueryBuilder sortByGoodToKnowAttachmentDesc( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( 60, @@ -11785,7 +11715,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByTipsBackground( + QueryBuilder sortByTipsBackground( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11795,7 +11725,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortByTipsBackgroundDesc( + QueryBuilder sortByTipsBackgroundDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11806,7 +11736,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortBySpecialBackground( + QueryBuilder sortBySpecialBackground( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11816,7 +11746,7 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortBySpecialBackgroundDesc( + QueryBuilder sortBySpecialBackgroundDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy( @@ -11827,2136 +11757,2119 @@ extension MassnahmeQuerySortBy on QueryBuilder { }); } - QueryBuilder sortById() { + QueryBuilder sortById() { return QueryBuilder.apply(this, (query) { return query.addSortBy(0); }); } - QueryBuilder sortByIdDesc() { + QueryBuilder sortByIdDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(0, sort: Sort.desc); }); } } -extension MassnahmeQuerySortThenBy - on QueryBuilder { - QueryBuilder thenByOrderString( +extension MeasureQuerySortThenBy + on QueryBuilder { + QueryBuilder thenByOrderString( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(1, caseSensitive: caseSensitive); }); } - QueryBuilder thenByOrderStringDesc( + QueryBuilder thenByOrderStringDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(1, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByName( + QueryBuilder thenByName( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(2, caseSensitive: caseSensitive); }); } - QueryBuilder thenByNameDesc( + QueryBuilder thenByNameDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(2, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByExamples( + QueryBuilder thenByExamples( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(4, caseSensitive: caseSensitive); }); } - QueryBuilder thenByExamplesDesc( + QueryBuilder thenByExamplesDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(4, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByFactsheetDefinition( + QueryBuilder thenByFactsheetDefinition( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(5, caseSensitive: caseSensitive); }); } - QueryBuilder - thenByFactsheetDefinitionDesc({bool caseSensitive = true}) { + QueryBuilder thenByFactsheetDefinitionDesc( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(5, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByFactsheetTarget( + QueryBuilder thenByFactsheetTarget( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(6, caseSensitive: caseSensitive); }); } - QueryBuilder thenByFactsheetTargetDesc( + QueryBuilder thenByFactsheetTargetDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(6, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder + QueryBuilder thenByScientificBackgroundRedundant({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(7, caseSensitive: caseSensitive); }); } - QueryBuilder + QueryBuilder thenByScientificBackgroundRedundantDesc({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(7, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder + QueryBuilder thenByFactsheetScientificBackground({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(8, caseSensitive: caseSensitive); }); } - QueryBuilder + QueryBuilder thenByFactsheetScientificBackgroundDesc({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(8, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenBySources( + QueryBuilder thenBySources( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(9, caseSensitive: caseSensitive); }); } - QueryBuilder thenBySourcesDesc( + QueryBuilder thenBySourcesDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(9, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByAttachmentReminder( + QueryBuilder thenByAttachmentReminder( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(11, caseSensitive: caseSensitive); }); } - QueryBuilder thenByAttachmentReminderDesc( + QueryBuilder thenByAttachmentReminderDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(11, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByAttachmentWorkSteps( + QueryBuilder thenByAttachmentWorkSteps( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(12, caseSensitive: caseSensitive); }); } - QueryBuilder - thenByAttachmentWorkStepsDesc({bool caseSensitive = true}) { + QueryBuilder thenByAttachmentWorkStepsDesc( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(12, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByFactsheetLocation( + QueryBuilder thenByFactsheetLocation( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(13, caseSensitive: caseSensitive); }); } - QueryBuilder thenByFactsheetLocationDesc( + QueryBuilder thenByFactsheetLocationDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(13, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByFactsheetSizeArea( + QueryBuilder thenByFactsheetSizeArea( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(14, caseSensitive: caseSensitive); }); } - QueryBuilder thenByFactsheetSizeAreaDesc( + QueryBuilder thenByFactsheetSizeAreaDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(14, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByRedundantAllowance( + QueryBuilder thenByRedundantAllowance( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(15, caseSensitive: caseSensitive); }); } - QueryBuilder thenByRedundantAllowanceDesc( + QueryBuilder thenByRedundantAllowanceDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(15, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByMoneyAction( + QueryBuilder thenByMoneyAction( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(16, caseSensitive: caseSensitive); }); } - QueryBuilder thenByMoneyActionDesc( + QueryBuilder thenByMoneyActionDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(16, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByTimeAction( + QueryBuilder thenByTimeAction( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(17, caseSensitive: caseSensitive); }); } - QueryBuilder thenByTimeActionDesc( + QueryBuilder thenByTimeActionDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(17, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByServiceProvider( + QueryBuilder thenByServiceProvider( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(18, caseSensitive: caseSensitive); }); } - QueryBuilder thenByServiceProviderDesc( + QueryBuilder thenByServiceProviderDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(18, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByAttachmentTip( + QueryBuilder thenByAttachmentTip( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(19, caseSensitive: caseSensitive); }); } - QueryBuilder thenByAttachmentTipDesc( + QueryBuilder thenByAttachmentTipDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(19, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByTimeMaintenance( + QueryBuilder thenByTimeMaintenance( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(20, caseSensitive: caseSensitive); }); } - QueryBuilder thenByTimeMaintenanceDesc( + QueryBuilder thenByTimeMaintenanceDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(20, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByWorkMaintenance( + QueryBuilder thenByWorkMaintenance( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(21, caseSensitive: caseSensitive); }); } - QueryBuilder thenByWorkMaintenanceDesc( + QueryBuilder thenByWorkMaintenanceDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(21, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenBySpecialsMaintenance( + QueryBuilder thenBySpecialsMaintenance( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(23, caseSensitive: caseSensitive); }); } - QueryBuilder - thenBySpecialsMaintenanceDesc({bool caseSensitive = true}) { + QueryBuilder thenBySpecialsMaintenanceDesc( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(23, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByMatchingActions( + QueryBuilder thenByMatchingActions( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(24, caseSensitive: caseSensitive); }); } - QueryBuilder thenByMatchingActionsDesc( + QueryBuilder thenByMatchingActionsDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(24, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByRedundantExpertise( + QueryBuilder thenByRedundantExpertise( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(25, caseSensitive: caseSensitive); }); } - QueryBuilder thenByRedundantExpertiseDesc( + QueryBuilder thenByRedundantExpertiseDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(25, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByRequiredTimeForAction( + QueryBuilder thenByRequiredTimeForAction( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(37, caseSensitive: caseSensitive); }); } - QueryBuilder - thenByRequiredTimeForActionDesc({bool caseSensitive = true}) { + QueryBuilder thenByRequiredTimeForActionDesc( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(37, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByCostsMaterial( + QueryBuilder thenByCostsMaterial( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(38, caseSensitive: caseSensitive); }); } - QueryBuilder thenByCostsMaterialDesc( + QueryBuilder thenByCostsMaterialDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(38, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder - thenByTimeframeActionAdditional({bool caseSensitive = true}) { + QueryBuilder thenByTimeframeActionAdditional( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(42, caseSensitive: caseSensitive); }); } - QueryBuilder + QueryBuilder thenByTimeframeActionAdditionalDesc({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(42, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByRequirements( + QueryBuilder thenByRequirements( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(45, caseSensitive: caseSensitive); }); } - QueryBuilder thenByRequirementsDesc( + QueryBuilder thenByRequirementsDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(45, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder - thenByTimeMaintenanceAdditional({bool caseSensitive = true}) { + QueryBuilder thenByTimeMaintenanceAdditional( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(47, caseSensitive: caseSensitive); }); } - QueryBuilder + QueryBuilder thenByTimeMaintenanceAdditionalDesc({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(47, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByDone() { + QueryBuilder thenByDone() { return QueryBuilder.apply(this, (query) { return query.addSortBy(49); }); } - QueryBuilder thenByDoneDesc() { + QueryBuilder thenByDoneDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(49, sort: Sort.desc); }); } - QueryBuilder + QueryBuilder thenByFrequencyMaintenanceAdditional({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(53, caseSensitive: caseSensitive); }); } - QueryBuilder + QueryBuilder thenByFrequencyMaintenanceAdditionalDesc({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(53, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenBySpecialCreation( + QueryBuilder thenBySpecialCreation( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(54, caseSensitive: caseSensitive); }); } - QueryBuilder thenBySpecialCreationDesc( + QueryBuilder thenBySpecialCreationDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(54, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder + QueryBuilder thenByOekologischeRelevanzBackground({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(55, caseSensitive: caseSensitive); }); } - QueryBuilder + QueryBuilder thenByOekologischeRelevanzBackgroundDesc({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(55, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByRemarkablePresets( + QueryBuilder thenByRemarkablePresets( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(56, caseSensitive: caseSensitive); }); } - QueryBuilder thenByRemarkablePresetsDesc( + QueryBuilder thenByRemarkablePresetsDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(56, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByRemarkableMaintenance( + QueryBuilder thenByRemarkableMaintenance( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(57, caseSensitive: caseSensitive); }); } - QueryBuilder - thenByRemarkableMaintenanceDesc({bool caseSensitive = true}) { + QueryBuilder thenByRemarkableMaintenanceDesc( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(57, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByTipsPresets( + QueryBuilder thenByTipsPresets( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(58, caseSensitive: caseSensitive); }); } - QueryBuilder thenByTipsPresetsDesc( + QueryBuilder thenByTipsPresetsDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(58, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByTipsMaintenance( + QueryBuilder thenByTipsMaintenance( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(59, caseSensitive: caseSensitive); }); } - QueryBuilder thenByTipsMaintenanceDesc( + QueryBuilder thenByTipsMaintenanceDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(59, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByGoodToKnowAttachment( + QueryBuilder thenByGoodToKnowAttachment( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(60, caseSensitive: caseSensitive); }); } - QueryBuilder - thenByGoodToKnowAttachmentDesc({bool caseSensitive = true}) { + QueryBuilder thenByGoodToKnowAttachmentDesc( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(60, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenByTipsBackground( + QueryBuilder thenByTipsBackground( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(61, caseSensitive: caseSensitive); }); } - QueryBuilder thenByTipsBackgroundDesc( + QueryBuilder thenByTipsBackgroundDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(61, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenBySpecialBackground( + QueryBuilder thenBySpecialBackground( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(62, caseSensitive: caseSensitive); }); } - QueryBuilder thenBySpecialBackgroundDesc( + QueryBuilder thenBySpecialBackgroundDesc( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addSortBy(62, sort: Sort.desc, caseSensitive: caseSensitive); }); } - QueryBuilder thenById() { + QueryBuilder thenById() { return QueryBuilder.apply(this, (query) { return query.addSortBy(0); }); } - QueryBuilder thenByIdDesc() { + QueryBuilder thenByIdDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(0, sort: Sort.desc); }); } } -extension MassnahmeQueryWhereDistinct - on QueryBuilder { - QueryBuilder distinctByOrderString( +extension MeasureQueryWhereDistinct + on QueryBuilder { + QueryBuilder distinctByOrderString( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(1, caseSensitive: caseSensitive); }); } - QueryBuilder distinctByName( + QueryBuilder distinctByName( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(2, caseSensitive: caseSensitive); }); } - QueryBuilder distinctByExamples( + QueryBuilder distinctByExamples( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(4, caseSensitive: caseSensitive); }); } - QueryBuilder - distinctByFactsheetDefinition({bool caseSensitive = true}) { + QueryBuilder distinctByFactsheetDefinition( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(5, caseSensitive: caseSensitive); }); } - QueryBuilder distinctByFactsheetTarget( + QueryBuilder distinctByFactsheetTarget( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(6, caseSensitive: caseSensitive); }); } - QueryBuilder + QueryBuilder distinctByScientificBackgroundRedundant({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(7, caseSensitive: caseSensitive); }); } - QueryBuilder + QueryBuilder distinctByFactsheetScientificBackground({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(8, caseSensitive: caseSensitive); }); } - QueryBuilder distinctBySources( + QueryBuilder distinctBySources( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(9, caseSensitive: caseSensitive); }); } - QueryBuilder - distinctByAttachmentReminder({bool caseSensitive = true}) { + QueryBuilder distinctByAttachmentReminder( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(11, caseSensitive: caseSensitive); }); } - QueryBuilder - distinctByAttachmentWorkSteps({bool caseSensitive = true}) { + QueryBuilder distinctByAttachmentWorkSteps( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(12, caseSensitive: caseSensitive); }); } - QueryBuilder - distinctByFactsheetLocation({bool caseSensitive = true}) { + QueryBuilder distinctByFactsheetLocation( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(13, caseSensitive: caseSensitive); }); } - QueryBuilder - distinctByFactsheetSizeArea({bool caseSensitive = true}) { + QueryBuilder distinctByFactsheetSizeArea( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(14, caseSensitive: caseSensitive); }); } - QueryBuilder - distinctByRedundantAllowance({bool caseSensitive = true}) { + QueryBuilder distinctByRedundantAllowance( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(15, caseSensitive: caseSensitive); }); } - QueryBuilder distinctByMoneyAction( + QueryBuilder distinctByMoneyAction( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(16, caseSensitive: caseSensitive); }); } - QueryBuilder distinctByTimeAction( + QueryBuilder distinctByTimeAction( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(17, caseSensitive: caseSensitive); }); } - QueryBuilder distinctByServiceProvider( + QueryBuilder distinctByServiceProvider( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(18, caseSensitive: caseSensitive); }); } - QueryBuilder distinctByAttachmentTip( + QueryBuilder distinctByAttachmentTip( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(19, caseSensitive: caseSensitive); }); } - QueryBuilder distinctByTimeMaintenance( + QueryBuilder distinctByTimeMaintenance( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(20, caseSensitive: caseSensitive); }); } - QueryBuilder distinctByWorkMaintenance( + QueryBuilder distinctByWorkMaintenance( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(21, caseSensitive: caseSensitive); }); } - QueryBuilder - distinctBySpecialsMaintenance({bool caseSensitive = true}) { + QueryBuilder distinctBySpecialsMaintenance( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(23, caseSensitive: caseSensitive); }); } - QueryBuilder distinctByMatchingActions( + QueryBuilder distinctByMatchingActions( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(24, caseSensitive: caseSensitive); }); } - QueryBuilder - distinctByRedundantExpertise({bool caseSensitive = true}) { + QueryBuilder distinctByRedundantExpertise( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(25, caseSensitive: caseSensitive); }); } - QueryBuilder + QueryBuilder distinctByRequiredTimeForAction({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(37, caseSensitive: caseSensitive); }); } - QueryBuilder distinctByCostsMaterial( + QueryBuilder distinctByCostsMaterial( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(38, caseSensitive: caseSensitive); }); } - QueryBuilder + QueryBuilder distinctByTimeframeActionAdditional({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(42, caseSensitive: caseSensitive); }); } - QueryBuilder distinctByRequirements( + QueryBuilder distinctByRequirements( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(45, caseSensitive: caseSensitive); }); } - QueryBuilder + QueryBuilder distinctByTimeMaintenanceAdditional({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(47, caseSensitive: caseSensitive); }); } - QueryBuilder distinctByDone() { + QueryBuilder distinctByDone() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(49); }); } - QueryBuilder + QueryBuilder distinctByFrequencyMaintenanceAdditional({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(53, caseSensitive: caseSensitive); }); } - QueryBuilder distinctBySpecialCreation( + QueryBuilder distinctBySpecialCreation( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(54, caseSensitive: caseSensitive); }); } - QueryBuilder + QueryBuilder distinctByOekologischeRelevanzBackground({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(55, caseSensitive: caseSensitive); }); } - QueryBuilder - distinctByRemarkablePresets({bool caseSensitive = true}) { + QueryBuilder distinctByRemarkablePresets( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(56, caseSensitive: caseSensitive); }); } - QueryBuilder + QueryBuilder distinctByRemarkableMaintenance({bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(57, caseSensitive: caseSensitive); }); } - QueryBuilder distinctByTipsPresets( + QueryBuilder distinctByTipsPresets( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(58, caseSensitive: caseSensitive); }); } - QueryBuilder distinctByTipsMaintenance( + QueryBuilder distinctByTipsMaintenance( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(59, caseSensitive: caseSensitive); }); } - QueryBuilder - distinctByGoodToKnowAttachment({bool caseSensitive = true}) { + QueryBuilder distinctByGoodToKnowAttachment( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(60, caseSensitive: caseSensitive); }); } - QueryBuilder distinctByTipsBackground( + QueryBuilder distinctByTipsBackground( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(61, caseSensitive: caseSensitive); }); } - QueryBuilder - distinctBySpecialBackground({bool caseSensitive = true}) { + QueryBuilder distinctBySpecialBackground( + {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(62, caseSensitive: caseSensitive); }); } } -extension MassnahmeQueryProperty1 - on QueryBuilder { - QueryBuilder orderStringProperty() { +extension MeasureQueryProperty1 on QueryBuilder { + QueryBuilder orderStringProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(1); }); } - QueryBuilder nameProperty() { + QueryBuilder nameProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(2); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> factsheetAreaTypeProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(3); }); } - QueryBuilder examplesProperty() { + QueryBuilder examplesProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(4); }); } - QueryBuilder - factsheetDefinitionProperty() { + QueryBuilder factsheetDefinitionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(5); }); } - QueryBuilder factsheetTargetProperty() { + QueryBuilder factsheetTargetProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(6); }); } - QueryBuilder + QueryBuilder scientificBackgroundRedundantProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(7); }); } - QueryBuilder + QueryBuilder factsheetScientificBackgroundProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(8); }); } - QueryBuilder sourcesProperty() { + QueryBuilder sourcesProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(9); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> timeFrameProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(10); }); } - QueryBuilder - attachmentReminderProperty() { + QueryBuilder attachmentReminderProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(11); }); } - QueryBuilder - attachmentWorkStepsProperty() { + QueryBuilder attachmentWorkStepsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(12); }); } - QueryBuilder factsheetLocationProperty() { + QueryBuilder factsheetLocationProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(13); }); } - QueryBuilder factsheetSizeAreaProperty() { + QueryBuilder factsheetSizeAreaProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(14); }); } - QueryBuilder - redundantAllowanceProperty() { + QueryBuilder redundantAllowanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(15); }); } - QueryBuilder moneyActionProperty() { + QueryBuilder moneyActionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(16); }); } - QueryBuilder timeActionProperty() { + QueryBuilder timeActionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(17); }); } - QueryBuilder serviceProviderProperty() { + QueryBuilder serviceProviderProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(18); }); } - QueryBuilder attachmentTipProperty() { + QueryBuilder attachmentTipProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(19); }); } - QueryBuilder timeMaintenanceProperty() { + QueryBuilder timeMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(20); }); } - QueryBuilder workMaintenanceProperty() { + QueryBuilder workMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(21); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> frequencyMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(22); }); } - QueryBuilder - specialsMaintenanceProperty() { + QueryBuilder specialsMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(23); }); } - QueryBuilder matchingActionsProperty() { + QueryBuilder matchingActionsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(24); }); } - QueryBuilder - redundantExpertiseProperty() { + QueryBuilder redundantExpertiseProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(25); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> organismActionsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(26); }); } - QueryBuilder actionGroupProperty() { + QueryBuilder actionGroupProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(27); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> fundingProgramsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(28); }); } - QueryBuilder?, QAfterProperty> filesProperty() { + QueryBuilder?, QAfterProperty> filesProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(29); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> numberOfActionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(30); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> factsheetStatusProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(31); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> requiredLocationProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(32); }); } - QueryBuilder?, QAfterProperty> businessProperty() { + QueryBuilder?, QAfterProperty> businessProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(33); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> referenceActionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(34); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> attachmentMaterialProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(35); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> requiredAllowanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(36); }); } - QueryBuilder + QueryBuilder requiredTimeForActionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(37); }); } - QueryBuilder costsMaterialProperty() { + QueryBuilder costsMaterialProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(38); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> expertiseWorkerProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(39); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> expertiseContactProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(40); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> materialActionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(41); }); } - QueryBuilder + QueryBuilder timeframeActionAdditionalProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(42); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> maintenanceMaterialProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(43); }); } - QueryBuilder?, QAfterProperty> - sourcesListProperty() { + QueryBuilder?, QAfterProperty> sourcesListProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(44); }); } - QueryBuilder requirementsProperty() { + QueryBuilder requirementsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(45); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> materialMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(46); }); } - QueryBuilder + QueryBuilder timeMaintenanceAdditionalProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(47); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> combinedActionsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(48); }); } - QueryBuilder doneProperty() { + QueryBuilder doneProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(49); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> existingFactSheetProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(50); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> timeframeMaintenance2Property() { return QueryBuilder.apply(this, (query) { return query.addProperty(51); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> treeTypesProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(52); }); } - QueryBuilder + QueryBuilder frequencyMaintenanceAdditionalProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(53); }); } - QueryBuilder specialCreationProperty() { + QueryBuilder specialCreationProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(54); }); } - QueryBuilder + QueryBuilder oekologischeRelevanzBackgroundProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(55); }); } - QueryBuilder remarkablePresetsProperty() { + QueryBuilder remarkablePresetsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(56); }); } - QueryBuilder + QueryBuilder remarkableMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(57); }); } - QueryBuilder tipsPresetsProperty() { + QueryBuilder tipsPresetsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(58); }); } - QueryBuilder tipsMaintenanceProperty() { + QueryBuilder tipsMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(59); }); } - QueryBuilder + QueryBuilder goodToKnowAttachmentProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(60); }); } - QueryBuilder tipsBackgroundProperty() { + QueryBuilder tipsBackgroundProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(61); }); } - QueryBuilder specialBackgroundProperty() { + QueryBuilder specialBackgroundProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(62); }); } - QueryBuilder?, QAfterProperty> + QueryBuilder?, QAfterProperty> sourcesUsedInDataSheetProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(63); }); } - QueryBuilder idProperty() { + QueryBuilder idProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(0); }); } } -extension MassnahmeQueryProperty2 - on QueryBuilder { - QueryBuilder orderStringProperty() { +extension MeasureQueryProperty2 on QueryBuilder { + QueryBuilder orderStringProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(1); }); } - QueryBuilder nameProperty() { + QueryBuilder nameProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(2); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> factsheetAreaTypeProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(3); }); } - QueryBuilder examplesProperty() { + QueryBuilder examplesProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(4); }); } - QueryBuilder + QueryBuilder factsheetDefinitionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(5); }); } - QueryBuilder + QueryBuilder factsheetTargetProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(6); }); } - QueryBuilder + QueryBuilder scientificBackgroundRedundantProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(7); }); } - QueryBuilder + QueryBuilder factsheetScientificBackgroundProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(8); }); } - QueryBuilder sourcesProperty() { + QueryBuilder sourcesProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(9); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> timeFrameProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(10); }); } - QueryBuilder + QueryBuilder attachmentReminderProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(11); }); } - QueryBuilder + QueryBuilder attachmentWorkStepsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(12); }); } - QueryBuilder + QueryBuilder factsheetLocationProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(13); }); } - QueryBuilder + QueryBuilder factsheetSizeAreaProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(14); }); } - QueryBuilder + QueryBuilder redundantAllowanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(15); }); } - QueryBuilder moneyActionProperty() { + QueryBuilder moneyActionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(16); }); } - QueryBuilder timeActionProperty() { + QueryBuilder timeActionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(17); }); } - QueryBuilder + QueryBuilder serviceProviderProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(18); }); } - QueryBuilder - attachmentTipProperty() { + QueryBuilder attachmentTipProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(19); }); } - QueryBuilder + QueryBuilder timeMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(20); }); } - QueryBuilder + QueryBuilder workMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(21); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> frequencyMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(22); }); } - QueryBuilder + QueryBuilder specialsMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(23); }); } - QueryBuilder + QueryBuilder matchingActionsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(24); }); } - QueryBuilder + QueryBuilder redundantExpertiseProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(25); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> organismActionsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(26); }); } - QueryBuilder + QueryBuilder actionGroupProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(27); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> fundingProgramsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(28); }); } - QueryBuilder?), QAfterProperty> - filesProperty() { + QueryBuilder?), QAfterProperty> filesProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(29); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> numberOfActionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(30); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> factsheetStatusProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(31); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> requiredLocationProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(32); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> businessProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(33); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> referenceActionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(34); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> attachmentMaterialProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(35); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> requiredAllowanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(36); }); } - QueryBuilder + QueryBuilder requiredTimeForActionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(37); }); } - QueryBuilder - costsMaterialProperty() { + QueryBuilder costsMaterialProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(38); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> expertiseWorkerProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(39); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> expertiseContactProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(40); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> materialActionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(41); }); } - QueryBuilder + QueryBuilder timeframeActionAdditionalProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(42); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> maintenanceMaterialProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(43); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> sourcesListProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(44); }); } - QueryBuilder requirementsProperty() { + QueryBuilder requirementsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(45); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> materialMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(46); }); } - QueryBuilder + QueryBuilder timeMaintenanceAdditionalProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(47); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> combinedActionsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(48); }); } - QueryBuilder doneProperty() { + QueryBuilder doneProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(49); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> existingFactSheetProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(50); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> timeframeMaintenance2Property() { return QueryBuilder.apply(this, (query) { return query.addProperty(51); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> treeTypesProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(52); }); } - QueryBuilder + QueryBuilder frequencyMaintenanceAdditionalProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(53); }); } - QueryBuilder + QueryBuilder specialCreationProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(54); }); } - QueryBuilder + QueryBuilder oekologischeRelevanzBackgroundProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(55); }); } - QueryBuilder + QueryBuilder remarkablePresetsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(56); }); } - QueryBuilder + QueryBuilder remarkableMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(57); }); } - QueryBuilder tipsPresetsProperty() { + QueryBuilder tipsPresetsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(58); }); } - QueryBuilder + QueryBuilder tipsMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(59); }); } - QueryBuilder + QueryBuilder goodToKnowAttachmentProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(60); }); } - QueryBuilder - tipsBackgroundProperty() { + QueryBuilder tipsBackgroundProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(61); }); } - QueryBuilder + QueryBuilder specialBackgroundProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(62); }); } - QueryBuilder?), QAfterProperty> + QueryBuilder?), QAfterProperty> sourcesUsedInDataSheetProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(63); }); } - QueryBuilder idProperty() { + QueryBuilder idProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(0); }); } } -extension MassnahmeQueryProperty3 - on QueryBuilder { - QueryBuilder - orderStringProperty() { +extension MeasureQueryProperty3 + on QueryBuilder { + QueryBuilder orderStringProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(1); }); } - QueryBuilder nameProperty() { + QueryBuilder nameProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(2); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> factsheetAreaTypeProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(3); }); } - QueryBuilder examplesProperty() { + QueryBuilder examplesProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(4); }); } - QueryBuilder + QueryBuilder factsheetDefinitionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(5); }); } - QueryBuilder + QueryBuilder factsheetTargetProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(6); }); } - QueryBuilder + QueryBuilder scientificBackgroundRedundantProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(7); }); } - QueryBuilder + QueryBuilder factsheetScientificBackgroundProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(8); }); } - QueryBuilder sourcesProperty() { + QueryBuilder sourcesProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(9); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> timeFrameProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(10); }); } - QueryBuilder + QueryBuilder attachmentReminderProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(11); }); } - QueryBuilder + QueryBuilder attachmentWorkStepsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(12); }); } - QueryBuilder + QueryBuilder factsheetLocationProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(13); }); } - QueryBuilder + QueryBuilder factsheetSizeAreaProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(14); }); } - QueryBuilder + QueryBuilder redundantAllowanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(15); }); } - QueryBuilder - moneyActionProperty() { + QueryBuilder moneyActionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(16); }); } - QueryBuilder timeActionProperty() { + QueryBuilder timeActionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(17); }); } - QueryBuilder + QueryBuilder serviceProviderProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(18); }); } - QueryBuilder + QueryBuilder attachmentTipProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(19); }); } - QueryBuilder + QueryBuilder timeMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(20); }); } - QueryBuilder + QueryBuilder workMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(21); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> frequencyMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(22); }); } - QueryBuilder + QueryBuilder specialsMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(23); }); } - QueryBuilder + QueryBuilder matchingActionsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(24); }); } - QueryBuilder + QueryBuilder redundantExpertiseProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(25); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> organismActionsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(26); }); } - QueryBuilder + QueryBuilder actionGroupProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(27); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> fundingProgramsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(28); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> filesProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(29); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> numberOfActionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(30); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> factsheetStatusProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(31); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> requiredLocationProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(32); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> businessProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(33); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> referenceActionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(34); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> attachmentMaterialProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(35); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> requiredAllowanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(36); }); } - QueryBuilder + QueryBuilder requiredTimeForActionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(37); }); } - QueryBuilder + QueryBuilder costsMaterialProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(38); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> expertiseWorkerProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(39); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> expertiseContactProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(40); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> materialActionProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(41); }); } - QueryBuilder + QueryBuilder timeframeActionAdditionalProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(42); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> maintenanceMaterialProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(43); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> sourcesListProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(44); }); } - QueryBuilder - requirementsProperty() { + QueryBuilder requirementsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(45); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> materialMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(46); }); } - QueryBuilder + QueryBuilder timeMaintenanceAdditionalProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(47); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> combinedActionsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(48); }); } - QueryBuilder doneProperty() { + QueryBuilder doneProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(49); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> existingFactSheetProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(50); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> timeframeMaintenance2Property() { return QueryBuilder.apply(this, (query) { return query.addProperty(51); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> treeTypesProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(52); }); } - QueryBuilder + QueryBuilder frequencyMaintenanceAdditionalProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(53); }); } - QueryBuilder + QueryBuilder specialCreationProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(54); }); } - QueryBuilder + QueryBuilder oekologischeRelevanzBackgroundProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(55); }); } - QueryBuilder + QueryBuilder remarkablePresetsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(56); }); } - QueryBuilder + QueryBuilder remarkableMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(57); }); } - QueryBuilder - tipsPresetsProperty() { + QueryBuilder tipsPresetsProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(58); }); } - QueryBuilder + QueryBuilder tipsMaintenanceProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(59); }); } - QueryBuilder + QueryBuilder goodToKnowAttachmentProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(60); }); } - QueryBuilder + QueryBuilder tipsBackgroundProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(61); }); } - QueryBuilder + QueryBuilder specialBackgroundProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(62); }); } - QueryBuilder?), QOperations> + QueryBuilder?), QOperations> sourcesUsedInDataSheetProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(63); }); } - QueryBuilder idProperty() { + QueryBuilder idProperty() { return QueryBuilder.apply(this, (query) { return query.addProperty(0); }); @@ -13967,7 +13880,7 @@ extension MassnahmeQueryProperty3 // JsonSerializableGenerator // ************************************************************************** -Massnahme _$MassnahmeFromJson(Map json) => Massnahme() +Measure _$MeasureFromJson(Map json) => Measure() ..id = (json['id'] as num).toInt() ..orderString = json['order'] as String? ..name = json['Maßnahmenbezeichung'] as String? @@ -14088,7 +14001,7 @@ Massnahme _$MassnahmeFromJson(Map json) => Massnahme() ?.map((e) => IdValue.fromJson(e as Map)) .toList(); -Map _$MassnahmeToJson(Massnahme instance) => { +Map _$MeasureToJson(Measure instance) => { 'id': instance.id, 'order': instance.orderString, 'Maßnahmenbezeichung': instance.name, diff --git a/lib/src/domain/entity/measure_combination/measure_combination.dart b/lib/src/domain/entity/measure_combination/measure_combination.dart new file mode 100644 index 0000000..4d3c6b6 --- /dev/null +++ b/lib/src/domain/entity/measure_combination/measure_combination.dart @@ -0,0 +1,24 @@ +import 'package:ambito/src/domain/entity/entities.dart'; +import 'package:isar/isar.dart'; +import 'package:json_annotation/json_annotation.dart'; + +part 'measure_combination.g.dart'; + +@collection +@JsonSerializable(explicitToJson: true) +class MeasureCombination extends BaseEntity with EntityWithIdAndName { + MeasureCombination(); + + @Index() + @JsonKey(name: 'Aktiv') + bool? active; + @JsonKey(name: 'Maßnahmenkombination') + List? combinations; + @JsonKey(name: 'Anmerkungen') + String? notices; + + factory MeasureCombination.fromJson(Map json) => + _$MeasureCombinationFromJson(json); + + Map toJson() => _$MeasureCombinationToJson(this); +} diff --git a/lib/src/domain/entity/measure_combination/measure_combination.g.dart b/lib/src/domain/entity/measure_combination/measure_combination.g.dart new file mode 100644 index 0000000..8e37d5c --- /dev/null +++ b/lib/src/domain/entity/measure_combination/measure_combination.g.dart @@ -0,0 +1,1169 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'measure_combination.dart'; + +// ************************************************************************** +// _IsarCollectionGenerator +// ************************************************************************** + +// coverage:ignore-file +// ignore_for_file: duplicate_ignore, invalid_use_of_protected_member, lines_longer_than_80_chars, constant_identifier_names, avoid_js_rounded_ints, no_leading_underscores_for_local_identifiers, require_trailing_commas, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_in_if_null_operators, library_private_types_in_public_api, prefer_const_constructors +// ignore_for_file: type=lint + +extension GetMeasureCombinationCollection on Isar { + IsarCollection get measureCombinations => + this.collection(); +} + +const MeasureCombinationSchema = IsarGeneratedSchema( + schema: IsarSchema( + name: 'MeasureCombination', + idName: 'id', + embedded: false, + properties: [ + IsarPropertySchema( + name: 'active', + type: IsarType.bool, + ), + IsarPropertySchema( + name: 'combinations', + type: IsarType.objectList, + target: 'IdValue', + ), + IsarPropertySchema( + name: 'notices', + type: IsarType.string, + ), + IsarPropertySchema( + name: 'name', + type: IsarType.string, + ), + ], + indexes: [ + IsarIndexSchema( + name: 'active', + properties: [ + "active", + ], + unique: false, + hash: false, + ), + IsarIndexSchema( + name: 'name', + properties: [ + "name", + ], + unique: true, + hash: true, + ), + ], + ), + converter: IsarObjectConverter( + serialize: serializeMeasureCombination, + deserialize: deserializeMeasureCombination, + deserializeProperty: deserializeMeasureCombinationProp, + ), + embeddedSchemas: [IdValueSchema], +); + +@isarProtected +int serializeMeasureCombination(IsarWriter writer, MeasureCombination object) { + { + final value = object.active; + if (value == null) { + IsarCore.writeNull(writer, 1); + } else { + IsarCore.writeBool(writer, 1, value); + } + } + { + final list = object.combinations; + if (list == null) { + IsarCore.writeNull(writer, 2); + } else { + final listWriter = IsarCore.beginList(writer, 2, list.length); + for (var i = 0; i < list.length; i++) { + { + final value = list[i]; + final objectWriter = IsarCore.beginObject(listWriter, i); + serializeIdValue(objectWriter, value); + IsarCore.endObject(listWriter, objectWriter); + } + } + IsarCore.endList(writer, listWriter); + } + } + { + final value = object.notices; + if (value == null) { + IsarCore.writeNull(writer, 3); + } else { + IsarCore.writeString(writer, 3, value); + } + } + { + final value = object.name; + if (value == null) { + IsarCore.writeNull(writer, 4); + } else { + IsarCore.writeString(writer, 4, value); + } + } + return object.id; +} + +@isarProtected +MeasureCombination deserializeMeasureCombination(IsarReader reader) { + final object = MeasureCombination(); + { + if (IsarCore.readNull(reader, 1)) { + object.active = null; + } else { + object.active = IsarCore.readBool(reader, 1); + } + } + { + final length = IsarCore.readList(reader, 2, IsarCore.readerPtrPtr); + { + final reader = IsarCore.readerPtr; + if (reader.isNull) { + object.combinations = null; + } else { + final list = List.filled(length, IdValue(), growable: true); + for (var i = 0; i < length; i++) { + { + final objectReader = IsarCore.readObject(reader, i); + if (objectReader.isNull) { + list[i] = IdValue(); + } else { + final embedded = deserializeIdValue(objectReader); + IsarCore.freeReader(objectReader); + list[i] = embedded; + } + } + } + IsarCore.freeReader(reader); + object.combinations = list; + } + } + } + object.notices = IsarCore.readString(reader, 3); + object.id = IsarCore.readId(reader); + object.name = IsarCore.readString(reader, 4); + return object; +} + +@isarProtected +dynamic deserializeMeasureCombinationProp(IsarReader reader, int property) { + switch (property) { + case 1: + { + if (IsarCore.readNull(reader, 1)) { + return null; + } else { + return IsarCore.readBool(reader, 1); + } + } + case 2: + { + final length = IsarCore.readList(reader, 2, IsarCore.readerPtrPtr); + { + final reader = IsarCore.readerPtr; + if (reader.isNull) { + return null; + } else { + final list = + List.filled(length, IdValue(), growable: true); + for (var i = 0; i < length; i++) { + { + final objectReader = IsarCore.readObject(reader, i); + if (objectReader.isNull) { + list[i] = IdValue(); + } else { + final embedded = deserializeIdValue(objectReader); + IsarCore.freeReader(objectReader); + list[i] = embedded; + } + } + } + IsarCore.freeReader(reader); + return list; + } + } + } + case 3: + return IsarCore.readString(reader, 3); + case 0: + return IsarCore.readId(reader); + case 4: + return IsarCore.readString(reader, 4); + default: + throw ArgumentError('Unknown property: $property'); + } +} + +sealed class _MeasureCombinationUpdate { + bool call({ + required int id, + bool? active, + String? notices, + String? name, + }); +} + +class _MeasureCombinationUpdateImpl implements _MeasureCombinationUpdate { + const _MeasureCombinationUpdateImpl(this.collection); + + final IsarCollection collection; + + @override + bool call({ + required int id, + Object? active = ignore, + Object? notices = ignore, + Object? name = ignore, + }) { + return collection.updateProperties([ + id + ], { + if (active != ignore) 1: active as bool?, + if (notices != ignore) 3: notices as String?, + if (name != ignore) 4: name as String?, + }) > + 0; + } +} + +sealed class _MeasureCombinationUpdateAll { + int call({ + required List id, + bool? active, + String? notices, + String? name, + }); +} + +class _MeasureCombinationUpdateAllImpl implements _MeasureCombinationUpdateAll { + const _MeasureCombinationUpdateAllImpl(this.collection); + + final IsarCollection collection; + + @override + int call({ + required List id, + Object? active = ignore, + Object? notices = ignore, + Object? name = ignore, + }) { + return collection.updateProperties(id, { + if (active != ignore) 1: active as bool?, + if (notices != ignore) 3: notices as String?, + if (name != ignore) 4: name as String?, + }); + } +} + +extension MeasureCombinationUpdate on IsarCollection { + _MeasureCombinationUpdate get update => _MeasureCombinationUpdateImpl(this); + + _MeasureCombinationUpdateAll get updateAll => + _MeasureCombinationUpdateAllImpl(this); +} + +sealed class _MeasureCombinationQueryUpdate { + int call({ + bool? active, + String? notices, + String? name, + }); +} + +class _MeasureCombinationQueryUpdateImpl + implements _MeasureCombinationQueryUpdate { + const _MeasureCombinationQueryUpdateImpl(this.query, {this.limit}); + + final IsarQuery query; + final int? limit; + + @override + int call({ + Object? active = ignore, + Object? notices = ignore, + Object? name = ignore, + }) { + return query.updateProperties(limit: limit, { + if (active != ignore) 1: active as bool?, + if (notices != ignore) 3: notices as String?, + if (name != ignore) 4: name as String?, + }); + } +} + +extension MeasureCombinationQueryUpdate on IsarQuery { + _MeasureCombinationQueryUpdate get updateFirst => + _MeasureCombinationQueryUpdateImpl(this, limit: 1); + + _MeasureCombinationQueryUpdate get updateAll => + _MeasureCombinationQueryUpdateImpl(this); +} + +class _MeasureCombinationQueryBuilderUpdateImpl + implements _MeasureCombinationQueryUpdate { + const _MeasureCombinationQueryBuilderUpdateImpl(this.query, {this.limit}); + + final QueryBuilder query; + final int? limit; + + @override + int call({ + Object? active = ignore, + Object? notices = ignore, + Object? name = ignore, + }) { + final q = query.build(); + try { + return q.updateProperties(limit: limit, { + if (active != ignore) 1: active as bool?, + if (notices != ignore) 3: notices as String?, + if (name != ignore) 4: name as String?, + }); + } finally { + q.close(); + } + } +} + +extension MeasureCombinationQueryBuilderUpdate + on QueryBuilder { + _MeasureCombinationQueryUpdate get updateFirst => + _MeasureCombinationQueryBuilderUpdateImpl(this, limit: 1); + + _MeasureCombinationQueryUpdate get updateAll => + _MeasureCombinationQueryBuilderUpdateImpl(this); +} + +extension MeasureCombinationQueryFilter + on QueryBuilder { + QueryBuilder + activeIsNull() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition(const IsNullCondition(property: 1)); + }); + } + + QueryBuilder + activeIsNotNull() { + return QueryBuilder.apply(not(), (query) { + return query.addFilterCondition(const IsNullCondition(property: 1)); + }); + } + + QueryBuilder + activeEqualTo( + bool? value, + ) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + EqualCondition( + property: 1, + value: value, + ), + ); + }); + } + + QueryBuilder + combinationsIsNull() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition(const IsNullCondition(property: 2)); + }); + } + + QueryBuilder + combinationsIsNotNull() { + return QueryBuilder.apply(not(), (query) { + return query.addFilterCondition(const IsNullCondition(property: 2)); + }); + } + + QueryBuilder + combinationsIsEmpty() { + return not().group( + (q) => q.combinationsIsNull().or().combinationsIsNotEmpty(), + ); + } + + QueryBuilder + combinationsIsNotEmpty() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + const GreaterOrEqualCondition(property: 2, value: null), + ); + }); + } + + QueryBuilder + noticesIsNull() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition(const IsNullCondition(property: 3)); + }); + } + + QueryBuilder + noticesIsNotNull() { + return QueryBuilder.apply(not(), (query) { + return query.addFilterCondition(const IsNullCondition(property: 3)); + }); + } + + QueryBuilder + noticesEqualTo( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + EqualCondition( + property: 3, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + noticesGreaterThan( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + GreaterCondition( + property: 3, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + noticesGreaterThanOrEqualTo( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + GreaterOrEqualCondition( + property: 3, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + noticesLessThan( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + LessCondition( + property: 3, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + noticesLessThanOrEqualTo( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + LessOrEqualCondition( + property: 3, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + noticesBetween( + String? lower, + String? upper, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + BetweenCondition( + property: 3, + lower: lower, + upper: upper, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + noticesStartsWith( + String value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + StartsWithCondition( + property: 3, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + noticesEndsWith( + String value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + EndsWithCondition( + property: 3, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + noticesContains(String value, {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + ContainsCondition( + property: 3, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + noticesMatches(String pattern, {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + MatchesCondition( + property: 3, + wildcard: pattern, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + noticesIsEmpty() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + const EqualCondition( + property: 3, + value: '', + ), + ); + }); + } + + QueryBuilder + noticesIsNotEmpty() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + const GreaterCondition( + property: 3, + value: '', + ), + ); + }); + } + + QueryBuilder + idEqualTo( + int value, + ) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + EqualCondition( + property: 0, + value: value, + ), + ); + }); + } + + QueryBuilder + idGreaterThan( + int value, + ) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + GreaterCondition( + property: 0, + value: value, + ), + ); + }); + } + + QueryBuilder + idGreaterThanOrEqualTo( + int value, + ) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + GreaterOrEqualCondition( + property: 0, + value: value, + ), + ); + }); + } + + QueryBuilder + idLessThan( + int value, + ) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + LessCondition( + property: 0, + value: value, + ), + ); + }); + } + + QueryBuilder + idLessThanOrEqualTo( + int value, + ) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + LessOrEqualCondition( + property: 0, + value: value, + ), + ); + }); + } + + QueryBuilder + idBetween( + int lower, + int upper, + ) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + BetweenCondition( + property: 0, + lower: lower, + upper: upper, + ), + ); + }); + } + + QueryBuilder + nameIsNull() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition(const IsNullCondition(property: 4)); + }); + } + + QueryBuilder + nameIsNotNull() { + return QueryBuilder.apply(not(), (query) { + return query.addFilterCondition(const IsNullCondition(property: 4)); + }); + } + + QueryBuilder + nameEqualTo( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + EqualCondition( + property: 4, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameGreaterThan( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + GreaterCondition( + property: 4, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameGreaterThanOrEqualTo( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + GreaterOrEqualCondition( + property: 4, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameLessThan( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + LessCondition( + property: 4, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameLessThanOrEqualTo( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + LessOrEqualCondition( + property: 4, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameBetween( + String? lower, + String? upper, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + BetweenCondition( + property: 4, + lower: lower, + upper: upper, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameStartsWith( + String value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + StartsWithCondition( + property: 4, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameEndsWith( + String value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + EndsWithCondition( + property: 4, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameContains(String value, {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + ContainsCondition( + property: 4, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameMatches(String pattern, {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + MatchesCondition( + property: 4, + wildcard: pattern, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameIsEmpty() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + const EqualCondition( + property: 4, + value: '', + ), + ); + }); + } + + QueryBuilder + nameIsNotEmpty() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + const GreaterCondition( + property: 4, + value: '', + ), + ); + }); + } +} + +extension MeasureCombinationQueryObject + on QueryBuilder {} + +extension MeasureCombinationQuerySortBy + on QueryBuilder { + QueryBuilder + sortByActive() { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(1); + }); + } + + QueryBuilder + sortByActiveDesc() { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(1, sort: Sort.desc); + }); + } + + QueryBuilder + sortByNotices({bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy( + 3, + caseSensitive: caseSensitive, + ); + }); + } + + QueryBuilder + sortByNoticesDesc({bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy( + 3, + sort: Sort.desc, + caseSensitive: caseSensitive, + ); + }); + } + + QueryBuilder + sortById() { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(0); + }); + } + + QueryBuilder + sortByIdDesc() { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(0, sort: Sort.desc); + }); + } + + QueryBuilder sortByName( + {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy( + 4, + caseSensitive: caseSensitive, + ); + }); + } + + QueryBuilder + sortByNameDesc({bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy( + 4, + sort: Sort.desc, + caseSensitive: caseSensitive, + ); + }); + } +} + +extension MeasureCombinationQuerySortThenBy + on QueryBuilder { + QueryBuilder + thenByActive() { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(1); + }); + } + + QueryBuilder + thenByActiveDesc() { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(1, sort: Sort.desc); + }); + } + + QueryBuilder + thenByNotices({bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(3, caseSensitive: caseSensitive); + }); + } + + QueryBuilder + thenByNoticesDesc({bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(3, sort: Sort.desc, caseSensitive: caseSensitive); + }); + } + + QueryBuilder + thenById() { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(0); + }); + } + + QueryBuilder + thenByIdDesc() { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(0, sort: Sort.desc); + }); + } + + QueryBuilder thenByName( + {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(4, caseSensitive: caseSensitive); + }); + } + + QueryBuilder + thenByNameDesc({bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(4, sort: Sort.desc, caseSensitive: caseSensitive); + }); + } +} + +extension MeasureCombinationQueryWhereDistinct + on QueryBuilder { + QueryBuilder + distinctByActive() { + return QueryBuilder.apply(this, (query) { + return query.addDistinctBy(1); + }); + } + + QueryBuilder + distinctByNotices({bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addDistinctBy(3, caseSensitive: caseSensitive); + }); + } + + QueryBuilder + distinctByName({bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addDistinctBy(4, caseSensitive: caseSensitive); + }); + } +} + +extension MeasureCombinationQueryProperty1 + on QueryBuilder { + QueryBuilder activeProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(1); + }); + } + + QueryBuilder?, QAfterProperty> + combinationsProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(2); + }); + } + + QueryBuilder noticesProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(3); + }); + } + + QueryBuilder idProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(0); + }); + } + + QueryBuilder nameProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(4); + }); + } +} + +extension MeasureCombinationQueryProperty2 + on QueryBuilder { + QueryBuilder + activeProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(1); + }); + } + + QueryBuilder?), QAfterProperty> + combinationsProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(2); + }); + } + + QueryBuilder + noticesProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(3); + }); + } + + QueryBuilder idProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(0); + }); + } + + QueryBuilder + nameProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(4); + }); + } +} + +extension MeasureCombinationQueryProperty3 + on QueryBuilder { + QueryBuilder + activeProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(1); + }); + } + + QueryBuilder?), QOperations> + combinationsProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(2); + }); + } + + QueryBuilder + noticesProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(3); + }); + } + + QueryBuilder idProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(0); + }); + } + + QueryBuilder + nameProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(4); + }); + } +} + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +MeasureCombination _$MeasureCombinationFromJson(Map json) => + MeasureCombination() + ..id = (json['id'] as num).toInt() + ..name = json['Name'] as String? + ..active = json['Aktiv'] as bool? + ..combinations = (json['Maßnahmenkombination'] as List?) + ?.map((e) => IdValue.fromJson(e as Map)) + .toList() + ..notices = json['Anmerkungen'] as String?; + +Map _$MeasureCombinationToJson(MeasureCombination instance) => + { + 'id': instance.id, + 'Name': instance.name, + 'Aktiv': instance.active, + 'Maßnahmenkombination': + instance.combinations?.map((e) => e.toJson()).toList(), + 'Anmerkungen': instance.notices, + }; diff --git a/lib/src/domain/entity/organism/organism.dart b/lib/src/domain/entity/organism/organism.dart new file mode 100644 index 0000000..a3e172a --- /dev/null +++ b/lib/src/domain/entity/organism/organism.dart @@ -0,0 +1,19 @@ +import 'package:ambito/src/domain/entity/entities.dart'; +import 'package:isar/isar.dart'; +import 'package:json_annotation/json_annotation.dart'; + +part 'organism.g.dart'; + +@JsonSerializable(explicitToJson: true) +@collection +class Organism extends BaseEntity with EntityWithIdAndName { + Organism(); + + @JsonKey(name: 'Maßnahmen') + List? measures; + + factory Organism.fromJson(Map json) => + _$OrganismFromJson(json); + + Map toJson() => _$OrganismToJson(this); +} diff --git a/lib/src/domain/entity/organism/organism.g.dart b/lib/src/domain/entity/organism/organism.g.dart new file mode 100644 index 0000000..7383622 --- /dev/null +++ b/lib/src/domain/entity/organism/organism.g.dart @@ -0,0 +1,719 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'organism.dart'; + +// ************************************************************************** +// _IsarCollectionGenerator +// ************************************************************************** + +// coverage:ignore-file +// ignore_for_file: duplicate_ignore, invalid_use_of_protected_member, lines_longer_than_80_chars, constant_identifier_names, avoid_js_rounded_ints, no_leading_underscores_for_local_identifiers, require_trailing_commas, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_in_if_null_operators, library_private_types_in_public_api, prefer_const_constructors +// ignore_for_file: type=lint + +extension GetOrganismCollection on Isar { + IsarCollection get organisms => this.collection(); +} + +const OrganismSchema = IsarGeneratedSchema( + schema: IsarSchema( + name: 'Organism', + idName: 'id', + embedded: false, + properties: [ + IsarPropertySchema( + name: 'measures', + type: IsarType.objectList, + target: 'IdValue', + ), + IsarPropertySchema( + name: 'name', + type: IsarType.string, + ), + ], + indexes: [ + IsarIndexSchema( + name: 'name', + properties: [ + "name", + ], + unique: true, + hash: true, + ), + ], + ), + converter: IsarObjectConverter( + serialize: serializeOrganism, + deserialize: deserializeOrganism, + deserializeProperty: deserializeOrganismProp, + ), + embeddedSchemas: [IdValueSchema], +); + +@isarProtected +int serializeOrganism(IsarWriter writer, Organism object) { + { + final list = object.measures; + if (list == null) { + IsarCore.writeNull(writer, 1); + } else { + final listWriter = IsarCore.beginList(writer, 1, list.length); + for (var i = 0; i < list.length; i++) { + { + final value = list[i]; + final objectWriter = IsarCore.beginObject(listWriter, i); + serializeIdValue(objectWriter, value); + IsarCore.endObject(listWriter, objectWriter); + } + } + IsarCore.endList(writer, listWriter); + } + } + { + final value = object.name; + if (value == null) { + IsarCore.writeNull(writer, 2); + } else { + IsarCore.writeString(writer, 2, value); + } + } + return object.id; +} + +@isarProtected +Organism deserializeOrganism(IsarReader reader) { + final object = Organism(); + { + final length = IsarCore.readList(reader, 1, IsarCore.readerPtrPtr); + { + final reader = IsarCore.readerPtr; + if (reader.isNull) { + object.measures = null; + } else { + final list = List.filled(length, IdValue(), growable: true); + for (var i = 0; i < length; i++) { + { + final objectReader = IsarCore.readObject(reader, i); + if (objectReader.isNull) { + list[i] = IdValue(); + } else { + final embedded = deserializeIdValue(objectReader); + IsarCore.freeReader(objectReader); + list[i] = embedded; + } + } + } + IsarCore.freeReader(reader); + object.measures = list; + } + } + } + object.id = IsarCore.readId(reader); + object.name = IsarCore.readString(reader, 2); + return object; +} + +@isarProtected +dynamic deserializeOrganismProp(IsarReader reader, int property) { + switch (property) { + case 1: + { + final length = IsarCore.readList(reader, 1, IsarCore.readerPtrPtr); + { + final reader = IsarCore.readerPtr; + if (reader.isNull) { + return null; + } else { + final list = + List.filled(length, IdValue(), growable: true); + for (var i = 0; i < length; i++) { + { + final objectReader = IsarCore.readObject(reader, i); + if (objectReader.isNull) { + list[i] = IdValue(); + } else { + final embedded = deserializeIdValue(objectReader); + IsarCore.freeReader(objectReader); + list[i] = embedded; + } + } + } + IsarCore.freeReader(reader); + return list; + } + } + } + case 0: + return IsarCore.readId(reader); + case 2: + return IsarCore.readString(reader, 2); + default: + throw ArgumentError('Unknown property: $property'); + } +} + +sealed class _OrganismUpdate { + bool call({ + required int id, + String? name, + }); +} + +class _OrganismUpdateImpl implements _OrganismUpdate { + const _OrganismUpdateImpl(this.collection); + + final IsarCollection collection; + + @override + bool call({ + required int id, + Object? name = ignore, + }) { + return collection.updateProperties([ + id + ], { + if (name != ignore) 2: name as String?, + }) > + 0; + } +} + +sealed class _OrganismUpdateAll { + int call({ + required List id, + String? name, + }); +} + +class _OrganismUpdateAllImpl implements _OrganismUpdateAll { + const _OrganismUpdateAllImpl(this.collection); + + final IsarCollection collection; + + @override + int call({ + required List id, + Object? name = ignore, + }) { + return collection.updateProperties(id, { + if (name != ignore) 2: name as String?, + }); + } +} + +extension OrganismUpdate on IsarCollection { + _OrganismUpdate get update => _OrganismUpdateImpl(this); + + _OrganismUpdateAll get updateAll => _OrganismUpdateAllImpl(this); +} + +sealed class _OrganismQueryUpdate { + int call({ + String? name, + }); +} + +class _OrganismQueryUpdateImpl implements _OrganismQueryUpdate { + const _OrganismQueryUpdateImpl(this.query, {this.limit}); + + final IsarQuery query; + final int? limit; + + @override + int call({ + Object? name = ignore, + }) { + return query.updateProperties(limit: limit, { + if (name != ignore) 2: name as String?, + }); + } +} + +extension OrganismQueryUpdate on IsarQuery { + _OrganismQueryUpdate get updateFirst => + _OrganismQueryUpdateImpl(this, limit: 1); + + _OrganismQueryUpdate get updateAll => _OrganismQueryUpdateImpl(this); +} + +class _OrganismQueryBuilderUpdateImpl implements _OrganismQueryUpdate { + const _OrganismQueryBuilderUpdateImpl(this.query, {this.limit}); + + final QueryBuilder query; + final int? limit; + + @override + int call({ + Object? name = ignore, + }) { + final q = query.build(); + try { + return q.updateProperties(limit: limit, { + if (name != ignore) 2: name as String?, + }); + } finally { + q.close(); + } + } +} + +extension OrganismQueryBuilderUpdate + on QueryBuilder { + _OrganismQueryUpdate get updateFirst => + _OrganismQueryBuilderUpdateImpl(this, limit: 1); + + _OrganismQueryUpdate get updateAll => _OrganismQueryBuilderUpdateImpl(this); +} + +extension OrganismQueryFilter + on QueryBuilder { + QueryBuilder measuresIsNull() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition(const IsNullCondition(property: 1)); + }); + } + + QueryBuilder measuresIsNotNull() { + return QueryBuilder.apply(not(), (query) { + return query.addFilterCondition(const IsNullCondition(property: 1)); + }); + } + + QueryBuilder measuresIsEmpty() { + return not().group( + (q) => q.measuresIsNull().or().measuresIsNotEmpty(), + ); + } + + QueryBuilder measuresIsNotEmpty() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + const GreaterOrEqualCondition(property: 1, value: null), + ); + }); + } + + QueryBuilder idEqualTo( + int value, + ) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + EqualCondition( + property: 0, + value: value, + ), + ); + }); + } + + QueryBuilder idGreaterThan( + int value, + ) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + GreaterCondition( + property: 0, + value: value, + ), + ); + }); + } + + QueryBuilder + idGreaterThanOrEqualTo( + int value, + ) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + GreaterOrEqualCondition( + property: 0, + value: value, + ), + ); + }); + } + + QueryBuilder idLessThan( + int value, + ) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + LessCondition( + property: 0, + value: value, + ), + ); + }); + } + + QueryBuilder idLessThanOrEqualTo( + int value, + ) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + LessOrEqualCondition( + property: 0, + value: value, + ), + ); + }); + } + + QueryBuilder idBetween( + int lower, + int upper, + ) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + BetweenCondition( + property: 0, + lower: lower, + upper: upper, + ), + ); + }); + } + + QueryBuilder nameIsNull() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition(const IsNullCondition(property: 2)); + }); + } + + QueryBuilder nameIsNotNull() { + return QueryBuilder.apply(not(), (query) { + return query.addFilterCondition(const IsNullCondition(property: 2)); + }); + } + + QueryBuilder nameEqualTo( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + EqualCondition( + property: 2, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder nameGreaterThan( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + GreaterCondition( + property: 2, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder + nameGreaterThanOrEqualTo( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + GreaterOrEqualCondition( + property: 2, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder nameLessThan( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + LessCondition( + property: 2, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder nameLessThanOrEqualTo( + String? value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + LessOrEqualCondition( + property: 2, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder nameBetween( + String? lower, + String? upper, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + BetweenCondition( + property: 2, + lower: lower, + upper: upper, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder nameStartsWith( + String value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + StartsWithCondition( + property: 2, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder nameEndsWith( + String value, { + bool caseSensitive = true, + }) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + EndsWithCondition( + property: 2, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder nameContains( + String value, + {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + ContainsCondition( + property: 2, + value: value, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder nameMatches( + String pattern, + {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + MatchesCondition( + property: 2, + wildcard: pattern, + caseSensitive: caseSensitive, + ), + ); + }); + } + + QueryBuilder nameIsEmpty() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + const EqualCondition( + property: 2, + value: '', + ), + ); + }); + } + + QueryBuilder nameIsNotEmpty() { + return QueryBuilder.apply(this, (query) { + return query.addFilterCondition( + const GreaterCondition( + property: 2, + value: '', + ), + ); + }); + } +} + +extension OrganismQueryObject + on QueryBuilder {} + +extension OrganismQuerySortBy on QueryBuilder { + QueryBuilder sortById() { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(0); + }); + } + + QueryBuilder sortByIdDesc() { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(0, sort: Sort.desc); + }); + } + + QueryBuilder sortByName( + {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy( + 2, + caseSensitive: caseSensitive, + ); + }); + } + + QueryBuilder sortByNameDesc( + {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy( + 2, + sort: Sort.desc, + caseSensitive: caseSensitive, + ); + }); + } +} + +extension OrganismQuerySortThenBy + on QueryBuilder { + QueryBuilder thenById() { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(0); + }); + } + + QueryBuilder thenByIdDesc() { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(0, sort: Sort.desc); + }); + } + + QueryBuilder thenByName( + {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(2, caseSensitive: caseSensitive); + }); + } + + QueryBuilder thenByNameDesc( + {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addSortBy(2, sort: Sort.desc, caseSensitive: caseSensitive); + }); + } +} + +extension OrganismQueryWhereDistinct + on QueryBuilder { + QueryBuilder distinctByName( + {bool caseSensitive = true}) { + return QueryBuilder.apply(this, (query) { + return query.addDistinctBy(2, caseSensitive: caseSensitive); + }); + } +} + +extension OrganismQueryProperty1 + on QueryBuilder { + QueryBuilder?, QAfterProperty> measuresProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(1); + }); + } + + QueryBuilder idProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(0); + }); + } + + QueryBuilder nameProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(2); + }); + } +} + +extension OrganismQueryProperty2 + on QueryBuilder { + QueryBuilder?), QAfterProperty> + measuresProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(1); + }); + } + + QueryBuilder idProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(0); + }); + } + + QueryBuilder nameProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(2); + }); + } +} + +extension OrganismQueryProperty3 + on QueryBuilder { + QueryBuilder?), QOperations> + measuresProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(1); + }); + } + + QueryBuilder idProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(0); + }); + } + + QueryBuilder nameProperty() { + return QueryBuilder.apply(this, (query) { + return query.addProperty(2); + }); + } +} + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Organism _$OrganismFromJson(Map json) => Organism() + ..id = (json['id'] as num).toInt() + ..name = json['Name'] as String? + ..measures = (json['Maßnahmen'] as List?) + ?.map((e) => IdValue.fromJson(e as Map)) + .toList(); + +Map _$OrganismToJson(Organism instance) => { + 'id': instance.id, + 'Name': instance.name, + 'Maßnahmen': instance.measures?.map((e) => e.toJson()).toList(), + }; diff --git a/lib/src/packages/ambito_api/base.dart b/lib/src/packages/ambito_api/base.dart index 10f7bf2..23cb9a0 100644 --- a/lib/src/packages/ambito_api/base.dart +++ b/lib/src/packages/ambito_api/base.dart @@ -1,30 +1,12 @@ import 'dart:convert'; import 'package:ambito/src/domain/entity/entities.dart'; +import 'package:ambito/src/domain/entity/funding_program/funding_program.dart'; import 'package:ambito/src/packages/ambito_api/restclient.dart'; +import 'package:ambito/src/packages/ambito_db/repositories/funding_program_repository.dart'; import 'package:flutter_dotenv/flutter_dotenv.dart'; -import '../ambito_db/repositories/baumarten_repository.dart'; -import '../ambito_db/repositories/massnahme_repository.dart'; - -Map tables = { - 'massnahmen': 328253, - 'massnahmenkombination': 328217, - 'organismen': 328255, - 'foerderprogramme': 328256, - 'factsheet': 328273, - 'standortansprueche': 328188, - 'referenzumsetzung': 328465, - 'betriebsverzeichnis': 328472, - 'erfahrungsbericht': 330802, - 'genehmigungspflicht': 330806, - 'dienstleister': 330824, - 'ansprechperson': 330832, - 'material': 330836, - 'quellen': 334231, - 'baumarten': 342622, - 'aenderungfactsheet': 330946, -}; +import '../ambito_db/base_db.dart'; class BaseApi { Map tables = {}; @@ -47,9 +29,26 @@ class BaseApi { BaumartenRepository().put(Baumarten.fromJson(baumart)); } break; - case 'massnahmen': - for (var massnahme in json['results']) { - MassnahmeRepository().put(Massnahme.fromJson(massnahme)); + case 'measure': + for (var measure in json['results']) { + MeasureRepository().put(Measure.fromJson(measure)); + } + break; + case 'measure_combination': + for (var measure_combination in json['results']) { + MeasureCombinationRepository() + .put(MeasureCombination.fromJson(measure_combination)); + } + break; + case 'organism': + for (var organism in json['results']) { + OrganismRepository().put(Organism.fromJson(organism)); + } + break; + case 'funding_program': + for (var fundingProgram in json['results']) { + FundingProgramRepository() + .put(FundingProgram.fromJson(fundingProgram)); } break; } diff --git a/lib/src/packages/ambito_db/base_db.dart b/lib/src/packages/ambito_db/base_db.dart index d651d80..d0972b9 100644 --- a/lib/src/packages/ambito_db/base_db.dart +++ b/lib/src/packages/ambito_db/base_db.dart @@ -3,6 +3,11 @@ import 'package:isar/isar.dart'; import '../../../main.dart'; +export 'repositories/baumarten_repository.dart'; +export 'repositories/measure_combination_repository.dart'; +export 'repositories/measure_repository.dart'; +export 'repositories/organism_repository.dart'; + abstract class BaseDB { abstract IsarCollection collection; diff --git a/lib/src/packages/ambito_db/repositories/funding_program_repository.dart b/lib/src/packages/ambito_db/repositories/funding_program_repository.dart new file mode 100644 index 0000000..c7435df --- /dev/null +++ b/lib/src/packages/ambito_db/repositories/funding_program_repository.dart @@ -0,0 +1,9 @@ +import 'package:ambito/src/domain/entity/funding_program/funding_program.dart'; +import 'package:ambito/src/packages/ambito_db/base_db.dart'; +import 'package:isar/isar.dart'; + +import '../../../../main.dart'; + +class FundingProgramRepository extends BaseDB { + IsarCollection collection = isar.fundingPrograms; +} diff --git a/lib/src/packages/ambito_db/repositories/measure_combination_repository.dart b/lib/src/packages/ambito_db/repositories/measure_combination_repository.dart new file mode 100644 index 0000000..e8e423e --- /dev/null +++ b/lib/src/packages/ambito_db/repositories/measure_combination_repository.dart @@ -0,0 +1,9 @@ +import 'package:ambito/src/domain/entity/entities.dart'; +import 'package:ambito/src/packages/ambito_db/base_db.dart'; +import 'package:isar/isar.dart'; + +import '../../../../main.dart'; + +class MeasureCombinationRepository extends BaseDB { + IsarCollection collection = isar.measureCombinations; +} diff --git a/lib/src/packages/ambito_db/repositories/massnahme_repository.dart b/lib/src/packages/ambito_db/repositories/measure_repository.dart similarity index 67% rename from lib/src/packages/ambito_db/repositories/massnahme_repository.dart rename to lib/src/packages/ambito_db/repositories/measure_repository.dart index e4200bb..26a278b 100644 --- a/lib/src/packages/ambito_db/repositories/massnahme_repository.dart +++ b/lib/src/packages/ambito_db/repositories/measure_repository.dart @@ -4,6 +4,6 @@ import 'package:isar/isar.dart'; import '../../../../main.dart'; -class MassnahmeRepository extends BaseDB { - IsarCollection collection = isar.massnahmes; +class MeasureRepository extends BaseDB { + IsarCollection collection = isar.measures; } diff --git a/lib/src/packages/ambito_db/repositories/organism_repository.dart b/lib/src/packages/ambito_db/repositories/organism_repository.dart new file mode 100644 index 0000000..a9a3592 --- /dev/null +++ b/lib/src/packages/ambito_db/repositories/organism_repository.dart @@ -0,0 +1,9 @@ +import 'package:ambito/src/domain/entity/entities.dart'; +import 'package:ambito/src/packages/ambito_db/base_db.dart'; +import 'package:isar/isar.dart'; + +import '../../../../main.dart'; + +class OrganismRepository extends BaseDB { + IsarCollection collection = isar.organisms; +} diff --git a/lib/src/pages/actions/actions_page.dart b/lib/src/pages/actions/actions_page.dart index 2f44f7d..b375c31 100644 --- a/lib/src/pages/actions/actions_page.dart +++ b/lib/src/pages/actions/actions_page.dart @@ -1,6 +1,5 @@ -import 'package:ambito/src/domain/entity/massnahme/massnahme.dart'; import 'package:ambito/src/extensions/extensions.dart'; -import 'package:ambito/src/packages/ambito_db/repositories/massnahme_repository.dart'; +import 'package:ambito/src/packages/ambito_db/repositories/measure_repository.dart'; import 'package:ambito/src/widgets/form/fields/field_dropdown.dart'; import 'package:ambito/src/widgets/form/fields/field_monthsrangepicker.dart'; import 'package:ambito/src/widgets/form/form_widget.dart'; @@ -11,6 +10,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_i18n/flutter_i18n.dart'; import '../../../main.dart'; +import '../../domain/entity/entities.dart'; class ActionsPage extends StatefulWidget { const ActionsPage({super.key}); @@ -37,7 +37,7 @@ class ActionsPageState extends State { @override void initState() { super.initState(); - massnahmen = MassnahmeRepository().getAll(); + massnahmen = MeasureRepository().getAll(); effort = []; effect = []; type = {}; @@ -229,7 +229,7 @@ class ActionsPageState extends State { return FormWidget(type: FormWidgetType.vertical, fields: fields); } - Widget getCard(BuildContext context, Massnahme massnahme) { + Widget getCard(BuildContext context, Measure massnahme) { final Map actionGroupColors = { 'Baulelemente': const Color(0xffFFD269), 'Begrünung': const Color(0xff40DD74), diff --git a/pubspec.lock b/pubspec.lock index eb2354c..4a4999e 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -186,10 +186,10 @@ packages: dependency: transitive description: name: convert - sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592" + sha256: b30acd5944035672bc15c6b7a8b47d773e41e2f17de064350988c5d02adb1c68 url: "https://pub.dev" source: hosted - version: "3.1.1" + version: "3.1.2" country_flags: dependency: "direct main" description: @@ -202,10 +202,10 @@ packages: dependency: transitive description: name: crypto - sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27 + sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855" url: "https://pub.dev" source: hosted - version: "3.0.5" + version: "3.0.6" cupertino_icons: dependency: "direct main" description: @@ -298,10 +298,10 @@ packages: dependency: transitive description: name: fixnum - sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1" + sha256: b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be url: "https://pub.dev" source: hosted - version: "1.1.0" + version: "1.1.1" flutter: dependency: "direct main" description: flutter @@ -630,10 +630,10 @@ packages: dependency: transitive description: name: logging - sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340" + sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61 url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.3.0" macros: dependency: transitive description: @@ -774,10 +774,10 @@ packages: dependency: transitive description: name: permission_handler_android - sha256: "76e4ab092c1b240d31177bb64d2b0bea43f43d0e23541ec866151b9f7b2490fa" + sha256: "71bbecfee799e65aff7c744761a57e817e73b738fedf62ab7afd5593da21f9f1" url: "https://pub.dev" source: hosted - version: "12.0.12" + version: "12.0.13" permission_handler_apple: dependency: transitive description: @@ -822,10 +822,10 @@ packages: dependency: transitive description: name: platform - sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65" + sha256: "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984" url: "https://pub.dev" source: hosted - version: "3.1.5" + version: "3.1.6" plugin_platform_interface: dependency: transitive description: @@ -1019,26 +1019,26 @@ packages: dependency: transitive description: name: syncfusion_flutter_core - sha256: becd190595cba56feac5ec17b805b35df9f006171c131c209f79b5c58fc780eb + sha256: dde81d3a318d914e26b6882051c486b0f5e4fa13e7bc3661741de78f0397fe64 url: "https://pub.dev" source: hosted - version: "27.1.53" + version: "27.1.56" syncfusion_flutter_datepicker: dependency: "direct main" description: name: syncfusion_flutter_datepicker - sha256: "5638805bea1c70a6d46dea9d39ef67f0085176e1c15cf57f7036cf67c1568816" + sha256: e4d42b03b69e80b5936f44d420f9577542f8b156ba5ee78a05e28b23ed63c850 url: "https://pub.dev" source: hosted - version: "27.1.53" + version: "27.1.56" syncfusion_localizations: dependency: "direct main" description: name: syncfusion_localizations - sha256: "742cd5df17f6438628655b7a16d1ee87624166a9dd0362cb818d9f6968ffbc10" + sha256: "6dbc2eab1d70fad7b8501c44198bef4d36748cc6860252dfd4c8cfe2f3b10e7b" url: "https://pub.dev" source: hosted - version: "27.1.53" + version: "27.1.56" synchronized: dependency: transitive description: @@ -1083,10 +1083,10 @@ packages: dependency: transitive description: name: typed_data - sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c + sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006 url: "https://pub.dev" source: hosted - version: "1.3.2" + version: "1.4.0" unicode: dependency: transitive description: