Skip to content

Commit 3325e1f

Browse files
ruzkanttijsrademakers
ruzkant
authored andcommitted
Added serializable to form model classes (flowable#490)
1 parent 94484cf commit 3325e1f

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

modules/flowable-form-model/src/main/java/org/flowable/form/model/FormOutcome.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@
1212
*/
1313
package org.flowable.form.model;
1414

15+
import java.io.Serializable;
16+
1517
/**
1618
* @author jbarrez
1719
*/
18-
public class FormOutcome {
20+
public class FormOutcome implements Serializable {
21+
22+
private static final long serialVersionUID = 1L;
1923

2024
protected String id;
2125
protected String name;

modules/flowable-form-model/src/main/java/org/flowable/form/model/LayoutDefinition.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@
1212
*/
1313
package org.flowable.form.model;
1414

15+
import java.io.Serializable;
16+
1517
/**
1618
* @author Tijs Rademakers
1719
*/
18-
public class LayoutDefinition {
20+
public class LayoutDefinition implements Serializable {
21+
22+
private static final long serialVersionUID = 1L;
1923

2024
protected Integer row;
2125

modules/flowable-form-model/src/main/java/org/flowable/form/model/Option.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@
1212
*/
1313
package org.flowable.form.model;
1414

15+
import java.io.Serializable;
16+
1517
/**
1618
* @author Tijs Rademakers
1719
*/
18-
public class Option {
20+
public class Option implements Serializable {
21+
22+
private static final long serialVersionUID = 1L;
1923

2024
protected String id;
2125
protected String name;

0 commit comments

Comments
 (0)