public class GeneralizedTaggedBlockPairsMatcher extends org.eclipse.viatra.query.runtime.api.impl.BaseMatcher<GeneralizedTaggedBlockPairsMatch>
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 GeneralizedTaggedBlockPairsMatch
.
Original source:
Returns a pair of blocks that are in a generalization relationship (parent and child).
Also, it returns the stereotype that is assigned to the blocks, as well as the attributes
(parentAttribute and childAttribute) that should be in a redefinition relationship according to the desired design pattern.
pattern generalizedTaggedBlockPairs(parentBlock : Class, childBlock : Class, stereotype : Stereotype, parentAttribute : Property, childAttribute : Property) {
find generalizedTaggedBlocks(parentBlock, childBlock, stereotype, property);
Class.ownedAttribute(parentBlock, parentAttribute);
Class.ownedAttribute(childBlock, childAttribute);
find propertyAttributes(property, name, type);
find propertyAttributes(parentAttribute, name, type);
find propertyAttributes(childAttribute, name, type);
}
GeneralizedTaggedBlockPairsMatch
,
GeneralizedTaggedBlockPairsProcessor
,
GeneralizedTaggedBlockPairsQuerySpecification
Modifier and Type | Method and Description |
---|---|
protected GeneralizedTaggedBlockPairsMatch |
arrayToMatch(java.lang.Object[] match) |
protected GeneralizedTaggedBlockPairsMatch |
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 GeneralizedTaggedBlockPairsMatcher |
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 GeneralizedTaggedBlockPairsMatch> 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 GeneralizedTaggedBlockPairsMatch> 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<GeneralizedTaggedBlockPairsMatch> |
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(GeneralizedTaggedBlockPairsMatch 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(GeneralizedTaggedBlockPairsMatch 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(GeneralizedTaggedBlockPairsMatch 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(GeneralizedTaggedBlockPairsMatch 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(GeneralizedTaggedBlockPairsMatch partialMatch)
Retrieve the set of values that occur in matches for stereotype.
|
GeneralizedTaggedBlockPairsMatch |
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).
|
GeneralizedTaggedBlockPairsMatch |
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 GeneralizedTaggedBlockPairsMatcher |
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<GeneralizedTaggedBlockPairsMatcher> |
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 GeneralizedTaggedBlockPairsMatch |
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 GeneralizedTaggedBlockPairsMatcher 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 GeneralizedTaggedBlockPairsMatcher create()
ViatraQueryRuntimeException
- if an error occurs during pattern matcher creationpublic java.util.Collection<GeneralizedTaggedBlockPairsMatch> 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 GeneralizedTaggedBlockPairsMatch 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 GeneralizedTaggedBlockPairsMatch> 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 GeneralizedTaggedBlockPairsMatch> 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 GeneralizedTaggedBlockPairsMatch 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(GeneralizedTaggedBlockPairsMatch 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(GeneralizedTaggedBlockPairsMatch 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(GeneralizedTaggedBlockPairsMatch 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(GeneralizedTaggedBlockPairsMatch 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(GeneralizedTaggedBlockPairsMatch 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 GeneralizedTaggedBlockPairsMatch tupleToMatch(org.eclipse.viatra.query.runtime.matchers.tuple.Tuple t)
tupleToMatch
in class org.eclipse.viatra.query.runtime.api.impl.BaseMatcher<GeneralizedTaggedBlockPairsMatch>
protected GeneralizedTaggedBlockPairsMatch arrayToMatch(java.lang.Object[] match)
arrayToMatch
in class org.eclipse.viatra.query.runtime.api.impl.BaseMatcher<GeneralizedTaggedBlockPairsMatch>
protected GeneralizedTaggedBlockPairsMatch arrayToMatchMutable(java.lang.Object[] match)
arrayToMatchMutable
in class org.eclipse.viatra.query.runtime.api.impl.BaseMatcher<GeneralizedTaggedBlockPairsMatch>
public static org.eclipse.viatra.query.runtime.api.IQuerySpecification<GeneralizedTaggedBlockPairsMatcher> querySpecification()
ViatraQueryRuntimeException
- if the pattern definition could not be loaded