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;
import javax.xml.bind.annotation.XmlValue;
Java class for cache-entry-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="cache-entry-type">
<simpleContent>
<extension base="<http://www.ehcache.org/v3>fqcn-type">
<attribute name="serializer" type="{http://www.ehcache.org/v3}fqcn-type" />
<attribute name="copier" type="{http://www.ehcache.org/v3}fqcn-type" />
</extension>
</simpleContent>
</complexType>
/**
* <p>Java class for cache-entry-type complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="cache-entry-type">
* <simpleContent>
* <extension base="<http://www.ehcache.org/v3>fqcn-type">
* <attribute name="serializer" type="{http://www.ehcache.org/v3}fqcn-type" />
* <attribute name="copier" type="{http://www.ehcache.org/v3}fqcn-type" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "cache-entry-type", propOrder = {
"value"
})
public class CacheEntryType {
@XmlValue
protected String value;
@XmlAttribute(name = "serializer")
protected String serializer;
@XmlAttribute(name = "copier")
protected String copier;
Gets the value of the value property.
Returns: possible object is String
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
Sets the value of the value property.
Params: - value – allowed object is
String
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
Gets the value of the serializer property.
Returns: possible object is String
/**
* Gets the value of the serializer property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSerializer() {
return serializer;
}
Sets the value of the serializer property.
Params: - value – allowed object is
String
/**
* Sets the value of the serializer property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSerializer(String value) {
this.serializer = value;
}
Gets the value of the copier property.
Returns: possible object is String
/**
* Gets the value of the copier property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCopier() {
return copier;
}
Sets the value of the copier property.
Params: - value – allowed object is
String
/**
* Sets the value of the copier property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCopier(String value) {
this.copier = value;
}
public CacheEntryType withValue(String value) {
setValue(value);
return this;
}
public CacheEntryType withSerializer(String value) {
setSerializer(value);
return this;
}
public CacheEntryType withCopier(String value) {
setCopier(value);
return this;
}
}