Modifier and Type | Interface and Description |
---|---|
static class |
DataAssociationHandler.Type<H extends DataAssociationHandler<?,?>>
The type token of the association handler.
|
Modifier and Type | Method and Description |
---|---|
Set<A> |
associate(T object)
Returns a set of objects the given object is associated with.
|
A |
getAssociation(String id)
Gets the association belonging to the specified identifier, or
null if the
identifier is invalid or unknown. |
String |
getId(A association)
Returns the identifier of the given association.
|
DataAssociationHandler.Type<? extends DataAssociationHandler<T,A>> |
getType()
Returns the type token of this handler.
|
@NotNull DataAssociationHandler.Type<? extends DataAssociationHandler<T,A>> getType()
@Nullable Set<A> associate(@NotNull T object)
object
- The object to get the associations from.@NotNull String getId(@NotNull A association)
getAssociation(String)
to get the association later again.association
- The association to get the identifier from.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210