diff options
Diffstat (limited to 'src/de/gultsch/chat/entities/AbstractEntity.java')
-rw-r--r-- | src/de/gultsch/chat/entities/AbstractEntity.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/de/gultsch/chat/entities/AbstractEntity.java b/src/de/gultsch/chat/entities/AbstractEntity.java new file mode 100644 index 00000000..d62385a6 --- /dev/null +++ b/src/de/gultsch/chat/entities/AbstractEntity.java @@ -0,0 +1,21 @@ +package de.gultsch.chat.entities; + +import java.io.Serializable; + +import android.content.ContentValues; + +public abstract class AbstractEntity implements Serializable { + + private static final long serialVersionUID = -1895605706690653719L; + + public static final String UUID = "uuid"; + + protected String uuid; + + public String getUuid() { + return this.uuid; + } + + public abstract ContentValues getContentValues(); + +} |