Package ch.so.agi.mcp.constraint
Interface SemanticConstraint
- All Known Implementing Classes:
SemanticConstraint.Existence,SemanticConstraint.Mandatory,SemanticConstraint.Plausibility,SemanticConstraint.Set,SemanticConstraint.Unique
public sealed interface SemanticConstraint
permits SemanticConstraint.Mandatory, SemanticConstraint.Unique, SemanticConstraint.Existence, SemanticConstraint.Plausibility, SemanticConstraint.Set
Typed semantic representation of an INTERLIS constraint at constraint level.
ConstraintExpression remains the value/expression IR used by Mandatory constraints and
reusable boolean subexpressions. This layer captures the semantics that live above an expression:
uniqueness scope, existence targets, plausibility percentage/direction and set scope.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordTyped form of ili2c'sObjectsAST node, rendered by INTERLIS asALL.static final recordSemantic object/attribute path with the ili2c root preserved separately from surface path text.static final recordstatic enumstatic final recordstatic final recordA compiled, typed object path used as the source of an OBJECTS OF argument.static final recordProof-capable SET subset: comparison ofINTERLIS.objectCount(ALL)with a numeric value.static interfaceObject-set expression used as an actual argument to an OBJECTS OF function parameter.static final recordstatic enumstatic final recordstatic interfaceBase for SET-condition semantics.static final recordstatic final recordExplicit placeholder for SET-only AST nodes outside the currently executable SET IR.static final recordA SET condition that already fits the existing scalar/value expression IR. -
Method Summary
-
Method Details
-
kind
SemanticConstraint.Kind kind() -
constraintName
String constraintName() -
constraintScopedName
String constraintScopedName() -
contextFqn
String contextFqn() -
version
ConstraintExpression.IliVersion version()
-