Interface BooleanPropertiesHolder<K>

  • Type Parameters:
    K - the type of the object containing the boolean properties
    All Known Implementing Classes:
    BooleanPropertiesHolderImpl

    public interface BooleanPropertiesHolder<K>
    Holds the relation between objects and corresponding BooleanProperties
    • Method Detail

      • containsKey

        boolean containsKey​(K key)
        Returns whether the given key is contained in this holder
      • filter

        BooleanPropertiesHolder<K> filter​(K key,
                                          List<com.querydsl.core.types.Path<Boolean>> properties)
        Returns a new instance containing only the given required key.
        If no property is given then all properties associated to the key will be included. Otherwise only the specified one.
      • getKeyPropertyName

        String getKeyPropertyName()
        Returns the property name to find the key
      • isAnyKeySet

        boolean isAnyKeySet​(com.querydsl.core.types.Path<Boolean> property)
        Returns whether there is at least one key with the given property set
      • isSet

        boolean isSet​(K key,
                      com.querydsl.core.types.Path<Boolean> property)
        Returns whether the given key has the corresponding property set or not
      • keys

        Set<K> keys()
        Returns all keys
      • keysSet

        Set<K> keysSet​(com.querydsl.core.types.Path<Boolean> property)
        Returns all keys which have the corresponding property set
      • keysSet

        Set<K> keysSet​(Set<com.querydsl.core.types.Path<Boolean>> anyOfProperties)
        Returns all keys which have any of the corresponding properties set
      • remove

        void remove​(K key)
        Removes the given key, returning weather it was really removed