Class ExternalEntityThroughExternalEntityComm

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

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

Original source:

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