compareTo method
By default compare the two entities by it's id
Implementation
@override
int compareTo(BasicEntityObject other) {
return this.id.compareTo(other.id);
}
By default compare the two entities by it's id
@override
int compareTo(BasicEntityObject other) {
return this.id.compareTo(other.id);
}