Class BooleanExtractor

java.lang.Object
com.sap.cloud.sdk.result.BooleanExtractor
All Implemented Interfaces:
ObjectExtractor<Boolean>

public class BooleanExtractor extends Object implements ObjectExtractor<Boolean>
ObjectExtractor implementation transforming a given ResultElement to a Boolean.
  • Constructor Details

    • BooleanExtractor

      public BooleanExtractor()
  • Method Details

    • extract

      @Nonnull public Boolean extract(@Nonnull ResultElement resultElement)
      Description copied from interface: ObjectExtractor
      Extracts the value of the given ResultElement as the type T.
      Specified by:
      extract in interface ObjectExtractor<Boolean>
      Parameters:
      resultElement - The ResultElement to transform.
      Returns:
      The resultElement as the given type.