public final class DifferentFields extends VariableConditionAdapter
Modifier and Type | Field and Description |
---|---|
private SchemaVariable |
var1 |
private SchemaVariable |
var2 |
Constructor and Description |
---|
DifferentFields(SchemaVariable var1,
SchemaVariable var2) |
Modifier and Type | Method and Description |
---|---|
boolean |
check(SchemaVariable var,
SVSubstitute instCandidate,
SVInstantiations instMap,
Services services)
checks if the condition for a correct instantiation is fulfilled
|
boolean |
checkHelp(java.lang.Object o1,
java.lang.Object o2) |
java.lang.String |
toString() |
check
private final SchemaVariable var1
private final SchemaVariable var2
public DifferentFields(SchemaVariable var1, SchemaVariable var2)
public boolean check(SchemaVariable var, SVSubstitute instCandidate, SVInstantiations instMap, Services services)
VariableConditionAdapter
check
in class VariableConditionAdapter
var
- the template Variable to be instantiatedinstMap
- the MatchCondition with the current matching state and in particular
the SVInstantiations that are already known to be neededservices
- the program information objectpublic boolean checkHelp(java.lang.Object o1, java.lang.Object o2)
public java.lang.String toString()
toString
in class java.lang.Object