Class ListReference<T>

  • Type Parameters:
    T -

    @Deprecated(forRemoval=true,
                since="2.3")
    public class ListReference<T>
    extends CollectionReference<List<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

      • ListReference

        public ListReference​(Datastore datastore,
                             Mapper mapper,
                             EntityModel model,
                             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
        ids - the IDs of the entities
        model - the EntityModel for the entity type
        Developer note.
        This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
      • ListReference

        public ListReference​(List<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 List<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<List<T>>
        Returns:
        the referenced entities