public final class JSONManyAssociationState extends Object implements ManyAssociationState
Backed by a JsonArray.
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(int idx,
EntityReference entityReference) |
boolean |
clear() |
boolean |
contains(EntityReference entityReference) |
int |
count() |
EntityReference |
get(int i) |
Iterator<EntityReference> |
iterator() |
boolean |
remove(EntityReference entityReference) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitstreamforEach, spliteratorpublic int count()
count in interface ManyAssociationStatepublic boolean contains(EntityReference entityReference)
contains in interface ManyAssociationStatepublic boolean add(int idx,
EntityReference entityReference)
add in interface ManyAssociationStatepublic boolean remove(EntityReference entityReference)
remove in interface ManyAssociationStatepublic boolean clear()
clear in interface ManyAssociationStatepublic EntityReference get(int i)
get in interface ManyAssociationStatepublic Iterator<EntityReference> iterator()
iterator in interface Iterable<EntityReference>