Class AssociationValueEntry
java.lang.Object
org.axonframework.modelling.saga.repository.jpa.AssociationValueEntry
JPA wrapper around an Association Value. This entity is used to store relevant Association Values for Sagas.
- Since:
- 0.7
- Author:
- Allard Buijze
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor required by JPA.AssociationValueEntry(String sagaType, String sagaIdentifier, AssociationValue associationValue) Initialize a new AssociationValueEntry for a saga with givensagaIdentifierandassociationValue. -
Method Summary
Modifier and TypeMethodDescriptionReturns the association value contained in this entry.getId()The unique identifier of this entry.Returns the Saga Identifier contained in this entry.Returns the type (fully qualified class name) of the Saga this association value belongs to
-
Constructor Details
-
AssociationValueEntry
public AssociationValueEntry(String sagaType, String sagaIdentifier, AssociationValue associationValue) Initialize a new AssociationValueEntry for a saga with givensagaIdentifierandassociationValue.- Parameters:
sagaType- The type of Saga this association value belongs tosagaIdentifier- The identifier of the sagaassociationValue- The association value for the saga
-
AssociationValueEntry
protected AssociationValueEntry()Constructor required by JPA. Do not use directly.
-
-
Method Details
-
getAssociationValue
Returns the association value contained in this entry.- Returns:
- the association value contained in this entry
-
getSagaIdentifier
Returns the Saga Identifier contained in this entry.- Returns:
- the Saga Identifier contained in this entry
-
getSagaType
Returns the type (fully qualified class name) of the Saga this association value belongs to- Returns:
- the type (fully qualified class name) of the Saga
-
getId
The unique identifier of this entry.- Returns:
- the unique identifier of this entry
-