Exemplo n.º 1
0
 /**
  * Checks whether an object has the given field or not.
  *
  * @param fieldName the field name to check.
  * @return {@code true} if the object has a field with the given name, {@code false} otherwise.
  */
 public boolean hasField(String fieldName) {
   if (fieldName == null || fieldName.isEmpty()) {
     return false;
   }
   return row.hasColumn(fieldName);
 }