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

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • IdOnlyAggregateReference

      public IdOnlyAggregateReference(ID id)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getId

      public ID getId()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getId in interface AggregateReference<T,ID>
      Returns:
      the id of the referenced aggregate.
    • equals

      public boolean equals(@Nullable Object o)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object