Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EDT:Code snippets"

(creating code snippets page)
 
(add record def)
Line 1: Line 1:
== Code snippets for EDT ==
+
== Code snippets for EDT ==
  
Real code for real people. Share your code snippets with others! <br>
+
Real code for real people. Share your code snippets with others! <br>  
  
== <br>Rich UI<br> ==
+
== <br>Rich UI<br> ==
  
== <br>Services<br> ==
+
== <br>Services<br> ==
  
== <br>Database access ==
+
== <br>Database access ==
  
<br>
+
Record definition<br>
 +
 
 +
<source lang="java">
 +
record CUSTOMER type Entity{@table{name = "CUSTOMER"}}
 +
    NAME string
 +
    COUNTRY string{@id};
 +
    STATE string?;
 +
    ID string;
 +
end
 +
</source>  
  
 
<br>
 
<br>

Revision as of 15:53, 29 November 2011

Code snippets for EDT

Real code for real people. Share your code snippets with others!


Rich UI


Services


Database access

Record definition

 record CUSTOMER type Entity{@table{name = "CUSTOMER"}}
     NAME string
     COUNTRY string{@id};
     STATE string?;
     ID string;
 end


Back to the top