Package ch.so.agi.mcp.constraint
Record Class ViewProofScope
java.lang.Object
java.lang.Record
ch.so.agi.mcp.constraint.ViewProofScope
public record ViewProofScope(ch.interlis.ili2c.metamodel.Projection view, ch.interlis.ili2c.metamodel.Table base, List<ConstraintExpression> filters)
extends Record
Compiler-derived scope of direct identity projections supported by the pinned validator.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionViewProofScope(ch.interlis.ili2c.metamodel.Projection view, ch.interlis.ili2c.metamodel.Table base, List<ConstraintExpression> filters) Creates an instance of aViewProofScoperecord class. -
Method Summary
Modifier and TypeMethodDescriptionch.interlis.ili2c.metamodel.Tablebase()Returns the value of thebaserecord component.bind(CompiledConstraintContext context, String contextFqn, ConstraintExpression expression) bind(CompiledConstraintContext context, String contextFqn, ConstraintExpression expression, Map<String, String> routes) final booleanIndicates whether some other object is "equal to" this one.filters()Returns the value of thefiltersrecord component.footprint(ConstraintExpression expression) final inthashCode()Returns a hash code value for this object.booleanplanningContext(CompiledConstraintContext original) static @Nullable ViewProofScoperesolve(ch.interlis.ili2c.metamodel.TransferDescription td, ch.interlis.ili2c.metamodel.Constraint target) final StringtoString()Returns a string representation of this record class.ch.interlis.ili2c.metamodel.Projectionview()Returns the value of theviewrecord component.
-
Constructor Details
-
ViewProofScope
public ViewProofScope(ch.interlis.ili2c.metamodel.Projection view, ch.interlis.ili2c.metamodel.Table base, List<ConstraintExpression> filters) Creates an instance of aViewProofScoperecord class.- Parameters:
view- the value for theviewrecord componentbase- the value for thebaserecord componentfilters- the value for thefiltersrecord component
-
-
Method Details
-
resolve
public static @Nullable ViewProofScope resolve(ch.interlis.ili2c.metamodel.TransferDescription td, ch.interlis.ili2c.metamodel.Constraint target) -
includes
-
footprint
-
bind
public static ConstraintModelSynthesizer.ModelBinding bind(CompiledConstraintContext context, String contextFqn, ConstraintExpression expression) -
bind
public static ConstraintModelSynthesizer.ModelBinding bind(CompiledConstraintContext context, String contextFqn, ConstraintExpression expression, Map<String, String> routes) -
planningContext
-
diagnostics
-
failure
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
view
public ch.interlis.ili2c.metamodel.Projection view()Returns the value of theviewrecord component.- Returns:
- the value of the
viewrecord component
-
base
public ch.interlis.ili2c.metamodel.Table base()Returns the value of thebaserecord component.- Returns:
- the value of the
baserecord component
-
filters
Returns the value of thefiltersrecord component.- Returns:
- the value of the
filtersrecord component
-