aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/thedevstack/conversationsplus/entities/AbstractEntity.java
blob: ebc0a8d569fbab3df38eaa676aeb9e067a69692d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package de.thedevstack.conversationsplus.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());
	}
}