package org.ehcache.xml.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;


Java class for persistence-type complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="persistence-type">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <attribute name="directory" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
    </restriction>
  </complexContent>
</complexType>
/** * <p>Java class for persistence-type complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * &lt;complexType name="persistence-type"&gt; * &lt;complexContent&gt; * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; * &lt;attribute name="directory" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; * &lt;/restriction&gt; * &lt;/complexContent&gt; * &lt;/complexType&gt; * </pre> * * */
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "persistence-type") public class PersistenceType { @XmlAttribute(name = "directory", required = true) protected String directory;
Gets the value of the directory property.
Returns: possible object is String
/** * Gets the value of the directory property. * * @return * possible object is * {@link String } * */
public String getDirectory() { return directory; }
Sets the value of the directory property.
Params:
  • value – allowed object is String
/** * Sets the value of the directory property. * * @param value * allowed object is * {@link String } * */
public void setDirectory(String value) { this.directory = value; } public PersistenceType withDirectory(String value) { setDirectory(value); return this; } }