anotherim/src/main/java/eu/siacs/conversations/entities/AbstractEntity.java
2014-10-22 15:47:11 -04:00

22 lines
397 B
Java

package eu.siacs.conversations.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());
}
}