aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/entities/AbstractEntity.java
blob: 2cac3405e4616d190c2dceb8802b0d79c30247ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package de.pixart.messenger.entities;

import android.content.ContentValues;

public abstract class AbstractEntity {

    public static final String UUID = "uuid";

    protected String uuid;

    public String getUuid() {
        return this.uuid;
    }

    public abstract ContentValues getContentValues();

    public boolean equals(AbstractEntity entity) {
        return this.getUuid().equals(entity.getUuid());
    }
}