Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2012-01-12 09:28:46 +0000
committerHenrik Rentz-Reichert2012-01-12 09:28:46 +0000
commitf655d55cc573d45cda95bb77570a06bdbcefe694 (patch)
treeea0afaa95014b55b0b7baefe7946dd0483bfa470 /runtime
parent724e9fa9069a323899880171ec1347816f4926c4 (diff)
downloadorg.eclipse.etrice-f655d55cc573d45cda95bb77570a06bdbcefe694.tar.gz
org.eclipse.etrice-f655d55cc573d45cda95bb77570a06bdbcefe694.tar.xz
org.eclipse.etrice-f655d55cc573d45cda95bb77570a06bdbcefe694.zip
[generator, generator.tests] added possibility to translate tags
marked with <| and |>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/org.eclipse.etrice.modellib/src-gen/room/basic/service/logging/LogData.java51
1 files changed, 51 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.modellib/src-gen/room/basic/service/logging/LogData.java b/runtime/org.eclipse.etrice.modellib/src-gen/room/basic/service/logging/LogData.java
new file mode 100644
index 000000000..c38358251
--- /dev/null
+++ b/runtime/org.eclipse.etrice.modellib/src-gen/room/basic/service/logging/LogData.java
@@ -0,0 +1,51 @@
+package room.basic.service.logging;
+
+
+
+
+public class LogData {
+
+
+ //--------------------- attributes
+ protected int logLevel = 0;
+ protected String userString = "";
+
+ //--------------------- attribute setters and getters
+ public void setLogLevel (int logLevel) {
+ this.logLevel = logLevel;
+ }
+ public int getLogLevel () {
+ return this.logLevel;
+ }
+ public void setUserString (String userString) {
+ this.userString = userString;
+ }
+ public String getUserString () {
+ return this.userString;
+ }
+
+ //--------------------- operations
+
+ // default constructor
+ public LogData() {
+ super();
+ // initialize attributes
+ logLevel = 0;
+ userString = "";
+ }
+
+ // constructor using fields
+ public LogData(int logLevel, String userString) {
+ super();
+ this.logLevel = logLevel;
+ this.userString = userString;
+ }
+
+ // deep copy
+ public LogData deepCopy() {
+ LogData copy = new LogData();
+ copy.logLevel = logLevel;
+ copy.userString = userString;
+ return copy;
+ }
+};

Back to the top