Class DataStoreToDataStoreComm

java.lang.Object
org.eclipse.viatra.query.runtime.api.impl.BaseQuerySpecification<DataStoreToDataStoreComm.Matcher>
org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification<DataStoreToDataStoreComm.Matcher>
be.kuleuven.cs.distrinet.sparta.queries.DataStoreToDataStoreComm
All Implemented Interfaces:
org.eclipse.viatra.query.runtime.api.IQuerySpecification<DataStoreToDataStoreComm.Matcher>, org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQueryHeader

public final class DataStoreToDataStoreComm extends org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification<DataStoreToDataStoreComm.Matcher>
A pattern-specific query specification that can instantiate Matcher in a type-safe way.

Original source:

         pattern dataStoreToDataStoreComm(location : DataStore, p2 : DataStore, df : DataFlow,
                                                                        t : ThreatType) {
                DataStore(location); DataStore(p2); DataFlow(df);
         
                find threatApplicable(location,t,"DataStoreToDataStore");
         
                find communication(location,df,p2);
         } 
         or {
                // add inverse direction
                DataStore(location); DataStore(p2); DataFlow(df);
                
                find threatApplicable(location,t,"DataStoreToDataStore");
         
                find communication(p2,df,location);
         }
 
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Pattern-specific match representation of the be.kuleuven.cs.distrinet.sparta.queries.dataStoreToDataStoreComm pattern, to be used in conjunction with DataStoreToDataStoreComm.Matcher.
    static class 
    Generated pattern matcher API of the be.kuleuven.cs.distrinet.sparta.queries.dataStoreToDataStoreComm pattern, providing pattern-specific query methods.
  • Field Summary

    Fields inherited from class org.eclipse.viatra.query.runtime.api.impl.BaseQuerySpecification

    wrappedPQuery
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    instantiate(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine)
     
     
    newMatch(Object... parameters)
     

    Methods inherited from class org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification

    getPreferredScopeClass

    Methods inherited from class org.eclipse.viatra.query.runtime.api.impl.BaseQuerySpecification

    ensureInitializedInternal, getAllAnnotations, getAnnotationsByName, getFirstAnnotationByName, getFullyQualifiedName, getInternalQueryRepresentation, getMatcher, getParameterNames, getParameters, getPositionOfParameter, getVisibility, processInitializerError

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.viatra.query.runtime.api.IQuerySpecification

    getPProblems, getStatus

    Methods inherited from interface org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQueryHeader

    getParameter, getSimpleName