blob: 2f100aa8551704b0ad8a08ab7e9e9ea80a794982 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<pattern:creationPattern patternName="com.test.IRDEntity"
uiLabel="IRD Entity"
patternType="node"
iconPath="resources/patterns/icons/entity_cr_p.gif"
disabledIconPath="resources/patterns/icons/entity_cr_p.gif"
index="1010"
xmlns:pattern="http://org.eclipse.tigerstripe/xml/tigerstripeCreationPattern/v1-0"
xmlns:ts="http://org.eclipse.tigerstripe/xml/tigerstripeExport/v2-0">
<pattern:description>Create a new Managed Entity</pattern:description>
<ts:artifact name="_user1"
artifactType="org.eclipse.tigerstripe.workbench.model.deprecated_.IManagedEntityArtifact"
extendedArtifact="org.eclipse.parent"
isAbstract="true">
<ts:annotations>
<![CDATA[
<!--?xml version="1.0" encoding="ASCII"?-->
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:org.eclipse.tigerstripe.annotation.testAnnots="http://org/eclipse/tigerstripe/annotation/testAnnots.ecore">
<org.eclipse.tigerstripe.annotation.testAnnots:TestAnnot1 twine="old rope"/>
<org.eclipse.tigerstripe.annotation.testAnnots:TestAnnot2/>
</xmi:XMI>
]]>
</ts:annotations>
<ts:implements>
<ts:implementedInterface>org.eclipse.Sess</ts:implementedInterface>
<ts:implementedInterface>org.eclipse.Super</ts:implementedInterface>
</ts:implements>
<ts:comment>One of these</ts:comment>
<ts:stereotypes>
<ts:stereotype name="General">
</ts:stereotype>
<ts:stereotype name="WithAttribute">
<ts:stereotypeAttribute name="value" array="true">
<ts:value>firstOne</ts:value>
</ts:stereotypeAttribute>
</ts:stereotype>
</ts:stereotypes>
<ts:literals>
<ts:literal name="mandatoryLiteral" value="9" type="int" visibility="private">
<ts:annotations>
<![CDATA[
<!--?xml version="1.0" encoding="ASCII"?-->
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:org.eclipse.tigerstripe.annotation.testAnnots="http://org/eclipse/tigerstripe/annotation/testAnnots.ecore">
<org.eclipse.tigerstripe.annotation.testAnnots:TestAnnot3 n="333"/>
</xmi:XMI>
]]>
</ts:annotations>
<ts:stereotypes>
<ts:stereotype name="General">
</ts:stereotype>
</ts:stereotypes>
<ts:comment>You must have this literal</ts:comment>
</ts:literal>
</ts:literals>
<ts:fields>
<ts:field name="mandatoryField"
visibility="public"
type="String"
typeMultiplicity="0..*"
readonly="false"
unique="true"
ordered="false">
<ts:annotations>
<![CDATA[
<!--?xml version="1.0" encoding="ASCII"?-->
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:org.eclipse.tigerstripe.annotation.testAnnots="http://org/eclipse/tigerstripe/annotation/testAnnots.ecore">
<org.eclipse.tigerstripe.annotation.testAnnots:TestAnnot3 n="666"/>
</xmi:XMI>
]]>
</ts:annotations>
<ts:stereotypes>
<ts:stereotype name="General">
</ts:stereotype>
</ts:stereotypes>
<ts:comment>You must have this field</ts:comment>
</ts:field>
</ts:fields>
<ts:methods>
<ts:method name="mandatoryMethod"
visibility="public"
returnType="void"
returnTypeMultiplicity="0..1"
isVoid="true"
isAbstract="false"
unique="false"
ordered="false"
>
<ts:annotations>
<![CDATA[
<!--?xml version="1.0" encoding="ASCII"?-->
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:org.eclipse.tigerstripe.annotation.testAnnots="http://org/eclipse/tigerstripe/annotation/testAnnots.ecore">
<org.eclipse.tigerstripe.annotation.testAnnots:TestAnnot3 n="999"/>
</xmi:XMI>
]]>
</ts:annotations>
<ts:stereotypes>
<ts:stereotype name="General">
</ts:stereotype>
</ts:stereotypes>
<ts:arguments>
<ts:argument name="firstOne"
typeMultiplicity="0..*"
type="String"
unique="true"
ordered="true"
defaultValue="Bonjour"
direction="out"
>
<ts:comment>Le debut</ts:comment>
<ts:stereotypes>
<ts:stereotype name="General">
</ts:stereotype>
</ts:stereotypes>
</ts:argument>
</ts:arguments>
<ts:returnStereotypes>
<ts:stereotype name="General">
</ts:stereotype>
</ts:returnStereotypes>
<ts:exceptions>
<ts:exception name="org.eclipse.anException"/>
</ts:exceptions>
<ts:comment>You must have this method</ts:comment>
</ts:method>
</ts:methods>
</ts:artifact>
</pattern:creationPattern>