Skip to content

Commit 4388c25

Browse files
committed
DATAMONGO-2138 - KDoc since 2.2
1 parent 41ae2ca commit 4388c25

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

spring-data-mongodb/src/main/kotlin/org/springframework/data/mongodb/core/query/NestedProperty.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import kotlin.reflect.KProperty1
2121

2222
/**
2323
* Nested property to generate Mongo field name.
24+
* @author Tjeu Kayim
25+
* @since 2.2
2426
*/
2527
class NestedProperty<T, U>(
2628
internal val parent: KProperty<T>,

spring-data-mongodb/src/main/kotlin/org/springframework/data/mongodb/core/query/TypedCriteriaBuilder.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ typealias TypedCriteria = TypedCriteriaBuilder.() -> Unit
3535
* Used by the functions [typedCriteria] and [typedQuery].
3636
*
3737
* @author Tjeu Kayim
38+
* @since 2.2
39+
* @see typedCriteria
3840
*/
3941
class TypedCriteriaBuilder {
4042
internal var criteria: Criteria = Criteria()

spring-data-mongodb/src/main/kotlin/org/springframework/data/mongodb/core/query/TypedCriteriaExtensions.kt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,21 @@ package org.springframework.data.mongodb.core.query
1818
/**
1919
* Build [Criteria] with Property References as field names.
2020
*
21-
* @see typedQuery
2221
* @sample typedCriteriaSample
22+
*
2323
* @author Tjeu Kayim
24+
* @since 2.2
25+
* @see typedQuery
2426
*/
2527
fun typedCriteria(criteria: TypedCriteria): Criteria =
2628
TypedCriteriaBuilder().apply(criteria).criteria
2729

2830
/**
2931
* Shorthand for `Query(typedCriteria())`.
3032
*
31-
* @see typedCriteria
3233
* @author Tjeu Kayim
34+
* @since 2.2
35+
* @see typedCriteria
3336
*/
3437
fun typedQuery(criteria: TypedCriteria): Query =
3538
Query(typedCriteria(criteria))

0 commit comments

Comments
 (0)