Commit e6607afb authored by Marco Konersmann's avatar Marco Konersmann

removes outdated examples

parent bd27652e
<?xml version="1.0" encoding="UTF-8"?>
<core:Architecture
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:core="http://mkonersmann.de/il/core/1.0"/>
<?xml version="1.0" encoding="ASCII"?>
<emfprofileapplication:ProfileApplication xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:emfprofileapplication="http://www.modelversioning.org/emfprofile/application/1.1" xmlns:myprofile="http://mkonersmann.de/il/profiles/componenthierarchy/flat/1.0">
<stereotypeApplications xsi:type="myprofile:HierarchicalArchitectureFlat">
<appliedTo href="platform:/resource/de.mkonersmann.il.profiles.examples.componenthierarchy/example.core#/"/>
<extension href="platform:/resource/de.mkonersmann.il.profiles.componenthierarchy.flat/src/de/mkonersmann/il/profiles/componenthierarchy/flat/profile.emfprofile_diagram#_Hc0sgPR2EeKYKs7GammReg"/>
<componentInstances name="A" type="//@stereotypeApplications.0/@componentTypes.0"/>
<componentInstances name="B" type="//@stereotypeApplications.0/@componentTypes.1"/>
<componentInstances name="C" type="//@stereotypeApplications.0/@componentTypes.2"/>
<componentTypes name="A" instances="//@stereotypeApplications.0/@componentInstances.0"/>
<componentTypes name="B" instances="//@stereotypeApplications.0/@componentInstances.1"/>
<componentTypes name="C" instances="//@stereotypeApplications.0/@componentInstances.2"/>
</stereotypeApplications>
<importedProfiles nsURI="http://mkonersmann.de/il/profiles/componenthierarchy/flat/1.0"/>
</emfprofileapplication:ProfileApplication>
<?xml version="1.0" encoding="ASCII"?>
<emfprofileapplication:ProfileApplication xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:emfprofileapplication="http://www.modelversioning.org/emfprofile/application/1.1" xmlns:myprofile="http://mkonersmann.de/il/profiles/componenthierarchy/scoped/1.0">
<stereotypeApplications xsi:type="myprofile:HierarchicalArchitectureScoped">
<appliedTo href="platform:/resource/de.mkonersmann.il.profiles.examples.componenthierarchy/example.core#/"/>
<extension href="platform:/resource/de.mkonersmann.il.profiles.componenthierarchy.scoped/profile.emfprofile_diagram#_N6BZcPR2EeKYKs7GammReg"/>
<componentType name="A" instances="//@stereotypeApplications.0/@componentInstance"/>
<componentInstance name="A" type="//@stereotypeApplications.0/@componentType"/>
</stereotypeApplications>
<stereotypeApplications xsi:type="myprofile:HierarchicalComponentTypeScoped" appliedTo="//@stereotypeApplications.0/@componentType">
<extension href="platform:/resource/de.mkonersmann.il.profiles.componenthierarchy.scoped/profile.emfprofile_diagram#_NYzj0POnEeKZDuT3NJyhNA"/>
<childInstances name="B" type="//@stereotypeApplications.1/@childTypes.0"/>
<childTypes name="B" instances="//@stereotypeApplications.1/@childInstances.0"/>
</stereotypeApplications>
<stereotypeApplications xsi:type="myprofile:HierarchicalComponentTypeScoped" appliedTo="//@stereotypeApplications.1/@childTypes.0">
<extension href="platform:/resource/de.mkonersmann.il.profiles.componenthierarchy.scoped/profile.emfprofile_diagram#_NYzj0POnEeKZDuT3NJyhNA"/>
<childInstances name="C" type="//@stereotypeApplications.2/@childTypes.0"/>
<childTypes name="C" instances="//@stereotypeApplications.2/@childInstances.0"/>
</stereotypeApplications>
<importedProfiles nsURI="http://mkonersmann.de/il/profiles/componenthierarchy/scoped/1.0"/>
</emfprofileapplication:ProfileApplication>
<?xml version="1.0" encoding="ASCII"?>
<emfprofileapplication:ProfileApplication xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:emfprofileapplication="http://www.modelversioning.org/emfprofile/application/1.1" xmlns:myprofile="http://mkonersmann.de/il/profiles/componenthierarchy/sharedcontext/1.0">
<stereotypeApplications xsi:type="myprofile:HierarchicalArchitectureSharedContext">
<appliedTo href="platform:/resource/de.mkonersmann.il.profiles.examples.componenthierarchy/example.core#/"/>
<extension href="platform:/resource/de.mkonersmann.il.profiles.componenthierarchy.sharedcontext/profile.emfprofile_diagram#_zKk7UPR1EeKYKs7GammReg"/>
<componentTypes name="A" instances="//@stereotypeApplications.0/@mainInstance"/>
<componentTypes name="B" instances="//@stereotypeApplications.1/@childInstances.0"/>
<componentTypes name="C" instances="//@stereotypeApplications.2/@childInstances.0"/>
<mainInstance name="A" type="//@stereotypeApplications.0/@componentTypes.0"/>
</stereotypeApplications>
<stereotypeApplications xsi:type="myprofile:HierarchicalComponentInstanceSharedContext" appliedTo="//@stereotypeApplications.0/@mainInstance">
<extension href="platform:/resource/de.mkonersmann.il.profiles.componenthierarchy.sharedcontext/profile.emfprofile_diagram#_gbbK0PREEeKaopBXqQn-nQ"/>
<childInstances name="B" type="//@stereotypeApplications.0/@componentTypes.1"/>
</stereotypeApplications>
<stereotypeApplications xsi:type="myprofile:HierarchicalComponentInstanceSharedContext" appliedTo="//@stereotypeApplications.1/@childInstances.0">
<extension href="platform:/resource/de.mkonersmann.il.profiles.componenthierarchy.sharedcontext/profile.emfprofile_diagram#_gbbK0PREEeKaopBXqQn-nQ"/>
<childInstances name="C" type="//@stereotypeApplications.0/@componentTypes.2"/>
</stereotypeApplications>
<stereotypeApplications xsi:type="myprofile:HierarchicalComponentInstanceSharedContext" appliedTo="//@stereotypeApplications.2/@childInstances.0">
<extension href="platform:/resource/de.mkonersmann.il.profiles.componenthierarchy.sharedcontext/profile.emfprofile_diagram#_gbbK0PREEeKaopBXqQn-nQ"/>
</stereotypeApplications>
<importedProfiles nsURI="http://mkonersmann.de/il/profiles/componenthierarchy/sharedcontext/1.0"/>
</emfprofileapplication:ProfileApplication>
package de.mkonersmann.il.profiles.examples.connectors.pc.ejb;
import javax.ejb.Local;
@Local
public interface ServiceInterface {
}
package de.mkonersmann.il.profiles.examples.connectors.pc.ejb;
import javax.ejb.Stateless;
@Stateless(name = "ServiceProvider")
public class ServiceProvider implements ServiceInterface {
}
package de.mkonersmann.il.profiles.examples.connectors.pc.ejb;
import javax.ejb.EJB;
public class ServiceUser {
@EJB(beanName = "ServiceProvider")
ServiceProvider serviceProvider;
}
<?xml version="1.0" encoding="ASCII"?>
<ejb:EJBArchive xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ejb="http://de.mkonersmann.ejb31/1.0" name="SomeArbitratyProjectName">
<enterpriseBeans xsi:type="ejb:StatelessSessionBean" name="ServiceProvider"/>
<interfaces name="ServiceInterface"/>
</ejb:EJBArchive>
<?xml version="1.0" encoding="UTF-8"?>
<repository:Repository xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:repository="http://palladiosimulator.org/PalladioComponentModel/Repository/5.1" id="_n59ZEPUtEeKT6OD2v4PR0Q" entityName="defaultRepository">
<components__Repository xsi:type="repository:BasicComponent" id="_pXRroPUtEeKT6OD2v4PR0Q" entityName="Service User">
<requiredRoles_InterfaceRequiringEntity xsi:type="repository:OperationRequiredRole" id="_tJq_MPUtEeKT6OD2v4PR0Q" entityName="Required_ServiceInterface_Service User" requiredInterface__OperationRequiredRole="_oVFO0PUtEeKT6OD2v4PR0Q"/>
</components__Repository>
<components__Repository xsi:type="repository:BasicComponent" id="_qmi7IPUtEeKT6OD2v4PR0Q" entityName="Service Provider">
<providedRoles_InterfaceProvidingEntity xsi:type="repository:OperationProvidedRole" id="_tjdYMPUtEeKT6OD2v4PR0Q" entityName="Provided_ServiceInterface_Service Provider" providedInterface__OperationProvidedRole="_oVFO0PUtEeKT6OD2v4PR0Q"/>
</components__Repository>
<interfaces__Repository xsi:type="repository:OperationInterface" id="_oVFO0PUtEeKT6OD2v4PR0Q" entityName="ServiceInterface"/>
</repository:Repository>
<?xml version="1.0" encoding="UTF-8"?>
<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:repository="http://palladiosimulator.org/PalladioComponentModel/Repository/5.0" xsi:schemaLocation="http://sdq.ipd.uka.de/PalladioComponentModel/Repository/5.0 http://sdq.ipd.uka.de/PalladioComponentModel/5.1#//repository" xmi:id="_n5-nMPUtEeKT6OD2v4PR0Q" type="PCM Repository Model" name="default.repository_diagram" measurementUnit="Pixel">
<children xmi:type="notation:Shape" xmi:id="_oVNxsPUtEeKT6OD2v4PR0Q" type="2107" fontName="Lucida Grande">
<children xmi:type="notation:DecorationNode" xmi:id="_oVOYwfUtEeKT6OD2v4PR0Q" type="5108"/>
<children xmi:type="notation:BasicCompartment" xmi:id="_oVOYwvUtEeKT6OD2v4PR0Q" type="7106">
<styles xmi:type="notation:SortingStyle" xmi:id="_oVO_0PUtEeKT6OD2v4PR0Q"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_oVO_0fUtEeKT6OD2v4PR0Q"/>
</children>
<element xmi:type="repository:OperationInterface" href="default.repository#_oVFO0PUtEeKT6OD2v4PR0Q"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_oVOYwPUtEeKT6OD2v4PR0Q" x="331" y="201"/>
</children>
<children xmi:type="notation:Shape" xmi:id="_pXS5wPUtEeKT6OD2v4PR0Q" type="2102" fontName="Lucida Grande">
<children xmi:type="notation:DecorationNode" xmi:id="_pXS5wvUtEeKT6OD2v4PR0Q" type="5102"/>
<children xmi:type="notation:DecorationNode" xmi:id="_pXS5w_UtEeKT6OD2v4PR0Q" type="7102">
<styles xmi:type="notation:SortingStyle" xmi:id="_pXS5xPUtEeKT6OD2v4PR0Q"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_pXS5xfUtEeKT6OD2v4PR0Q"/>
</children>
<children xmi:type="notation:DecorationNode" xmi:id="_pXTg0PUtEeKT6OD2v4PR0Q" type="7103">
<styles xmi:type="notation:TitleStyle" xmi:id="_pXTg0fUtEeKT6OD2v4PR0Q" showTitle="true"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_pXTg0vUtEeKT6OD2v4PR0Q"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_pXTg0_UtEeKT6OD2v4PR0Q"/>
</children>
<children xmi:type="notation:BasicCompartment" xmi:id="_pXTg1PUtEeKT6OD2v4PR0Q" type="7104">
<styles xmi:type="notation:TitleStyle" xmi:id="_pXTg1fUtEeKT6OD2v4PR0Q" showTitle="true"/>
</children>
<element xmi:type="repository:BasicComponent" href="default.repository#_pXRroPUtEeKT6OD2v4PR0Q"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_pXS5wfUtEeKT6OD2v4PR0Q" x="98" y="77"/>
</children>
<children xmi:type="notation:Shape" xmi:id="_qmkJQPUtEeKT6OD2v4PR0Q" type="2102" fontName="Lucida Grande">
<children xmi:type="notation:DecorationNode" xmi:id="_qmkJQvUtEeKT6OD2v4PR0Q" type="5102"/>
<children xmi:type="notation:DecorationNode" xmi:id="_qmkJQ_UtEeKT6OD2v4PR0Q" type="7102">
<styles xmi:type="notation:SortingStyle" xmi:id="_qmkJRPUtEeKT6OD2v4PR0Q"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_qmkJRfUtEeKT6OD2v4PR0Q"/>
</children>
<children xmi:type="notation:DecorationNode" xmi:id="_qmkJRvUtEeKT6OD2v4PR0Q" type="7103">
<styles xmi:type="notation:TitleStyle" xmi:id="_qmkJR_UtEeKT6OD2v4PR0Q" showTitle="true"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_qmkJSPUtEeKT6OD2v4PR0Q"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_qmkJSfUtEeKT6OD2v4PR0Q"/>
</children>
<children xmi:type="notation:BasicCompartment" xmi:id="_qmkwUPUtEeKT6OD2v4PR0Q" type="7104">
<styles xmi:type="notation:TitleStyle" xmi:id="_qmkwUfUtEeKT6OD2v4PR0Q" showTitle="true"/>
</children>
<element xmi:type="repository:BasicComponent" href="default.repository#_qmi7IPUtEeKT6OD2v4PR0Q"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_qmkJQfUtEeKT6OD2v4PR0Q" x="553" y="77"/>
</children>
<styles xmi:type="notation:DiagramStyle" xmi:id="_n5-nMfUtEeKT6OD2v4PR0Q"/>
<element xmi:type="repository:Repository" href="default.repository#_n59ZEPUtEeKT6OD2v4PR0Q"/>
<edges xmi:type="notation:Connector" xmi:id="_tJs0YPUtEeKT6OD2v4PR0Q" type="4106" source="_pXS5wPUtEeKT6OD2v4PR0Q" target="_oVNxsPUtEeKT6OD2v4PR0Q">
<children xmi:type="notation:DecorationNode" xmi:id="_tJtbcPUtEeKT6OD2v4PR0Q" type="6106">
<styles xmi:type="notation:DescriptionStyle" xmi:id="_tJtbcfUtEeKT6OD2v4PR0Q"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_tJtbcvUtEeKT6OD2v4PR0Q" y="40"/>
</children>
<styles xmi:type="notation:FontStyle" xmi:id="_tJs0YfUtEeKT6OD2v4PR0Q" fontName="Lucida Grande"/>
<element xmi:type="repository:OperationRequiredRole" href="default.repository#_tJq_MPUtEeKT6OD2v4PR0Q"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_tJs0YvUtEeKT6OD2v4PR0Q" points="[50, 50, -76, -68]$[82, 109, -44, -9]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_tJ0JIPUtEeKT6OD2v4PR0Q" id="(0.6376811594202898,0.20512820512820512)"/>
</edges>
<edges xmi:type="notation:Connector" xmi:id="_tjemUPUtEeKT6OD2v4PR0Q" type="4105" source="_qmkJQPUtEeKT6OD2v4PR0Q" target="_oVNxsPUtEeKT6OD2v4PR0Q">
<children xmi:type="notation:DecorationNode" xmi:id="_tjemU_UtEeKT6OD2v4PR0Q" type="6105">
<styles xmi:type="notation:DescriptionStyle" xmi:id="_tjemVPUtEeKT6OD2v4PR0Q"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_tjfNYPUtEeKT6OD2v4PR0Q" y="40"/>
</children>
<styles xmi:type="notation:FontStyle" xmi:id="_tjemUfUtEeKT6OD2v4PR0Q" fontName="Lucida Grande"/>
<element xmi:type="repository:OperationProvidedRole" href="default.repository#_tjdYMPUtEeKT6OD2v4PR0Q"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_tjemUvUtEeKT6OD2v4PR0Q" points="[-88, 24, 286, -81]$[-356, 99, 18, -6]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_tjhpoPUtEeKT6OD2v4PR0Q" id="(0.6376811594202898,0.1282051282051282)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_tjhpofUtEeKT6OD2v4PR0Q" id="(0.7954545454545454,0.3)"/>
</edges>
</notation:Diagram>
<?xml version="1.0" encoding="UTF-8"?>
<system:System xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:composition="http://palladiosimulator.org/PalladioComponentModel/Core/Composition/5.0" xmlns:repository="http://sdq.ipd.uka.de/PalladioComponentModel/Repository/5.0" xmlns:system="http://sdq.ipd.uka.de/PalladioComponentModel/System/5.1" id="_xwTzIPUtEeKT6OD2v4PR0Q" entityName="defaultSystem">
<assemblyContexts__ComposedStructure id="_y-y_gPUtEeKT6OD2v4PR0Q" entityName="Assembly_Service User &lt;Service User>">
<encapsulatedComponent__AssemblyContext xsi:type="repository:BasicComponent" href="default.repository#_pXRroPUtEeKT6OD2v4PR0Q"/>
</assemblyContexts__ComposedStructure>
<assemblyContexts__ComposedStructure id="_0xUGAPUtEeKT6OD2v4PR0Q" entityName="Assembly_Service Provider &lt;Service Provider>">
<encapsulatedComponent__AssemblyContext xsi:type="repository:BasicComponent" href="default.repository#_qmi7IPUtEeKT6OD2v4PR0Q"/>
</assemblyContexts__ComposedStructure>
<connectors__ComposedStructure xsi:type="composition:AssemblyConnector" id="_3h9BoPUtEeKT6OD2v4PR0Q" entityName="Connector Assembly_Service User &lt;Service User> -> Assembly_Service Provider &lt;Service Provider>" requiringAssemblyContext_AssemblyConnector="_y-y_gPUtEeKT6OD2v4PR0Q" providingAssemblyContext_AssemblyConnector="_0xUGAPUtEeKT6OD2v4PR0Q">
<providedRole_AssemblyConnector href="default.repository#_tjdYMPUtEeKT6OD2v4PR0Q"/>
<requiredRole_AssemblyConnector href="default.repository#_tJq_MPUtEeKT6OD2v4PR0Q"/>
</connectors__ComposedStructure>
</system:System>
<?xml version="1.0" encoding="UTF-8"?>
<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" type="CompositeModel" name="default.system_diagram" measurementUnit="Pixel">
<children xsi:type="notation:Shape" type="2002" fontName="Lucida Grande">
<children xsi:type="notation:DecorationNode" type="5012"/>
<children xsi:type="notation:DecorationNode" type="7002">
<children xsi:type="notation:Shape" type="3006" fontName="Lucida Grande">
<children xsi:type="notation:DecorationNode" type="5009"/>
<children xsi:type="notation:Shape" type="3008" fontName="Lucida Grande">
<children xsi:type="notation:DecorationNode" type="5008">
<layoutConstraint xsi:type="notation:Location" y="5"/>
</children>
<element href="default.repository#_tJq_MPUtEeKT6OD2v4PR0Q"/>
<layoutConstraint xsi:type="notation:Bounds"/>
</children>
<element href="default.system#_y-y_gPUtEeKT6OD2v4PR0Q"/>
<layoutConstraint xsi:type="notation:Bounds" x="51" y="92"/>
</children>
<children xsi:type="notation:Shape" type="3006" fontName="Lucida Grande">
<children xsi:type="notation:DecorationNode" type="5009"/>
<children xsi:type="notation:Shape" type="3007" fontName="Lucida Grande">
<children xsi:type="notation:DecorationNode" type="5007">
<layoutConstraint xsi:type="notation:Location" y="5"/>
</children>
<element href="default.repository#_tjdYMPUtEeKT6OD2v4PR0Q"/>
<layoutConstraint xsi:type="notation:Bounds"/>
</children>
<element href="default.system#_0xUGAPUtEeKT6OD2v4PR0Q"/>
<layoutConstraint xsi:type="notation:Bounds" x="345" y="211"/>
</children>
</children>
<element href="default.system#_xwTzIPUtEeKT6OD2v4PR0Q"/>
<layoutConstraint xsi:type="notation:Bounds"/>
</children>
<styles xsi:type="notation:DiagramStyle"/>
<element href="default.system#_xwTzIPUtEeKT6OD2v4PR0Q"/>
<edges xsi:type="notation:Connector" type="4004" source="//@children.0/@children.1/@children.0/@children.1" target="//@children.0/@children.1/@children.1/@children.1">
<styles xsi:type="notation:FontStyle" fontName="Lucida Grande"/>
<element href="default.system#_3h9BoPUtEeKT6OD2v4PR0Q"/>
<bendpoints xsi:type="notation:RelativeBendpoints" points="[7, 0, -167, -115]$[171, 114, -3, -1]"/>
<targetAnchor xsi:type="notation:IdentityAnchor" id="(0.1,0.36666666666666664)"/>
</edges>
</notation:Diagram>
<?xml version="1.0" encoding="ASCII"?>
<emfprofileapplication:ProfileApplication xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:emfprofileapplication="http://www.modelversioning.org/emfprofile/application/1.1" xmlns:myprofile="http://mkonersmann.de/il/profiles/connectors/1.0">
<stereotypeApplications xsi:type="myprofile:ArchitectureWithConnectors">
<appliedTo href="platform:/resource/de.mkonersmann.il.profiles.examples.connectors.pc/example.core#/"/>
<extension href="platform:/resource/de.mkonersmann.il.profiles.connectors/src/de/mkonersmann/il/profiles/connectors/profile.emfprofile_diagram#_HVfx8PR1EeK6T9DvqptmNg"/>
<connectorTypes name="MyOperationCallConnectorType" instances="//@stereotypeApplications.0/@connectorInstances.0"/>
<connectorInstances type="//@stereotypeApplications.0/@connectorTypes.0"/>
</stereotypeApplications>
<importedProfiles nsURI="http://mkonersmann.de/il/profiles/connectors/1.0"/>
</emfprofileapplication:ProfileApplication>
<?xml version="1.0" encoding="UTF-8"?>
<core:Architecture xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:core="http://mkonersmann.de/il/core/1.0"/>
<?xml version="1.0" encoding="UTF-8"?>
<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:core="http://mkonersmann.de/il/core/1.0" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmi:id="_QNrFkPUPEeK-a_f-PtqHNw" type="Core" name="default.core_diagram" measurementUnit="Pixel">
<styles xmi:type="notation:DiagramStyle" xmi:id="_QNrFkfUPEeK-a_f-PtqHNw"/>
<element xmi:type="core:Architecture" href="default.core#/"/>
</notation:Diagram>
<?xml version="1.0" encoding="UTF-8"?>
<core:Architecture xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:core="http://mkonersmann.de/il/core/1.0"/>
<?xml version="1.0" encoding="ASCII"?>
<emfprofileapplication:ProfileApplication xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:emfprofileapplication="http://www.modelversioning.org/emfprofile/application/1.1" xmlns:myprofile="http://mkonersmann.de/il/profiles/componenthierarchy/flat/1.0">
<stereotypeApplications xsi:type="myprofile:HierarchicalArchitectureFlat">
<appliedTo href="platform:/resource/de.mkonersmann.il.profiles.examples.connectors.pc/example.core#/"/>
<extension href="platform:/resource/de.mkonersmann.il.profiles.componenthierarchy.flat/profile.emfprofile_diagram#_Hc0sgPR2EeKYKs7GammReg"/>
<componentInstances name="Service User" type="//@stereotypeApplications.0/@componentTypes.1">
<requirements requirement="//@stereotypeApplications.0/@componentTypes.1/@requiredInterfaces.0"/>
</componentInstances>
<componentInstances name="Service Provider" type="//@stereotypeApplications.0/@componentTypes.0">
<provisions provision="//@stereotypeApplications.0/@componentTypes.0/@providedInterfaces.0"/>
</componentInstances>
<componentTypes name="Service Provider" instances="//@stereotypeApplications.0/@componentInstances.1">
<providedInterfaces>
<interface href="shared_interfaces.pa.xmi#//@stereotypeApplications.0/@interfaces.0"/>
</providedInterfaces>
</componentTypes>
<componentTypes name="Service User" instances="//@stereotypeApplications.0/@componentInstances.0">
<requiredInterfaces>
<interface href="shared_interfaces.pa.xmi#//@stereotypeApplications.0/@interfaces.0"/>
</requiredInterfaces>
</componentTypes>
</stereotypeApplications>
<importedProfiles nsURI="http://mkonersmann.de/il/profiles/componenthierarchy/flat/1.0"/>
</emfprofileapplication:ProfileApplication>
<?xml version="1.0" encoding="ASCII"?>
<emfprofileapplication:ProfileApplication xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:emfprofileapplication="http://www.modelversioning.org/emfprofile/application/1.1" xmlns:myprofile="http://mkonersmann.de/il/profiles/interfaces/shared/1.0">
<stereotypeApplications xsi:type="myprofile:SharedInterfacesArchitecture">
<appliedTo href="platform:/resource/de.mkonersmann.il.profiles.examples.connectors.pc/example.core#/"/>
<extension href="platform:/resource/de.mkonersmann.il.profiles.interfaces.shared/profile.emfprofile_diagram#_KVkRcPUJEeKAG8cEzMHFBA"/>
<interfaces name="Service Interface"/>
</stereotypeApplications>
<importedProfiles nsURI="http://mkonersmann.de/il/profiles/interfaces/shared/1.0"/>
</emfprofileapplication:ProfileApplication>
<?xml version="1.0" encoding="ASCII"?>
<emfprofileapplication:ProfileApplication xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:emfprofileapplication="http://www.modelversioning.org/emfprofile/application/1.1" xmlns:myprofile="http://mkonersmann.de/il/profiles/connectors/pc/sync/1to1/1.0">
<stereotypeApplications xsi:type="myprofile:Synchronous1to1ProcedureCall">
<appliedTo href="connectors.pa.xmi#//@stereotypeApplications.0/@connectorTypes.0"/>
<extension href="platform:/resource/de.mkonersmann.il.profiles.connectors.pc.sync.1to1/profile.emfprofile_diagram#_MxaJIPUGEeKYKs7GammReg"/>
<requirement href="flat_hierarchy.pa.xmi#//@stereotypeApplications.0/@componentTypes.1/@requiredInterfaces.0"/>
<provision href="flat_hierarchy.pa.xmi#//@stereotypeApplications.0/@componentTypes.0/@providedInterfaces.0"/>
</stereotypeApplications>
<stereotypeApplications xsi:type="myprofile:Synchronous1to1ProcedureCallInstance">
<appliedTo href="connectors.pa.xmi#//@stereotypeApplications.0/@connectorInstances.0"/>
<extension href="platform:/resource/de.mkonersmann.il.profiles.connectors.pc.sync.1to1/profile.emfprofile_diagram#_7vDQ0PUEEeKYKs7GammReg"/>
<requirementInstance href="flat_hierarchy.pa.xmi#//@stereotypeApplications.0/@componentInstances.0/@requirements.0"/>
<provisionInstance href="flat_hierarchy.pa.xmi#//@stereotypeApplications.0/@componentInstances.1/@provisions.0"/>
</stereotypeApplications>
<importedProfiles nsURI="http://mkonersmann.de/il/profiles/connectors/pc/sync/1to1/1.0"/>
</emfprofileapplication:ProfileApplication>
package rootNS.Server;
import javax.ejb.Local;
import javax.ejb.Stateless;
@Stateless(name = "rootNS.Server.A")
@Local(I.class)
public class A implements I {
@Override
public void op1() {
// TODO Auto-generated method stub
}
@Override
public void op2() {
// TODO Auto-generated method stub
}
}
package rootNS.Server;
import tradingsystem.inventory.data.store.sif.Cashier;
import tradingsystem.inventory.data.store.sif.StoreManager;
import de.mkonersmann.il.java.sif.definition.SIF_SecurityLevel;
@SIF_SecurityLevel(Cashier.class)
public interface I {
@SIF_SecurityLevel(StoreManager.class)
public void op1();
public void op2();
}
package tradingsystem.inventory.data.store;
import tradingsystem.inventory.data.store.sif.Cashier;
import de.mkonersmann.il.java.sif.definition.SIF_SecurityLevel;
public interface CashDeskConnectorIf {
@SIF_SecurityLevel(Cashier.class)
void bookSale(SaleTO saleTO);
}
package tradingsystem.inventory.data.store;
import javax.persistence.Entity;
@Entity
public class OrderEntry {
ProductOrder productOrder;
Store store;
}
package tradingsystem.inventory.data.store;
import javax.persistence.Entity;
@Entity
public class Product {
ProductOrder productOrder;
Store store;
}
package tradingsystem.inventory.data.store;
import javax.persistence.Entity;
@Entity
public class ProductOrder {
OrderEntry orderEntry;
}
package tradingsystem.inventory.data.store;
import javax.persistence.Entity;
@Entity
public class SaleTO {
}
package tradingsystem.inventory.data.store;
import javax.ejb.EJB;
import javax.ejb.Stateless;
@Stateless(name = "tradingsystem.inventory.data.store.StockItem")
public class StockItem implements CashDeskConnectorIf {
@EJB(beanName = "tradingsystem.inventory.data.store.Store")
StoreAdminIf store;
@Override
public void bookSale(SaleTO saleTO) {
// TODO Auto-generated method stub
}
}
package tradingsystem.inventory.data.store;
import java.util.Collection;
import javax.ejb.EJB;
import javax.ejb.Local;
import javax.ejb.Stateless;
@Stateless(name = "tradingsystem.inventory.data.store.Store")
@Local({ StoreAdminIf.class, StoreQueryIf.class })
public class Store implements StoreAdminIf, StoreQueryIf {
@EJB(beanName = " tradingsystem.inventory.data.store.StockItem")
CashDeskConnectorIf stockItem;
ProductOrder productOrder;
@Override
public Store queryStoreById(String storeId, String pctx) {
// TODO Auto-generated method stub
return null;
}
@Override
public Collection<Product> queryProducts(String storeId, String pctx) {
// TODO Auto-generated method stub
return null;
}
@Override
public Collection<StockItem> queryLowStockItems(String storeID, String pctx) {
// TODO Auto-generated method stub
return null;
}
@Override
public Collection<StockItem> queryLowStockItemsWithRespectToIncomingProducts(
String storeID, String pctx) {
// TODO Auto-generated method stub
return null;
}
@Override
public Collection<StockItem> queryAllStockItems(String storeID, String pctx) {
// TODO Auto-generated method stub
return null;
}
@Override
public ProductOrder queryOrderById(String orderId, String pctx) {
// TODO Auto-generated method stub
return null;
}
@Override
public StockItem queryStorckItem(String stockId, String pctx) {
// TODO Auto-generated method stub
return null;
}
@Override
public StockItem queryStockItemById(String stockId, String pctx) {
// TODO Auto-generated method stub
return null;
}
@Override
public Product queryProductById(String productId, String pctx) {
// TODO Auto-generated method stub
return null;
}
@Override
public Collection<StockItem> queryStockItems(String storeId,
String[] productIds, String pctx) {
// TODO Auto-generated method stub
return null;
}
@Override
public void setStoreId(String id) {
// TODO Auto-generated method stub
}
}
package tradingsystem.inventory.data.store;
import tradingsystem.inventory.data.store.sif.StoreAdmin;
import de.mkonersmann.il.java.sif.definition.SIF_SecurityLevel;
public interface StoreAdminIf {
@SIF_SecurityLevel(StoreAdmin.class)
void setStoreId(String id);
}
package tradingsystem.inventory.data.store;
import java.util.Collection;
import tradingsystem.inventory.data.store.sif.Cashier;
import tradingsystem.inventory.data.store.sif.StoreManager;
import de.mkonersmann.il.java.sif.definition.SIF_SecurityLevel;
@SIF_SecurityLevel(StoreManager.class)
public interface StoreQueryIf {
@SIF_SecurityLevel(Cashier.class)
Store queryStoreById(String storeId, String pctx);
@SIF_SecurityLevel(Cashier.class)
Collection<Product> queryProducts(String storeId, String pctx);
@SIF_SecurityLevel(Cashier.class)
Collection<StockItem> queryLowStockItems(String storeID, String pctx);
Collection<StockItem> queryLowStockItemsWithRespectToIncomingProducts(
String storeID, String pctx);
Collection<StockItem> queryAllStockItems(String storeID, String pctx);
@SIF_SecurityLevel(Cashier.class)
ProductOrder queryOrderById(String orderId, String pctx);
StockItem queryStorckItem(String stockId, String pctx);
StockItem queryStockItemById(String stockId, String pctx);
Product queryProductById(String productId, String pctx);
Collection<StockItem> queryStockItems(String storeId, String[] productIds,
String pctx);
}
@SIF_DefSecurityLevels({
@SIF_Poset(lower = Cashier.class, upper = StoreManager.class),
@SIF_Poset(lower = StoreManager.class, upper = StoreAdmin.class) })
@SIF_Property(upper = "SR")
package tradingsystem.inventory.data.store;
import tradingsystem.inventory.data.store.sif.Cashier;
import tradingsystem.inventory.data.store.sif.StoreAdmin;
import tradingsystem.inventory.data.store.sif.StoreManager;
import de.mkonersmann.il.java.sif.definition.SIF_DefSecurityLevels;
import de.mkonersmann.il.java.sif.definition.SIF_Poset;
import de.mkonersmann.il.java.sif.definition.SIF_Property;
package tradingsystem.inventory.data.store.sif;
import de.mkonersmann.il.java.sif.definition.SIF_PosetElement;
public class Cashier implements SIF_PosetElement {
}
package tradingsystem.inventory.data.store.sif;
import de.mkonersmann.il.java.sif.definition.SIF_PosetElement;
public class StoreAdmin implements SIF_PosetElement {
}
package tradingsystem.inventory.data.store.sif;
import de.mkonersmann.il.java.sif.definition.SIF_PosetElement;
public class StoreManager implements SIF_PosetElement {
}
<?xml version="1.0" encoding="ASCII"?>
<emfprofileapplication:ProfileApplication xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:emfprofileapplication="http://www.modelversioning.org/emfprofile/application/1.1" xmlns:myprofile="http://mkonersmann.de/il/profiles/componenthierarchy/flat/1.0">
<stereotypeApplications xsi:type="myprofile:HierarchicalArchitectureFlat">
<appliedTo href="example.core#/"/>
<extension href="../de.mkonersmann.il.profiles.componenthierarchy.flat/src/de/mkonersmann/il/profiles/componenthierarchy/flat/profile.emfprofile_diagram#_Hc0sgPR2EeKYKs7GammReg"/>
<componentInstances name="store" type="//@stereotypeApplications.0/@componentTypes.0"/>
<componentInstances name="stockItem" type="//@stereotypeApplications.0/@componentTypes.1"/>
<componentTypes name="Store"/>
<componentTypes name="StockItem"/>
</stereotypeApplications>
<stereotypeApplications xsi:type="myprofile:FlatComponentType" appliedTo="//@stereotypeApplications.0/@componentTypes.0">
<extension href="../de.mkonersmann.il.profiles.componenthierarchy.flat/src/de/mkonersmann/il/profiles/componenthierarchy/flat/profile.emfprofile_diagram#_l72h8PROEeKa3u36vOUG8Q"/>