Class QueryResultChangeDelta
- java.lang.Object
-
- org.eclipse.viatra.transformation.runtime.emf.changemonitor.QueryResultChangeDelta
-
public class QueryResultChangeDelta extends java.lang.Object
This delta class stores differences for a single query specification instance.- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description QueryResultChangeDelta(IQuerySpecification<?> specification)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<IPatternMatch>
getAppeared()
Returns the matches that are added to this deltajava.util.Set<IPatternMatch>
getDisappeared()
Returns the matches that have disappeared in this deltaIQuerySpecification<?>
getSpecification()
java.util.Set<IPatternMatch>
getUpdated()
Returns the matches that were updated in this deltaboolean
hasChanges()
Returns whether this delta contains changes of any kindjava.lang.String
toString()
-
-
-
Constructor Detail
-
QueryResultChangeDelta
public QueryResultChangeDelta(IQuerySpecification<?> specification)
-
-
Method Detail
-
getSpecification
public IQuerySpecification<?> getSpecification()
-
getAppeared
public java.util.Set<IPatternMatch> getAppeared()
Returns the matches that are added to this delta
-
getUpdated
public java.util.Set<IPatternMatch> getUpdated()
Returns the matches that were updated in this delta
-
getDisappeared
public java.util.Set<IPatternMatch> getDisappeared()
Returns the matches that have disappeared in this delta
-
hasChanges
public boolean hasChanges()
Returns whether this delta contains changes of any kind
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-