Interface Entity

    • Method Detail

      • containsField

        boolean containsField​(EntityField<?,​?> field)
      • safeGet

        default <T> Triptional<T> safeGet​(EntityField<?,​T> field)
        Type Parameters:
        T - the type of value in the field
        Parameters:
        field - the field whose value should be fetched
        Returns:
        the field value if not null; or Triptional.nullInstance() if null; or Triptional.absent() if the field doesn't exist