Module spring.data.jdbc
Class AggregateReference.IdOnlyAggregateReference<T,ID>
java.lang.Object
org.springframework.data.jdbc.core.mapping.AggregateReference.IdOnlyAggregateReference<T,ID>
- Type Parameters:
T-ID-
- All Implemented Interfaces:
AggregateReference<T,ID>
- Enclosing interface:
- AggregateReference<T,
ID>
@Deprecated(since="3.5.3",
forRemoval=true)
public static class AggregateReference.IdOnlyAggregateReference<T,ID>
extends Object
implements AggregateReference<T,ID>
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.5.3, will be converted to a package-private class in 4.0 as this class is an implementation
detail and should not be used by application code.
An
AggregateReference that only holds the id of the referenced aggregate root. Note that there is no check
that a matching aggregate for this id actually exists.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.jdbc.core.mapping.AggregateReference
AggregateReference.IdOnlyAggregateReference<T,ID> -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated, for removal: This API element is subject to removal in a future version.getId()Deprecated, for removal: This API element is subject to removal in a future version.inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.toString()Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
IdOnlyAggregateReference
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getId
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getIdin interfaceAggregateReference<T,ID> - Returns:
- the id of the referenced aggregate.
-
equals
Deprecated, for removal: This API element is subject to removal in a future version. -
hashCode
public int hashCode()Deprecated, for removal: This API element is subject to removal in a future version. -
toString
Deprecated, for removal: This API element is subject to removal in a future version.
-