@Override
    public boolean equals(Object obj) {

        if (this == obj)
            return true;

        if (obj == null)
            return false;

        if (getClass() != obj.getClass())
            return false;

        EntityUniqueIdentifier other = (EntityUniqueIdentifier) obj;

        if (clazz == null) {

            if (other.clazz != null)
                return false;
        } else if (!clazz.equals(other.clazz))
            return false;

        if (uuid == null) {

            if (other.uuid != null)
                return false;
        } else if (!uuid.equals(other.uuid))
            return false;

        return true;
    }