Skip to content

Commit

Permalink
wip: add DatatypeBean, EventBean as Serializable
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxGalaxy committed Nov 21, 2024
1 parent 886cb03 commit 2307057
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,18 @@

package com.icst.android.appstudio.beans;

import com.icst.android.appstudio.beans.utils.SerializationUIDConstants;
import java.io.Serializable;

/**
* A class of Datatype, to compare that the two Datatypes are different or not
* by comparing class
* name and import. This Bean can also be used to store data.
*/
public class DatatypeBean {
public class DatatypeBean implements Serializable {

public static final long serialVersionUID = SerializationUIDConstants.DATATYPE_BEAN_BEAN;

private String className;
private String classImport;
private boolean isImportNecessary;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,14 @@

package com.icst.android.appstudio.beans;

import com.icst.android.appstudio.beans.utils.SerializationUIDConstants;
import java.io.Serializable;
import java.util.ArrayList;

public class EventBean {
public class EventBean implements Serializable {

public static final long serialVersionUID = SerializationUIDConstants.EVENT_BEAN;

private String name;
private String title;
private String description;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,6 @@ public class SerializationUIDConstants {
public static final long LAYER_BEAN = 1L;
public static final long BLOCK_ELEMENT_LAYER_BEAN = 1L;
public static final long ACTION_ELEMENT_LAYER_BEAN = 1L;
public static final long DATATYPE_BEAN_BEAN = 1L;
public static final long EVENT_BEAN = 1L;
}

0 comments on commit 2307057

Please sign in to comment.