T
- the type of the resource's identifier@ProviderType
public interface RelatedCollection<T,S extends Identifier>
Identifier
.Modifier and Type | Method and Description |
---|---|
java.lang.Class<S> |
getIdentifierClass()
Returns the class of the collection items' identifier.
|
java.lang.String |
getKey()
Returns the relation's key.
|
default java.util.function.Function<T,?> |
getModelToIdentifierFunction()
Returns the function you can use to retrieve the related resource's
identifier.
|
java.lang.Class<S> getIdentifierClass()
java.lang.String getKey()
default java.util.function.Function<T,?> getModelToIdentifierFunction()