Class IncludeEntities<C extends IncludeEntities<?,​T>,​T extends Entity>

    • Constructor Detail

    • Method Detail

      • with

        public C with​(String propertyKey,
                      Predicate predicate)
        Construct a new description from this description by adding/replacing a predicate with a new one.
        Parameters:
        propertyKey - key of the property the predicate is for.
        predicate - the predicate.
        Returns:
        a new instance of properties description.
      • newInstance

        protected abstract C newInstance​(DetachedPropertiesDescription propertiesDescription)
        Create a new instance of this policy reconfigured with a different properties description.
        Parameters:
        propertiesDescription - of the new instance.
        Returns:
        new instance.
      • getPropertiesDescription

        public DetachedPropertiesDescription getPropertiesDescription()
        Get the properties description with which this policy has been configured.
        Returns:
        properties description.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object