Class SetReference<T>

  • Type Parameters:
    T -

    public class SetReference<T>
    extends CollectionReference<Set<T>>
    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,
                            EntityModel entityModel,
                            List ids)
        Parameters:
        datastore - the datastore 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)
        Creates an instance with prepopulated values.
        Parameters:
        values - the values to use
    • Method Detail

      • setValues

        protected void setValues​(List ids)
      • get

        public Set<T> get()
        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