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>

public static class AggregateReference.IdOnlyAggregateReference<T,ID> extends Object implements AggregateReference<T,ID>
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.
  • Constructor Details

    • IdOnlyAggregateReference

      public IdOnlyAggregateReference(ID id)
  • Method Details