public class TransformedGeneralizedBlockPairsMatcher extends org.eclipse.viatra.query.runtime.api.impl.BaseMatcher<TransformedGeneralizedBlockPairsMatch>
Use the pattern matcher on a given model via on(ViatraQueryEngine)
,
e.g. in conjunction with ViatraQueryEngine#on(Notifier)
.
Matches of the pattern will be represented as TransformedGeneralizedBlockPairsMatch
.
Original source:
Event-Driven rule precondition number 2
Queries block-pairs that have been transformed by rule 1 and have a generalization between them. This way
each sub-element's properties can redefine its super classes' ones
pattern TransformedGeneralizedBlockPairs(parentBlock : Class, childBlock : Class, stereotype : Stereotype, parentAttribute : Property, childAttribute : Property) {
find block(parentBlock);
find block(childBlock);
//there is a generalization relation between blocks
find generalization(parentBlock, childBlock);
//Attributes of the block and stereotypes
Class.ownedAttribute(parentBlock, parentAttribute);
Class.ownedAttribute(childBlock, childAttribute);
Stereotype.ownedAttribute(stereotype, property);
//Check if they are equal
find propertyAttributes(property, name, type);
find propertyAttributes(parentAttribute, name, type);
find propertyAttributes(childAttribute, name, type);
}
TransformedGeneralizedBlockPairsMatch
,
TransformedGeneralizedBlockPairsProcessor
,
TransformedGeneralizedBlockPairsQuerySpecification
Modifier and Type | Method and Description |
---|---|
protected TransformedGeneralizedBlockPairsMatch |
arrayToMatch(java.lang.Object[] match) |
protected TransformedGeneralizedBlockPairsMatch |
arrayToMatchMutable(java.lang.Object[] match) |
int |
countMatches(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock,
com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute)
Returns the number of all matches of the pattern that conform to the given fixed values of some parameters.
|
static TransformedGeneralizedBlockPairsMatcher |
create() |
void |
forEachMatch(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock,
com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute,
org.eclipse.viatra.query.runtime.api.IMatchProcessor<? super TransformedGeneralizedBlockPairsMatch> processor)
Executes the given processor on each match of the pattern that conforms to the given fixed values of some parameters.
|
boolean |
forOneArbitraryMatch(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock,
com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute,
org.eclipse.viatra.query.runtime.api.IMatchProcessor<? super TransformedGeneralizedBlockPairsMatch> processor)
Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters.
|
java.util.Collection<TransformedGeneralizedBlockPairsMatch> |
getAllMatches(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock,
com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute)
Returns the set of all matches of the pattern that conform to the given fixed values of some parameters.
|
java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> |
getAllValuesOfchildAttribute()
Retrieve the set of values that occur in matches for childAttribute.
|
java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> |
getAllValuesOfchildAttribute(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock,
com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute)
Retrieve the set of values that occur in matches for childAttribute.
|
java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> |
getAllValuesOfchildAttribute(TransformedGeneralizedBlockPairsMatch partialMatch)
Retrieve the set of values that occur in matches for childAttribute.
|
java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class> |
getAllValuesOfchildBlock()
Retrieve the set of values that occur in matches for childBlock.
|
java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class> |
getAllValuesOfchildBlock(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock,
com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute)
Retrieve the set of values that occur in matches for childBlock.
|
java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class> |
getAllValuesOfchildBlock(TransformedGeneralizedBlockPairsMatch partialMatch)
Retrieve the set of values that occur in matches for childBlock.
|
java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> |
getAllValuesOfparentAttribute()
Retrieve the set of values that occur in matches for parentAttribute.
|
java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> |
getAllValuesOfparentAttribute(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock,
com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute)
Retrieve the set of values that occur in matches for parentAttribute.
|
java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> |
getAllValuesOfparentAttribute(TransformedGeneralizedBlockPairsMatch partialMatch)
Retrieve the set of values that occur in matches for parentAttribute.
|
java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class> |
getAllValuesOfparentBlock()
Retrieve the set of values that occur in matches for parentBlock.
|
java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class> |
getAllValuesOfparentBlock(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock,
com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute)
Retrieve the set of values that occur in matches for parentBlock.
|
java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class> |
getAllValuesOfparentBlock(TransformedGeneralizedBlockPairsMatch partialMatch)
Retrieve the set of values that occur in matches for parentBlock.
|
java.util.Set<com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype> |
getAllValuesOfstereotype()
Retrieve the set of values that occur in matches for stereotype.
|
java.util.Set<com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype> |
getAllValuesOfstereotype(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute)
Retrieve the set of values that occur in matches for stereotype.
|
java.util.Set<com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype> |
getAllValuesOfstereotype(TransformedGeneralizedBlockPairsMatch partialMatch)
Retrieve the set of values that occur in matches for stereotype.
|
TransformedGeneralizedBlockPairsMatch |
getOneArbitraryMatch(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock,
com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute)
Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters.
|
boolean |
hasMatch(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock,
com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute)
Indicates whether the given combination of specified pattern parameters constitute a valid pattern match,
under any possible substitution of the unspecified parameters (if any).
|
TransformedGeneralizedBlockPairsMatch |
newMatch(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock,
com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute)
Returns a new (partial) match.
|
static TransformedGeneralizedBlockPairsMatcher |
on(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine)
Initializes the pattern matcher within an existing VIATRA Query engine.
|
static org.eclipse.viatra.query.runtime.api.IQuerySpecification<TransformedGeneralizedBlockPairsMatcher> |
querySpecification() |
protected java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> |
rawAccumulateAllValuesOfchildAttribute(java.lang.Object[] parameters)
Retrieve the set of values that occur in matches for childAttribute.
|
protected java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class> |
rawAccumulateAllValuesOfchildBlock(java.lang.Object[] parameters)
Retrieve the set of values that occur in matches for childBlock.
|
protected java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> |
rawAccumulateAllValuesOfparentAttribute(java.lang.Object[] parameters)
Retrieve the set of values that occur in matches for parentAttribute.
|
protected java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class> |
rawAccumulateAllValuesOfparentBlock(java.lang.Object[] parameters)
Retrieve the set of values that occur in matches for parentBlock.
|
protected java.util.Set<com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype> |
rawAccumulateAllValuesOfstereotype(java.lang.Object[] parameters)
Retrieve the set of values that occur in matches for stereotype.
|
protected TransformedGeneralizedBlockPairsMatch |
tupleToMatch(org.eclipse.viatra.query.runtime.matchers.tuple.Tuple t) |
countMatches, countMatches, emptyArray, forEachMatch, forEachMatch, forOneArbitraryMatch, forOneArbitraryMatch, getAllMatches, getAllMatches, getAllValues, getAllValues, getCapabilities, getEngine, getOneArbitraryMatch, getOneArbitraryMatch, getParameterNames, getPatternName, getPositionOfParameter, getSpecification, hasMatch, hasMatch, matchToArray, newEmptyMatch, newMatch, rawAccumulateAllValues, rawCountMatches, rawForEachMatch, rawForOneArbitraryMatch, rawGetAllMatches, rawGetAllValues, rawGetOneArbitraryMatch, rawHasMatch, setBackend
public static TransformedGeneralizedBlockPairsMatcher on(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine)
engine
- the existing VIATRA Query engine in which this matcher will be created.ViatraQueryRuntimeException
- if an error occurs during pattern matcher creationpublic static TransformedGeneralizedBlockPairsMatcher create()
ViatraQueryRuntimeException
- if an error occurs during pattern matcher creationpublic java.util.Collection<TransformedGeneralizedBlockPairsMatch> getAllMatches(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock, com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute)
pParentBlock
- the fixed value of pattern parameter parentBlock, or null if not bound.pChildBlock
- the fixed value of pattern parameter childBlock, or null if not bound.pStereotype
- the fixed value of pattern parameter stereotype, or null if not bound.pParentAttribute
- the fixed value of pattern parameter parentAttribute, or null if not bound.pChildAttribute
- the fixed value of pattern parameter childAttribute, or null if not bound.public TransformedGeneralizedBlockPairsMatch getOneArbitraryMatch(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock, com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute)
pParentBlock
- the fixed value of pattern parameter parentBlock, or null if not bound.pChildBlock
- the fixed value of pattern parameter childBlock, or null if not bound.pStereotype
- the fixed value of pattern parameter stereotype, or null if not bound.pParentAttribute
- the fixed value of pattern parameter parentAttribute, or null if not bound.pChildAttribute
- the fixed value of pattern parameter childAttribute, or null if not bound.public boolean hasMatch(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock, com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute)
pParentBlock
- the fixed value of pattern parameter parentBlock, or null if not bound.pChildBlock
- the fixed value of pattern parameter childBlock, or null if not bound.pStereotype
- the fixed value of pattern parameter stereotype, or null if not bound.pParentAttribute
- the fixed value of pattern parameter parentAttribute, or null if not bound.pChildAttribute
- the fixed value of pattern parameter childAttribute, or null if not bound.public int countMatches(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock, com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute)
pParentBlock
- the fixed value of pattern parameter parentBlock, or null if not bound.pChildBlock
- the fixed value of pattern parameter childBlock, or null if not bound.pStereotype
- the fixed value of pattern parameter stereotype, or null if not bound.pParentAttribute
- the fixed value of pattern parameter parentAttribute, or null if not bound.pChildAttribute
- the fixed value of pattern parameter childAttribute, or null if not bound.public void forEachMatch(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock, com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute, org.eclipse.viatra.query.runtime.api.IMatchProcessor<? super TransformedGeneralizedBlockPairsMatch> processor)
pParentBlock
- the fixed value of pattern parameter parentBlock, or null if not bound.pChildBlock
- the fixed value of pattern parameter childBlock, or null if not bound.pStereotype
- the fixed value of pattern parameter stereotype, or null if not bound.pParentAttribute
- the fixed value of pattern parameter parentAttribute, or null if not bound.pChildAttribute
- the fixed value of pattern parameter childAttribute, or null if not bound.processor
- the action that will process each pattern match.public boolean forOneArbitraryMatch(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock, com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute, org.eclipse.viatra.query.runtime.api.IMatchProcessor<? super TransformedGeneralizedBlockPairsMatch> processor)
pParentBlock
- the fixed value of pattern parameter parentBlock, or null if not bound.pChildBlock
- the fixed value of pattern parameter childBlock, or null if not bound.pStereotype
- the fixed value of pattern parameter stereotype, or null if not bound.pParentAttribute
- the fixed value of pattern parameter parentAttribute, or null if not bound.pChildAttribute
- the fixed value of pattern parameter childAttribute, or null if not bound.processor
- the action that will process the selected match.public TransformedGeneralizedBlockPairsMatch newMatch(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock, com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute)
The returned match will be immutable. Use BaseMatcher.newEmptyMatch()
to obtain a mutable match object.
pParentBlock
- the fixed value of pattern parameter parentBlock, or null if not bound.pChildBlock
- the fixed value of pattern parameter childBlock, or null if not bound.pStereotype
- the fixed value of pattern parameter stereotype, or null if not bound.pParentAttribute
- the fixed value of pattern parameter parentAttribute, or null if not bound.pChildAttribute
- the fixed value of pattern parameter childAttribute, or null if not bound.protected java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class> rawAccumulateAllValuesOfparentBlock(java.lang.Object[] parameters)
public java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class> getAllValuesOfparentBlock()
public java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class> getAllValuesOfparentBlock(TransformedGeneralizedBlockPairsMatch partialMatch)
public java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class> getAllValuesOfparentBlock(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock, com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute)
protected java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class> rawAccumulateAllValuesOfchildBlock(java.lang.Object[] parameters)
public java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class> getAllValuesOfchildBlock()
public java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class> getAllValuesOfchildBlock(TransformedGeneralizedBlockPairsMatch partialMatch)
public java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class> getAllValuesOfchildBlock(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock, com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute)
protected java.util.Set<com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype> rawAccumulateAllValuesOfstereotype(java.lang.Object[] parameters)
public java.util.Set<com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype> getAllValuesOfstereotype()
public java.util.Set<com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype> getAllValuesOfstereotype(TransformedGeneralizedBlockPairsMatch partialMatch)
public java.util.Set<com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype> getAllValuesOfstereotype(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute)
protected java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> rawAccumulateAllValuesOfparentAttribute(java.lang.Object[] parameters)
public java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> getAllValuesOfparentAttribute()
public java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> getAllValuesOfparentAttribute(TransformedGeneralizedBlockPairsMatch partialMatch)
public java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> getAllValuesOfparentAttribute(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock, com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pChildAttribute)
protected java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> rawAccumulateAllValuesOfchildAttribute(java.lang.Object[] parameters)
public java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> getAllValuesOfchildAttribute()
public java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> getAllValuesOfchildAttribute(TransformedGeneralizedBlockPairsMatch partialMatch)
public java.util.Set<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> getAllValuesOfchildAttribute(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pParentBlock, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class pChildBlock, com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype pStereotype, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property pParentAttribute)
protected TransformedGeneralizedBlockPairsMatch tupleToMatch(org.eclipse.viatra.query.runtime.matchers.tuple.Tuple t)
tupleToMatch
in class org.eclipse.viatra.query.runtime.api.impl.BaseMatcher<TransformedGeneralizedBlockPairsMatch>
protected TransformedGeneralizedBlockPairsMatch arrayToMatch(java.lang.Object[] match)
arrayToMatch
in class org.eclipse.viatra.query.runtime.api.impl.BaseMatcher<TransformedGeneralizedBlockPairsMatch>
protected TransformedGeneralizedBlockPairsMatch arrayToMatchMutable(java.lang.Object[] match)
arrayToMatchMutable
in class org.eclipse.viatra.query.runtime.api.impl.BaseMatcher<TransformedGeneralizedBlockPairsMatch>
public static org.eclipse.viatra.query.runtime.api.IQuerySpecification<TransformedGeneralizedBlockPairsMatcher> querySpecification()
ViatraQueryRuntimeException
- if the pattern definition could not be loaded