Interface EntityCollection<T extends StructuredType<?>,EC extends Collection<T>,CT extends StructuredCollection<T,EC,?>>

All Superinterfaces:
Collection<T>, GenericCollection<T,EC>, Iterable<T>, Serializable, StructuredCollection<T,EC,CT>

public interface EntityCollection<T extends StructuredType<?>,EC extends Collection<T>,CT extends StructuredCollection<T,EC,?>> extends StructuredCollection<T,EC,CT>
  • Method Details

    • refs

      CT refs()
      Appends ref segment to the URI.
      Returns:
      the same query instance.
    • addRef

      <ET extends EntityType<?>> boolean addRef(ET element)
      Add entity by its reference ID.
      Parameters:
      element - entity to be linked.
      Returns:
      TRUE if correctly added; FALSE otherwise.