//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0-M3 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2022.04.18 at 01:59:14 PM UTC 
//


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

import java.io.Serializable;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.NormalizedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "managerProperties",
    "storeProperties"
})
@XmlRootElement(name = "session-manager")
public class SessionManager
    implements Serializable
{

    private final static long serialVersionUID = 1L;
    @XmlAttribute(name = "persistence-type")
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String persistenceType;
    @XmlElement(name = "manager-properties")
    protected ManagerProperties managerProperties;
    @XmlElement(name = "store-properties")
    protected StoreProperties storeProperties;

    /**
     * Gets the value of the persistenceType property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPersistenceType() {
        if (persistenceType == null) {
            return "memory";
        } else {
            return persistenceType;
        }
    }

    /**
     * Sets the value of the persistenceType property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPersistenceType(String value) {
        this.persistenceType = value;
    }

    /**
     * Gets the value of the managerProperties property.
     * 
     * @return
     *     possible object is
     *     {@link ManagerProperties }
     *     
     */
    public ManagerProperties getManagerProperties() {
        return managerProperties;
    }

    /**
     * Sets the value of the managerProperties property.
     * 
     * @param value
     *     allowed object is
     *     {@link ManagerProperties }
     *     
     */
    public void setManagerProperties(ManagerProperties value) {
        this.managerProperties = value;
    }

    /**
     * Gets the value of the storeProperties property.
     * 
     * @return
     *     possible object is
     *     {@link StoreProperties }
     *     
     */
    public StoreProperties getStoreProperties() {
        return storeProperties;
    }

    /**
     * Sets the value of the storeProperties property.
     * 
     * @param value
     *     allowed object is
     *     {@link StoreProperties }
     *     
     */
    public void setStoreProperties(StoreProperties value) {
        this.storeProperties = value;
    }

}
