public class AssociationValueEntry extends Object
| Constructor and Description |
|---|
AssociationValueEntry(com.mongodb.DBObject dbObject) |
AssociationValueEntry(String sagaIdentifier,
AssociationValue associationValue)
Initialize a new AssociationValueEntry for a saga with given
sagaIdentifier and
associationValue. |
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.DBObject |
asDBObject() |
AssociationValue |
getAssociationValue()
Returns the association value contained in this entry.
|
String |
getSagaIdentifier()
Returns the Saga Identifier contained in this entry.
|
static com.mongodb.DBObject |
queryByKeyAndValue(String key,
String value) |
static com.mongodb.DBObject |
queryBySagaIdentifier(String sagaIdentifier) |
static com.mongodb.DBObject |
queryBySagaIdentifierAndAssociationKeyValue(String sagaIdentifier,
String key,
String value) |
public AssociationValueEntry(String sagaIdentifier, AssociationValue associationValue)
sagaIdentifier and
associationValue.sagaIdentifier - The identifier of the sagaassociationValue - The association value for the sagapublic AssociationValueEntry(com.mongodb.DBObject dbObject)
public AssociationValue getAssociationValue()
public String getSagaIdentifier()
public com.mongodb.DBObject asDBObject()
public static com.mongodb.DBObject queryBySagaIdentifier(String sagaIdentifier)
Copyright © 2012. All Rights Reserved.