Class DataStoreToExternalEntityComm

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

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

Original source:

         pattern dataStoreToExternalEntityComm(location : DataStore, p2 : ExternalEntity, df : DataFlow,
                                                                                        t : ThreatType) {
                DataStore(location); ExternalEntity(p2); DataFlow(df);
                
                find threatApplicable(location,t,"DataStoreToExternalEntity");
         
                find communication(location,df,p2);
         } 
         or {
                // add inverse direction
                DataStore(location); ExternalEntity(p2); DataFlow(df);
                
                find threatApplicable(location,t,"ExternalEntityToDataStore");
                
                find communication(p2,df,location);
         }
 
See Also: