Class ExternalEntityToDataStoreComm

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

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

Original source:

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