@Override
    public int compareTo(BussinessMessage o) {
        if ((getFieldName() == null) && (o.getFieldName() == null)) {
            return getMessage().compareTo(o.getMessage());
        } else if ((getFieldName() == null) && (o.getFieldName() != null)) {
            return 1;
        } else if ((getFieldName() != null) && (o.getFieldName() == null)) {
            return -1;
        } else if ((getFieldName() != null) && (o.getFieldName() != null)) {
            if (getFieldName().equals(o.getFieldName())) {
                return getMessage().compareTo(o.getMessage());
            } else {
                return getFieldName().compareTo(o.getFieldName());
            }
        } else {
            throw new RuntimeException("Error de lógica");
        }
    }