/** * Copyright (c) 2013, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.wso2.carbon.business.messaging.hl7.common.data; import java.util.HashMap; import java.util.Map; /** * This class holds message data to be sent via publisher */ public class MessageData { private String payload; private String status; private String host; private String activityId; private String serverName; private String msgDirection; private String opName; private String serviceName; private String type; private Long timestamp; private Map<String, String> extractedValues = new HashMap<String, String>(); public String getServerName() { return serverName; } public void setServerName(String serverName) { this.serverName = serverName; } public String getMsgDirection() { return msgDirection; } public void setMsgDirection(String msgDirection) { this.msgDirection = msgDirection; } public String getOpName() { return opName; } public void setOpName(String opName) { this.opName = opName; } public String getServiceName() { return serviceName; } public void setServiceName(String serviceName) { this.serviceName = serviceName; } public MessageData() { } public String getStatus() { return status; } public void setStatus(String status) { this.status = status; } public Map<String, String> getExtractedValues() { return extractedValues; } public void setExtractedValues(Map<String, String> extractedValues) { this.extractedValues = extractedValues; } public String getPayload() { return payload; } public void setPayload(String payload) { this.payload = payload; } public String getHost() { return host; } public void setHost(String host) { this.host = host; } public String getActivityId() { return activityId; } public void setActivityId(String activityId) { this.activityId = activityId; } public String getType() { return type; } public void setType(String type) { this.type = type; } public Long getTimestamp() { return timestamp; } public void setTimestamp(Long timestamp) { this.timestamp = timestamp; } }