Class ExternalEntityThroughDataStoreComm

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

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

Original source:

         pattern externalEntityThroughDataStoreComm(location : ExternalEntity, p2 : DataStore, df : DataFlow,
                                                                                        t : ThreatType) {
                ExternalEntity(location); DataStore(p2); DataFlow(df);
                
                find threatApplicable(location,t,"ExternalEntityThroughDataStore");
                
                find communication(location,df,p2);
                find flowContainerDiff(location,p2);
         } 
         or {
                // add inverse direction
                ExternalEntity(location); DataStore(p2); DataFlow(df);
                
                find threatApplicable(location,t,"DataStoreThroughExternalEntity");
         
                find communication(p2,df,location);
                find flowContainerDiff(location,p2);
         }
 
See Also: