private static String getApellidosDosValue(Trabajador o) { if (o.getApellidosDos() != null) return "" + o.getApellidosDos(); else return ""; }