Class SetReference<T>

  • Type Parameters:
    T -

    @Deprecated(forRemoval=true,
                since="2.3")
    public class SetReference<T>
    extends CollectionReference<Set<T>>
    Deprecated, for removal: This API element is subject to removal in a future version.
    Developer note.
    This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
    • Constructor Detail

      • SetReference

        public SetReference​(Datastore datastore,
                            Mapper mapper,
                            EntityModel entityModel,
                            List ids)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Parameters:
        datastore - the datastore to use
        mapper - the mapper to use
        entityModel - the entity's mapped class
        ids - the IDs
        Developer note.
        This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
      • SetReference

        public SetReference​(Set<T> values)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Creates an instance with prepopulated values.
        Parameters:
        values - the values to use
    • Method Detail

      • setValues

        protected void setValues​(List ids)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • get

        public Set<T> get()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from class: CollectionReference
        Gets the referenced entities. This may require at least one request to the server.
        Specified by:
        get in class CollectionReference<Set<T>>
        Returns:
        the referenced entities