<?xml version="1.0" encoding="UTF-8"?> | |
<query:ModelQuerySet xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:query="http://www.eclipse.org/MoDisco/infra/query/0.8.incubation" name="lineCount" description="Counts the number of lines in files represented by KDM elements."> | |
<associatedMetamodels href="http://www.eclipse.org/emf/2002/Ecore#/"/> | |
<associatedMetamodels href="http://www.eclipse.org/MoDisco/kdm/source#/"/> | |
<queries xsi:type="query:JavaModelQuery" name="numberOfCharacters" description="Number of characters in the underlying file." implementationClassName="org.eclipse.modisco.infra.facet.examples.kdm.NumberOfCharacters"> | |
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | |
<scope href="http://www.eclipse.org/MoDisco/kdm/source#//InventoryItem"/> | |
<scope href="http://www.eclipse.org/MoDisco/kdm/source#//InventoryContainer"/> | |
</queries> | |
<queries xsi:type="query:JavaModelQuery" name="numberOfLines" description="The number of lines in this InventoryItem" implementationClassName="org.eclipse.modisco.infra.facet.examples.kdm.NumberOfLines"> | |
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | |
<scope href="http://www.eclipse.org/MoDisco/kdm/source#//InventoryItem"/> | |
<scope href="http://www.eclipse.org/MoDisco/kdm/source#//InventoryContainer"/> | |
</queries> | |
<queries xsi:type="query:JavaModelQuery" name="nonEmptyLines" description="The number of lines containing something else than whitespace in this InventoryItem." implementationClassName="org.eclipse.modisco.infra.facet.examples.kdm.NonEmptyLines"> | |
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | |
<scope href="http://www.eclipse.org/MoDisco/kdm/source#//InventoryItem"/> | |
<scope href="http://www.eclipse.org/MoDisco/kdm/source#//InventoryContainer"/> | |
</queries> | |
</query:ModelQuerySet> |