CompositionViolation
data class CompositionViolation(val code: String, val parent: String, val parentId: ComponentId?, val child: String, val childId: ComponentId, val property: String)
A parent-child pairing a catalog forbids.
code is one of the two the specification names, and it is part of the contract rather than a label: a renderer reports these to the agent in a validation error message, and the agent is expected to tell the two apart.
Constructors
Link copied to clipboard
constructor(code: String, parent: String, parentId: ComponentId?, child: String, childId: ComponentId, property: String)