@Beta public class BusinessSituationCreatedMessage extends AbstractMessage
Constructor and Description |
---|
BusinessSituationCreatedMessage(String originalMessageContent,
S4HanaMessageMetadata metadata,
Map<String,String> keyParameters,
Map<String,String> nonKeyParameters)
Creates a
BusinessSituationCreatedMessage based on the fields contained in the message payload. |
Modifier and Type | Method and Description |
---|---|
S4HanaMessageMetadata |
getMetadata()
Returns the metadata received with this message.
|
Optional<String> |
getSituationDataContextId()
Getter for the non-key field SituationDataContextId value as String, as contained in the payload.
|
Optional<String> |
getSituationInstanceActivityId()
Getter for the non-key field SituationInstanceActivityId value as String, as contained in the payload.
|
Optional<String> |
getSituationInstanceId()
Getter for the key field SituationInstanceId value as String, as contained in the payload.
|
canEqual, equals, getContent, hashCode, toString
public BusinessSituationCreatedMessage(@Nonnull String originalMessageContent, @Nonnull S4HanaMessageMetadata metadata, @Nonnull Map<String,String> keyParameters, @Nonnull Map<String,String> nonKeyParameters)
BusinessSituationCreatedMessage
based on the fields contained in the message payload.originalMessageContent
- The actual payload received.metadata
- The metadata of the received message.keyParameters
- The map contained in the payload.nonKeyParameters
- The map contained in the payload.@Nonnull public S4HanaMessageMetadata getMetadata()
@Nonnull public Optional<String> getSituationInstanceId()
The returned Optional is empty if the message did not contain a value for this field.
Optional
.@Nonnull public Optional<String> getSituationDataContextId()
The returned Optional is empty if the message did not contain a value for this field.
Optional
.@Nonnull public Optional<String> getSituationInstanceActivityId()
The returned Optional is empty if the message did not contain a value for this field.
Optional
.Copyright © 2019 SAP SE. All rights reserved.