Difference between revisions of "Artefact:Template/org/oomodels/converter/templates/simplediagram-1.0-svg-1.1"

From OOModels
Jump to navigationJump to search
(New page: {{Metabox | Meta_Type = Type:org/oogenerator/Template/2.0 | Meta_Domain = Domain:it/development/formatting | Meta_Category = Type:org/oomodels/wiki/Template | Meta_Download = true | ...)
 
Line 10: Line 10:


<div class="code">
<div class="code">
  <span class="oogintro">G-2.0-javajpp-1.0 -*- coding: utf-8; -*-</span>
  <span class="oogintro">G-2.0-xml_string-1.0 -*- coding: utf-8; -*-</span>
  package <span class="oogexpression">◂<span class="oogpath">‖"Ⓟ/ModelParent/Path"</span>▸</span>;
  <span class="oogindentation"> </span><span class="oogcode">«∀(a:<span class="oogpath">‖"Ⓟ/Diagram/Item"</span>){»</span><span class="oogcontinuation"></span>
    x: <span class="oogexpression"><span class="oogpath">‖"Ⓟ/@X"</span></span>
public interface <span class="oogexpression"><span class="oogpath">‖"Ⓟ/Name"</span></span> {
     Y: <span class="oogexpression">◂<span class="oogpath">‖"Ⓟ/@Y"</span>▸</span>
<span class="oogindentation"> </span><span class="oogcode">«∀(a:<span class="oogpath">‖"Ⓟ/Attributes"</span>){»</span><span class="oogcontinuation">…</span>
     Name: <span class="oogexpression">◂<span class="oogpath">‖"Ⓟ/@Name"</span>▸</span>
     public <span class="oogtag">⋖type⋗</span> get<span class="oogexpression">◂<span class="oogpath">‖"Ⓟ/Name"</span>▸</span> (CallContext context);
    Item: <span class="oogexpression">◂<span class="oogpath">‖"Ⓟ/@Item"</span>▸</span>
     public void set<span class="oogexpression">◂<span class="oogpath">‖"Ⓟ/Name"</span>▸</span> (CallContext context, <span class="oogtag">⋖type⋗</span> <span class="oogexpression">◂<span class="oogpath">‖"Ⓟ/Name"</span><span class="oogencoding">⌘MC/LCU/JAVAID</span>▸</span>);
  <span class="oogindentation">  ⋮</span><span class="oogcode">«}/∀»</span><span class="oogcontinuation">…</span>
  <span class="oogindentation">  ⋮</span><span class="oogcode">«}/∀»</span><span class="oogcontinuation">…</span>
}
</div>
</div>

Revision as of 20:40, 2 March 2009

Classification
Type Type:org/oogenerator/Template/2.0
Domain Domain:it/development/formatting
Category Type:org/oomodels/wiki/Template
Maturity final
More
Download Code
Namespace (more)

OOModels main namespace

create new pages

Code[edit]

G-2.0-xml_string-1.0 -*- coding: utf-8; -*-
«∀(a:‖"Ⓟ/Diagram/Item"){»
    x: ‖"Ⓟ/@X"
    Y: ‖"Ⓟ/@Y"
    Name: ‖"Ⓟ/@Name"
    Item: ‖"Ⓟ/@Item"
«}/∀»