| <?xml version="1.0" encoding="UTF-8"?> |
| <xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Ecore="http://www.eclipse.org/uml2/schemas/Ecore/5" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/uml2/schemas/Ecore/5 pathmap://UML_PROFILES/Ecore.profile.uml#_z1OFcHjqEdy8S4Cr8Rc_NA"> |
| <uml:Model xmi:id="_3NPHwDgrEe6xuoXtVUjDZg" name="markup-uml-documentstructuretemplate" URI="http://www.eclipse.org/papyrus/model2doc/markup/uml/1.0.0/documentstructuretemplate"> |
| <packageImport xmi:type="uml:PackageImport" xmi:id="_3OmZsDgrEe6xuoXtVUjDZg"> |
| <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> |
| </packageImport> |
| <packageImport xmi:type="uml:PackageImport" xmi:id="_98kGgDgrEe6xuoXtVUjDZg"> |
| <importedPackage xmi:type="uml:Model" href="pathmap://UML_DOCUMENT_STRUCTURE_TEMPLATE/umldocumentstructuretemplate.uml#_sha7EB8REem9r6zmWAQv1w"/> |
| </packageImport> |
| <packageImport xmi:type="uml:PackageImport" xmi:id="_27DhkED9Ee62VeeupBpomw"> |
| <importedPackage xmi:type="uml:Model" href="pathmap://Papyrus_MARKUP_EMF_DOCUMENT_STRUCTURE_TEMPLATE/markup-documentstructuretemplate.uml#_FoOBEDggEe6xgp_1PvLKwA"/> |
| </packageImport> |
| <packagedElement xmi:type="uml:Class" xmi:id="_sb0XIDgsEe6xuoXtVUjDZg" name="StereotypePropertyAttributeInMarkupToFile"> |
| <ownedComment xmi:type="uml:Comment" xmi:id="_HJQDEDgtEe6xuoXtVUjDZg" annotatedElement="_sb0XIDgsEe6xuoXtVUjDZg"> |
| <body>This element allows to convert a Stereotype Property field written with a markup language into an HTML file.</body> |
| </ownedComment> |
| <generalization xmi:type="uml:Generalization" xmi:id="_xmwyADgsEe6xuoXtVUjDZg"> |
| <general xmi:type="uml:Class" href="pathmap://UML_DOCUMENT_STRUCTURE_TEMPLATE/umldocumentstructuretemplate.uml#_awbcAHhxEemgVsD3DibuHQ"/> |
| </generalization> |
| <interfaceRealization xmi:type="uml:InterfaceRealization" xmi:id="_y30KMDgsEe6xuoXtVUjDZg" client="_sb0XIDgsEe6xuoXtVUjDZg"> |
| <supplier xmi:type="uml:Interface" href="pathmap://DOCUMENT_STRUCTURE_TEMPLATE/documentstructuretemplate.uml#_DwGdIFYFEemKJasCEBKPhQ"/> |
| <contract xmi:type="uml:Interface" href="pathmap://DOCUMENT_STRUCTURE_TEMPLATE/documentstructuretemplate.uml#_DwGdIFYFEemKJasCEBKPhQ"/> |
| </interfaceRealization> |
| <interfaceRealization xmi:type="uml:InterfaceRealization" xmi:id="_z8qSYDgsEe6xuoXtVUjDZg" client="_sb0XIDgsEe6xuoXtVUjDZg"> |
| <supplier xmi:type="uml:Interface" href="pathmap://UML_DOCUMENT_STRUCTURE_TEMPLATE/umldocumentstructuretemplate.uml#_5enekIg-EemnhdxpIjxH_A"/> |
| <contract xmi:type="uml:Interface" href="pathmap://UML_DOCUMENT_STRUCTURE_TEMPLATE/umldocumentstructuretemplate.uml#_5enekIg-EemnhdxpIjxH_A"/> |
| </interfaceRealization> |
| <interfaceRealization xmi:type="uml:InterfaceRealization" xmi:id="_0aEnIDgsEe6xuoXtVUjDZg" client="_sb0XIDgsEe6xuoXtVUjDZg"> |
| <supplier xmi:type="uml:Interface" href="pathmap://DOCUMENT_STRUCTURE_TEMPLATE/documentstructuretemplate.uml#_R99HIFX-EemKJasCEBKPhQ"/> |
| <contract xmi:type="uml:Interface" href="pathmap://DOCUMENT_STRUCTURE_TEMPLATE/documentstructuretemplate.uml#_R99HIFX-EemKJasCEBKPhQ"/> |
| </interfaceRealization> |
| <interfaceRealization xmi:type="uml:InterfaceRealization" xmi:id="_eOakYEAbEe6IB5zzrxLMvQ" client="_sb0XIDgsEe6xuoXtVUjDZg" supplier="_KS2N0EAbEe6IB5zzrxLMvQ" contract="_KS2N0EAbEe6IB5zzrxLMvQ"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Class" xmi:id="_lRLf8DgtEe6xuoXtVUjDZg" name="CommentInMarkupToFile"> |
| <ownedComment xmi:type="uml:Comment" xmi:id="_9B0DkDgtEe6xuoXtVUjDZg" annotatedElement="_lRLf8DgtEe6xuoXtVUjDZg"> |
| <body>PartTemplate used to create an HTML file from a UML Comments described in markup.</body> |
| </ownedComment> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_9B0qoDgtEe6xuoXtVUjDZg" name="commentChoice"> |
| <ownedComment xmi:type="uml:Comment" xmi:id="_9B0qoTgtEe6xuoXtVUjDZg" annotatedElement="_9B0qoDgtEe6xuoXtVUjDZg"> |
| <body>Allow to define if we use only the first owned comments or all owned comment. </body> |
| </ownedComment> |
| <type xmi:type="uml:Enumeration" href="pathmap://UML_DOCUMENT_STRUCTURE_TEMPLATE/umldocumentstructuretemplate.uml#_Xp7tEFavEemQ15mMY1nXxQ"/> |
| <defaultValue xmi:type="uml:LiteralString" xmi:id="_9B0qojgtEe6xuoXtVUjDZg" name="FIRST_OWNED_COMMENT" value="FIRST_OWNED_COMMENT"/> |
| </ownedAttribute> |
| <interfaceRealization xmi:type="uml:InterfaceRealization" xmi:id="_qtFH8DgtEe6xuoXtVUjDZg" client="_lRLf8DgtEe6xuoXtVUjDZg"> |
| <supplier xmi:type="uml:Interface" href="pathmap://DOCUMENT_STRUCTURE_TEMPLATE/documentstructuretemplate.uml#_DwGdIFYFEemKJasCEBKPhQ"/> |
| <contract xmi:type="uml:Interface" href="pathmap://DOCUMENT_STRUCTURE_TEMPLATE/documentstructuretemplate.uml#_DwGdIFYFEemKJasCEBKPhQ"/> |
| </interfaceRealization> |
| <interfaceRealization xmi:type="uml:InterfaceRealization" xmi:id="_rFVP4DgtEe6xuoXtVUjDZg" client="_lRLf8DgtEe6xuoXtVUjDZg"> |
| <supplier xmi:type="uml:Interface" href="pathmap://DOCUMENT_STRUCTURE_TEMPLATE/documentstructuretemplate.uml#_R99HIFX-EemKJasCEBKPhQ"/> |
| <contract xmi:type="uml:Interface" href="pathmap://DOCUMENT_STRUCTURE_TEMPLATE/documentstructuretemplate.uml#_R99HIFX-EemKJasCEBKPhQ"/> |
| </interfaceRealization> |
| <interfaceRealization xmi:type="uml:InterfaceRealization" xmi:id="_ZTsW0EAbEe6IB5zzrxLMvQ" client="_lRLf8DgtEe6xuoXtVUjDZg" supplier="_KS2N0EAbEe6IB5zzrxLMvQ" contract="_KS2N0EAbEe6IB5zzrxLMvQ"/> |
| <ownedOperation xmi:type="uml:Operation" xmi:id="_9B48EDgtEe6xuoXtVUjDZg" name="getMatchingComments"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_9B48ETgtEe6xuoXtVUjDZg" source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9B48EjgtEe6xuoXtVUjDZg" key="body" value="if (false == element instanceof org.eclipse.uml2.uml.Element) {
	return org.eclipse.emf.common.util.ECollections.emptyEList();
}
final java.util.List<Comment> comments = ((org.eclipse.uml2.uml.Element) element).getOwnedComments().stream().filter(cmt -> cmt.getAnnotatedElements().contains(element)).collect(java.util.stream.Collectors.toList());
if (comments.isEmpty()) {
	return org.eclipse.emf.common.util.ECollections.emptyEList();
}
switch (this.commentChoice) {
case ALL_OWNED_COMMENTS:
	return org.eclipse.emf.common.util.ECollections.unmodifiableEList(comments);
case FIRST_OWNED_COMMENT:
	if (comments.size() > 0) {
		return org.eclipse.emf.common.util.ECollections.singletonEList(comments.get(0));
	}
default:
	// not possible
	return org.eclipse.emf.common.util.ECollections.emptyEList();
}"/> |
| </eAnnotations> |
| <ownedComment xmi:type="uml:Comment" xmi:id="_9B48EzgtEe6xuoXtVUjDZg" annotatedElement="_9B48EDgtEe6xuoXtVUjDZg"> |
| <body><p>This methods returns the matching Comments. The argument is EObject, to be compliant will EMF code, it avoid us to check type before calling methods.</p> |
| </body> |
| </ownedComment> |
| <ownedParameter xmi:type="uml:Parameter" xmi:id="_9B48FDgtEe6xuoXtVUjDZg" name="return" direction="return"> |
| <type xmi:type="uml:Interface" href="pathmap://UML_DOCUMENT_STRUCTURE_TEMPLATE/umldocumentstructuretemplate.uml#_EYLIQGESEemrtYwu2mmoHg"/> |
| <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_9B48FTgtEe6xuoXtVUjDZg"/> |
| <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_9B48FjgtEe6xuoXtVUjDZg" value="*"/> |
| </ownedParameter> |
| <ownedParameter xmi:type="uml:Parameter" xmi:id="_9B48FzgtEe6xuoXtVUjDZg" name="element"> |
| <type xmi:type="uml:Class" href="pathmap://ECORE_METAMODEL_LIBRARY/Ecore.uml#_SeWijsX_EduPJbEsMYXjUQ"/> |
| </ownedParameter> |
| </ownedOperation> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Interface" xmi:id="_KS2N0EAbEe6IB5zzrxLMvQ" name="IMarkupUMLBodyPartTemplateTitle"> |
| <generalization xmi:type="uml:Generalization" xmi:id="_OVeVwEAbEe6IB5zzrxLMvQ"> |
| <general xmi:type="uml:Interface" href="pathmap://UML_DOCUMENT_STRUCTURE_TEMPLATE/umldocumentstructuretemplate.uml#_u5PwMHfIEemZAtnyL46QZg"/> |
| </generalization> |
| <generalization xmi:type="uml:Generalization" xmi:id="_PLXq0ED-Ee62VeeupBpomw"> |
| <general xmi:type="uml:Interface" href="pathmap://Papyrus_MARKUP_EMF_DOCUMENT_STRUCTURE_TEMPLATE/markup-documentstructuretemplate.uml#_EAhSEED1Ee6V-fHCo1ilrg"/> |
| </generalization> |
| <ownedOperation xmi:type="uml:Operation" xmi:id="_PcBHEEAbEe6IB5zzrxLMvQ" name="buildPartTemplateTitle"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_PcBHEUAbEe6IB5zzrxLMvQ" source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PcBHEkAbEe6IB5zzrxLMvQ" key="body" value="return org.eclipse.papyrus.model2doc.markup.uml.documentstructuretemplate.internal.operations.MarkupUMLBodySectionPartTemplateTitleHelper.MARKUP_UML_INSTANCE.buildPartTemplateTitle(this,context);"/> |
| </eAnnotations> |
| <ownedComment xmi:type="uml:Comment" xmi:id="_PcBHE0AbEe6IB5zzrxLMvQ" annotatedElement="_PcBHEEAbEe6IB5zzrxLMvQ"> |
| <body>This method creates the title (dedicated to element of this metamodel. 
 |
| In the general case, the ISubBodyPartTemplate uses the context element to build the title, wheareas the IBodyPartTemplate don't use it.</body> |
| </ownedComment> |
| <ownedParameter xmi:type="uml:Parameter" xmi:id="_PcBHFEAbEe6IB5zzrxLMvQ" name="context"> |
| <type xmi:type="uml:Class" href="pathmap://ECORE_METAMODEL_LIBRARY/Ecore.uml#_SeWijsX_EduPJbEsMYXjUQ"/> |
| </ownedParameter> |
| <ownedParameter xmi:type="uml:Parameter" xmi:id="_PcBHFUAbEe6IB5zzrxLMvQ" name="returnValue" direction="return"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/EcorePrimitiveTypes.library.uml#EString"/> |
| </ownedParameter> |
| <redefinedOperation xmi:type="uml:Operation" href="pathmap://DOCUMENT_STRUCTURE_TEMPLATE/documentstructuretemplate.uml#__h3MoHV1EemQUasExi-pKA"/> |
| </ownedOperation> |
| </packagedElement> |
| <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_bDIiUDhTEe6safZprU9sZQ"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_bDOo8DhTEe6safZprU9sZQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> |
| <references xmi:type="ecore:EPackage" href="pathmap://UML_PROFILES/Ecore.profile.uml#_z1OFcHjqEdy8S4Cr8Rc_NA"/> |
| </eAnnotations> |
| <appliedProfile xmi:type="uml:Profile" href="pathmap://UML_PROFILES/Ecore.profile.uml#_0"/> |
| </profileApplication> |
| </uml:Model> |
| <Ecore:EPackage xmi:id="_bl0_sDhTEe6safZprU9sZQ" base_Package="_3NPHwDgrEe6xuoXtVUjDZg" packageName="documentstructuretemplate" nsPrefix="markup.uml.documentstructuretemplate" basePackage="org.eclipse.papyrus.model2doc.markup.uml" prefix="MarkupUMLDocumentStructureTemplate"/> |
| </xmi:XMI> |