public interface ManyAssociation<T> extends Iterable<T>, AbstractAssociation
Modifier and Type | Method and Description |
---|---|
boolean |
add(int i,
T entity) |
boolean |
add(T entity) |
boolean |
contains(T entity) |
int |
count()
Returns the number of references in this association.
|
T |
get(int i) |
Iterable<EntityReference> |
references()
Returns an unmodifiable Iterable of the references to the associated entities.
|
boolean |
remove(T entity) |
List<T> |
toList() |
Set<T> |
toSet() |
int count()
boolean contains(T entity)
boolean add(int i, T entity)
boolean add(T entity)
boolean remove(T entity)
T get(int i)
Iterable<EntityReference> references()