NamedChild

data class NamedChild<T : Any>(val fieldName: String, val value: T)

Pair of a declared child entity with the Kotlin field name that holds it on the container. Useful when a rule wants both the entity and its source-property name (e.g. for source-location messages or com.stigway.metamodels.create.ModelProblem.entityName fallback before MetamodelEntity.referenceName is wired).

Constructors

Link copied to clipboard
constructor(fieldName: String, value: T)

Properties

Link copied to clipboard
Link copied to clipboard
val value: T
Generated with STIG