diff options
Diffstat (limited to 'src/de/gultsch/chat/entities/AbstractEntity.java')
-rw-r--r-- | src/de/gultsch/chat/entities/AbstractEntity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/de/gultsch/chat/entities/AbstractEntity.java b/src/de/gultsch/chat/entities/AbstractEntity.java index d62385a6a..31a19fc0b 100644 --- a/src/de/gultsch/chat/entities/AbstractEntity.java +++ b/src/de/gultsch/chat/entities/AbstractEntity.java @@ -18,4 +18,8 @@ public abstract class AbstractEntity implements Serializable { public abstract ContentValues getContentValues(); + public boolean equals(AbstractEntity entity) { + return this.getUuid().equals(entity.getUuid()); + } + } |