Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/org.eclipse.etrice.modellib/src-gen/room/basic/service/logging/LogData.java')
-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