public final class StaticReferenceCondition extends VariableConditionAdapter
| Modifier and Type | Field and Description |
|---|---|
private boolean |
negation |
private SchemaVariable |
reference |
| Constructor and Description |
|---|
StaticReferenceCondition(SchemaVariable reference,
boolean negation)
the static reference condition checks if a suggested
instantiation for a schema variable denotes a static
reference.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(SchemaVariable var,
SVSubstitute subst,
SVInstantiations svInst,
Services services)
checks if the condition for a correct instantiation is fulfilled
|
java.lang.String |
toString() |
checkprivate final SchemaVariable reference
private final boolean negation
public StaticReferenceCondition(SchemaVariable reference, boolean negation)
public boolean check(SchemaVariable var, SVSubstitute subst, SVInstantiations svInst, Services services)
VariableConditionAdaptercheck in class VariableConditionAdaptervar - the template Variable to be instantiatedsvInst - the MatchCondition with the current matching state and in particular
the SVInstantiations that are already known to be neededservices - the program information objectpublic java.lang.String toString()
toString in class java.lang.Object