Class CompositeAttributeAccessor<X,​Y>

  • All Implemented Interfaces:
    com.blazebit.persistence.spi.AttributeAccessor<X,​Y>

    public class CompositeAttributeAccessor<X,​Y>
    extends Object
    implements com.blazebit.persistence.spi.AttributeAccessor<X,​Y>
    Since:
    1.4.1
    Author:
    Christian Beikov
    • Method Detail

      • of

        public static <X,​Y> com.blazebit.persistence.spi.AttributeAccessor<X,​Y> of​(com.blazebit.persistence.spi.ExtendedManagedType<?> type,
                                                                                               String path)
      • get

        public Y get​(X entity)
        Specified by:
        get in interface com.blazebit.persistence.spi.AttributeAccessor<X,​Y>
      • getNullSafe

        public Y getNullSafe​(X entity)
        Specified by:
        getNullSafe in interface com.blazebit.persistence.spi.AttributeAccessor<X,​Y>
      • set

        public void set​(X entity,
                        Y value)
        Specified by:
        set in interface com.blazebit.persistence.spi.AttributeAccessor<X,​Y>