//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2019.08.07 at 12:33:12 PM UTC 
//


package com.sun.ts.lib.implementation.sun.javaee.runtime.ejb;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "message",
    "requestProtection",
    "responseProtection"
})
@XmlRootElement(name = "message-security")
public class MessageSecurity
    implements Serializable
{

    private final static long serialVersionUID = 1L;
    @XmlElement(required = true)
    protected List<Message> message;
    @XmlElement(name = "request-protection")
    protected RequestProtection requestProtection;
    @XmlElement(name = "response-protection")
    protected ResponseProtection responseProtection;

    /**
     * Gets the value of the message property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the message property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getMessage().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Message }
     * 
     * 
     */
    public List<Message> getMessage() {
        if (message == null) {
            message = new ArrayList<Message>();
        }
        return this.message;
    }

    /**
     * Gets the value of the requestProtection property.
     * 
     * @return
     *     possible object is
     *     {@link RequestProtection }
     *     
     */
    public RequestProtection getRequestProtection() {
        return requestProtection;
    }

    /**
     * Sets the value of the requestProtection property.
     * 
     * @param value
     *     allowed object is
     *     {@link RequestProtection }
     *     
     */
    public void setRequestProtection(RequestProtection value) {
        this.requestProtection = value;
    }

    /**
     * Gets the value of the responseProtection property.
     * 
     * @return
     *     possible object is
     *     {@link ResponseProtection }
     *     
     */
    public ResponseProtection getResponseProtection() {
        return responseProtection;
    }

    /**
     * Sets the value of the responseProtection property.
     * 
     * @param value
     *     allowed object is
     *     {@link ResponseProtection }
     *     
     */
    public void setResponseProtection(ResponseProtection value) {
        this.responseProtection = value;
    }

}
